Namespaces | |
msg | |
parser | |
Classes | |
class | CommonAmps |
class | CommonAmpsFactory |
class | ChargeAnalytical |
class | ChargeAnalyticalFactory |
class | LightPath |
class | LightPathFactory |
class | MaxNPEWindow |
class | MaxNPEWindowFactory |
class | NPtFilter |
class | NPtFilterFactory |
class | PhotonLibHypothesis |
class | PhotonLibHypothesisFactory |
class | QLLMatch |
class | QLLMatchFactory |
class | QWeightPoint |
class | QWeightPointFactory |
class | TimeCompatMatch |
class | TimeCompatMatchFactory |
class | TimeRange |
class | TimeRangeSet |
class | BaseAlgorithm |
class | BaseFlashFilter |
class | BaseFlashHypothesis |
class | BaseFlashMatch |
class | BaseProhibitAlgo |
class | BaseTPCFilter |
class | CustomAlgoFactoryBase |
Abstract base class for factory (to be implemented per flash) More... | |
class | CustomAlgoFactory |
Factory class for instantiating flash algorithm instance. More... | |
class | FlashFilterFactoryBase |
Abstract base class for factory (to be implemented per flash) More... | |
class | FlashFilterFactory |
Factory class for instantiating flash algorithm instance. More... | |
class | FlashHypothesisFactoryBase |
Abstract base class for factory (to be implemented per flash) More... | |
class | FlashHypothesisFactory |
Factory class for instantiating flash algorithm instance. More... | |
class | FlashMatchFactoryBase |
Abstract base class for factory (to be implemented per flash) More... | |
class | FlashMatchFactory |
Factory class for instantiating flash algorithm instance. More... | |
class | FlashMatchManager |
class | FlashProhibitFactoryBase |
Abstract base class for factory (to be implemented per flash) More... | |
class | FlashProhibitFactory |
Factory class for instantiating flash algorithm instance. More... | |
class | DetectorSpecs |
class | ConfigManager |
Utility class to register a set of configurations Provides also a shared instance through which registered configurations can be shared beyond a single owner. Using flashmatch::PSet, the uniqueness of configuration parameters is guaranteed (no worry to "overwrite") . More... | |
class | PSet |
A nested configuration parameter set holder for flashmatch framework. More... | |
class | LoggerFeature |
class | OpT0FinderException |
class | logger |
Utility class used to show formatted message on the screen. A logger class for flashmatch. Simply shows a formatted colored message on a screen. A static getter method is provided to create a sharable logger instance (see OpT0FinderBase for useage). . More... | |
struct | Flash_t |
Struct to represent an optical flash. More... | |
struct | QPoint_t |
Struct to represent an energy deposition point in 3D space. More... | |
class | QCluster_t |
Collection of charge deposition 3D point (cluster) More... | |
struct | FlashMatch_t |
Flash-TPC match info. More... | |
struct | MCSource_t |
Struct to represent the ancestor information for a specific interaction (QCluster) More... | |
class | TPCFilterFactoryBase |
Abstract base class for factory (to be implemented per flash) More... | |
class | TPCFilterFactory |
Factory class for instantiating flash algorithm instance. More... | |
class | load_pyutil |
Typedefs | |
using | Config_t = fhicl::ParameterSet |
Configuration object. More... | |
typedef size_t | ID_t |
Index used to identify Flash_t/QPointCollection_t uniquely in an event. More... | |
typedef std::vector < flashmatch::QCluster_t > | QClusterArray_t |
Collection of 3D point clusters (one use case is TPC object representation for track(s) and shower(s)) More... | |
typedef std::vector < flashmatch::Flash_t > | FlashArray_t |
Collection of Flash objects. More... | |
typedef std::vector < flashmatch::ID_t > | IDArray_t |
Index collection. More... | |
Enumerations | |
enum | Algorithm_t { kTPCFilter, kFlashFilter, kFlashMatch, kMatchProhibit, kFlashHypothesis, kCustomAlgo, kAlgorithmTypeMax } |
Enumerator for different types of algorithm. More... | |
enum | MCAncestor_t { kMCShowerAncestor, kMCTrackAncestor, kUnknownAncestor } |
Enum to define MC source type (MCTrack or MCShower) for a given QCluster. More... | |
Functions | |
void | MIN_vtx_qll (Int_t &, Double_t *, Double_t &, Double_t *, Int_t) |
template<> | |
PSet | PSet::get< flashmatch::PSet > (const std::string &key) const |
std::string | ConfigFile2String (std::string fname) |
Given a configuration string, format to create flashmatch::PSet. More... | |
PSet | CreatePSetFromFile (std::string fname, std::string cfg_name="cfg") |
Given a configuration file (full path), create and return flashmatch::PSet. More... | |
std::ostream & | operator<< (std::ostream &out, const flashmatch::QCluster_t &obj) |
streamer override More... | |
void | SetPyUtil () |
Utility function: call one-time-only numpy module initialization (you don't have to call) More... | |
PyObject * | as_ndarray (const QCluster_t &traj) |
PyObject * | as_ndarray (const ::geoalgo::Trajectory &traj) |
PyObject * | as_ndarray (const Flash_t &flash) |
template<class T > | |
void | _copy_array (PyObject *arrayin, const std::vector< T > &cvec) |
copy array More... | |
template void | _copy_array< unsigned short > (PyObject *arrayin, const std::vector< unsigned short > &cvec) |
template void | _copy_array< unsigned int > (PyObject *arrayin, const std::vector< unsigned int > &cvec) |
template void | _copy_array< short > (PyObject *arrayin, const std::vector< short > &cvec) |
template void | _copy_array< int > (PyObject *arrayin, const std::vector< int > &cvec) |
template void | _copy_array< long long > (PyObject *arrayin, const std::vector< long long > &cvec) |
template void | _copy_array< float > (PyObject *arrayin, const std::vector< float > &cvec) |
template void | _copy_array< double > (PyObject *arrayin, const std::vector< double > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< unsigned short > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< unsigned int > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< short > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< int > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< long long > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< float > &cvec) |
void | copy_array (PyObject *arrayin, const std::vector< double > &cvec) |
template<> | |
int | ctype_to_numpy< short > () |
template<> | |
int | ctype_to_numpy< unsigned short > () |
template<> | |
int | ctype_to_numpy< int > () |
template<> | |
int | ctype_to_numpy< unsigned int > () |
template<> | |
int | ctype_to_numpy< long long > () |
template<> | |
int | ctype_to_numpy< unsigned long long > () |
template<> | |
int | ctype_to_numpy< float > () |
template<> | |
int | ctype_to_numpy< double > () |
template<class T > | |
PyObject * | _as_ndarray (const std::vector< T > &data) |
convert vectors into np array More... | |
template PyObject * | _as_ndarray< short > (const std::vector< short > &vec) |
template PyObject * | _as_ndarray< unsigned short > (const std::vector< unsigned short > &vec) |
template PyObject * | _as_ndarray< int > (const std::vector< int > &vec) |
template PyObject * | _as_ndarray< unsigned int > (const std::vector< unsigned int > &vec) |
template PyObject * | _as_ndarray< long long > (const std::vector< long long > &vec) |
template PyObject * | _as_ndarray< unsigned long long > (const std::vector< unsigned long long > &vec) |
template PyObject * | _as_ndarray< float > (const std::vector< float > &vec) |
template PyObject * | _as_ndarray< double > (const std::vector< double > &vec) |
PyObject * | as_ndarray (const std::vector< short > &vec) |
PyObject * | as_ndarray (const std::vector< unsigned short > &vec) |
PyObject * | as_ndarray (const std::vector< int > &vec) |
PyObject * | as_ndarray (const std::vector< unsigned int > &vec) |
PyObject * | as_ndarray (const std::vector< long long > &vec) |
PyObject * | as_ndarray (const std::vector< unsigned long long > &vec) |
PyObject * | as_ndarray (const std::vector< float > &vec) |
PyObject * | as_ndarray (const std::vector< double > &vec) |
template<class T > | |
PyObject * | numpy_array (std::vector< size_t > dims) |
template PyObject * | numpy_array< float > (std::vector< size_t >dims) |
template<class T > | |
int | ctype_to_numpy () |
Variables | |
static CommonAmpsFactory | __global_CommonAmpsFactory__ |
static ChargeAnalyticalFactory | __global_ChargeAnalyticalFactory__ |
static LightPathFactory | __global_LightPathFactory__ |
static MaxNPEWindowFactory | __global_MaxNPEWindowFactory__ |
static NPtFilterFactory | __global_NPtFilterFactory__ |
static PhotonLibHypothesisFactory | __global_PhotonLibHypothesisFactory__ |
static QLLMatchFactory | __global_QLLMatchFactory__ |
static QWeightPointFactory | __global_QWeightPointFactory__ |
static TimeCompatMatchFactory | __global_TimeCompatMatchFactory__ |
const double | kINVALID_DOUBLE = std::numeric_limits<double>::max() |
Utility: invalid value for double. More... | |
const int | kINVALID_INT = std::numeric_limits<int>::max() |
Utility: invalid value for int. More... | |
const size_t | kINVALID_SIZE = std::numeric_limits<size_t>::max() |
Utility: invalid value for size. More... | |
const ID_t | kINVALID_ID = kINVALID_SIZE |
Invalid ID. More... | |
using flashmatch::Config_t = typedef fhicl::ParameterSet |
Configuration object.
Definition at line 31 of file FMWKInterface.h.
typedef std::vector<flashmatch::Flash_t> flashmatch::FlashArray_t |
Collection of Flash objects.
Definition at line 142 of file OpT0FinderTypes.h.
typedef size_t flashmatch::ID_t |
Index used to identify Flash_t/QPointCollection_t uniquely in an event.
Definition at line 12 of file OpT0FinderTypes.h.
typedef std::vector<flashmatch::ID_t> flashmatch::IDArray_t |
Index collection.
Definition at line 145 of file OpT0FinderTypes.h.
typedef std::vector<flashmatch::QCluster_t> flashmatch::QClusterArray_t |
Collection of 3D point clusters (one use case is TPC object representation for track(s) and shower(s))
Definition at line 140 of file OpT0FinderTypes.h.
Enumerator for different types of algorithm.
Enumerator | |
---|---|
kTPCFilter |
Algorithm type to filter out TPC objects from matching candidate list. |
kFlashFilter |
Algorithm type to filter out flash from matching candidate list. |
kFlashMatch |
Algorithm type to match flash hypothesis and reconstructed flash. |
kMatchProhibit |
Algorithm type to prohibit a match between a flash and a cluster. |
kFlashHypothesis |
Algorithm type to make QCluster_t => Flash_t hypothesis. |
kCustomAlgo |
Algorithm type that does not play a role in the framework execution but inherits from BaseAlgorithm. |
kAlgorithmTypeMax |
enum flag for algorithm type count & invalid type |
Definition at line 17 of file OpT0FinderTypes.h.
Enum to define MC source type (MCTrack or MCShower) for a given QCluster.
Enumerator | |
---|---|
kMCShowerAncestor | |
kMCTrackAncestor | |
kUnknownAncestor |
Definition at line 176 of file OpT0FinderTypes.h.
PyObject * flashmatch::_as_ndarray | ( | const std::vector< T > & | vec | ) |
convert vectors into np array
Definition at line 193 of file PyUtils.cxx.
template PyObject* flashmatch::_as_ndarray< double > | ( | const std::vector< double > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< float > | ( | const std::vector< float > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< int > | ( | const std::vector< int > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< long long > | ( | const std::vector< long long > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< short > | ( | const std::vector< short > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< unsigned int > | ( | const std::vector< unsigned int > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< unsigned long long > | ( | const std::vector< unsigned long long > & | vec | ) |
template PyObject* flashmatch::_as_ndarray< unsigned short > | ( | const std::vector< unsigned short > & | vec | ) |
void flashmatch::_copy_array | ( | PyObject * | arrayin, |
const std::vector< T > & | cvec | ||
) |
copy array
Definition at line 124 of file PyUtils.cxx.
template void flashmatch::_copy_array< double > | ( | PyObject * | arrayin, |
const std::vector< double > & | cvec | ||
) |
template void flashmatch::_copy_array< float > | ( | PyObject * | arrayin, |
const std::vector< float > & | cvec | ||
) |
template void flashmatch::_copy_array< int > | ( | PyObject * | arrayin, |
const std::vector< int > & | cvec | ||
) |
template void flashmatch::_copy_array< long long > | ( | PyObject * | arrayin, |
const std::vector< long long > & | cvec | ||
) |
template void flashmatch::_copy_array< short > | ( | PyObject * | arrayin, |
const std::vector< short > & | cvec | ||
) |
template void flashmatch::_copy_array< unsigned int > | ( | PyObject * | arrayin, |
const std::vector< unsigned int > & | cvec | ||
) |
template void flashmatch::_copy_array< unsigned short > | ( | PyObject * | arrayin, |
const std::vector< unsigned short > & | cvec | ||
) |
PyObject * flashmatch::as_ndarray | ( | const QCluster_t & | traj | ) |
Definition at line 22 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const ::geoalgo::Trajectory & | traj | ) |
Definition at line 49 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const Flash_t & | flash | ) |
Definition at line 75 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< short > & | vec | ) |
Definition at line 217 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< unsigned short > & | vec | ) |
Definition at line 218 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< int > & | vec | ) |
Definition at line 219 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< unsigned int > & | vec | ) |
Definition at line 220 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< long long > & | vec | ) |
Definition at line 221 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< unsigned long long > & | vec | ) |
Definition at line 222 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< float > & | vec | ) |
Definition at line 223 of file PyUtils.cxx.
PyObject * flashmatch::as_ndarray | ( | const std::vector< double > & | vec | ) |
Definition at line 224 of file PyUtils.cxx.
std::string flashmatch::ConfigFile2String | ( | std::string | fname | ) |
Given a configuration string, format to create flashmatch::PSet.
Given a configuration file (full path), read & parse contents to create flashmatch::PSet
Definition at line 9 of file PSetUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< unsigned short > & | cvec | ||
) |
Definition at line 156 of file PyUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< unsigned int > & | cvec | ||
) |
Definition at line 157 of file PyUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< short > & | cvec | ||
) |
Definition at line 158 of file PyUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< int > & | cvec | ||
) |
Definition at line 159 of file PyUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< long long > & | cvec | ||
) |
Definition at line 160 of file PyUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< float > & | cvec | ||
) |
Definition at line 161 of file PyUtils.cxx.
void flashmatch::copy_array | ( | PyObject * | arrayin, |
const std::vector< double > & | cvec | ||
) |
Definition at line 162 of file PyUtils.cxx.
PSet flashmatch::CreatePSetFromFile | ( | std::string | fname, |
std::string | cfg_name | ||
) |
Given a configuration file (full path), create and return flashmatch::PSet.
Definition at line 32 of file PSetUtils.cxx.
int flashmatch::ctype_to_numpy | ( | ) |
int flashmatch::ctype_to_numpy< double > | ( | ) |
Definition at line 171 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< float > | ( | ) |
Definition at line 170 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< int > | ( | ) |
Definition at line 166 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< long long > | ( | ) |
Definition at line 168 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< short > | ( | ) |
Definition at line 164 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< unsigned int > | ( | ) |
Definition at line 167 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< unsigned long long > | ( | ) |
Definition at line 169 of file PyUtils.cxx.
int flashmatch::ctype_to_numpy< unsigned short > | ( | ) |
Definition at line 165 of file PyUtils.cxx.
void flashmatch::MIN_vtx_qll | ( | Int_t & | , |
Double_t * | , | ||
Double_t & | Fval, | ||
Double_t * | Xval, | ||
Int_t | |||
) |
Definition at line 377 of file QLLMatch.cxx.
PyObject * flashmatch::numpy_array | ( | std::vector< size_t > | dims | ) |
Definition at line 227 of file PyUtils.cxx.
template PyObject* flashmatch::numpy_array< float > | ( | std::vector< size_t > | dims | ) |
std::ostream & flashmatch::operator<< | ( | std::ostream & | out, |
const flashmatch::QCluster_t & | obj | ||
) |
streamer override
Definition at line 36 of file OpT0FinderTypes.cxx.
PSet flashmatch::PSet::get< flashmatch::PSet > | ( | const std::string & | key | ) | const |
void flashmatch::SetPyUtil | ( | ) |
Utility function: call one-time-only numpy module initialization (you don't have to call)
Definition at line 14 of file PyUtils.cxx.
|
static |
Definition at line 8 of file ChargeAnalytical.cxx.
|
static |
Definition at line 11 of file CommonAmps.cxx.
|
static |
Definition at line 8 of file LightPath.cxx.
|
static |
Definition at line 11 of file MaxNPEWindow.cxx.
|
static |
Definition at line 8 of file NPtFilter.cxx.
|
static |
Definition at line 16 of file PhotonLibHypothesis.cxx.
|
static |
Definition at line 9 of file QLLMatch.cxx.
|
static |
Definition at line 8 of file QWeightPoint.cxx.
|
static |
Definition at line 12 of file TimeCompatMatch.cxx.
const double flashmatch::kINVALID_DOUBLE = std::numeric_limits<double>::max() |
Utility: invalid value for double.
Definition at line 12 of file OpT0FinderConstants.h.
const ID_t flashmatch::kINVALID_ID = kINVALID_SIZE |
Invalid ID.
Definition at line 14 of file OpT0FinderTypes.h.
const int flashmatch::kINVALID_INT = std::numeric_limits<int>::max() |
Utility: invalid value for int.
Definition at line 15 of file OpT0FinderConstants.h.
const size_t flashmatch::kINVALID_SIZE = std::numeric_limits<size_t>::max() |
Utility: invalid value for size.
Definition at line 18 of file OpT0FinderConstants.h.