Common constant definitions for the Kalman Filter library.
A map of station thickness in units of radiation length (X0) to the specific point in XY plane.
A class to collect statistics for a material budget map of the KF-framework.
double GetActiveRadThickMin() const
Get minimal radiation thickness among all active bins.
int GetPassiveNbins() const
Get number of passive bins in the map.
double GetPassiveRadThickMean() const
Get average radiation thickness among all passive bins.
double GetRatioOfOutsideHits() const
Get the ration of hits that show up outside the material map.
double GetActiveRadThickMean() const
Get average radiation thickness among all active bins.
const MaterialMap * fMaterial
Pointer to the material map.
double GetPassiveRadThickMax() const
Get maximal radiation thickness among all passive bins.
unsigned long fNhitsOutside
number of hits outside the material map
double fActiveRadThickMax
Active material: maximal thickness.
std::string fName
Name of the material map.
MaterialMonitor()
Default constructor.
std::vector< char > fActiveBinMap
Map of active bins in the material map (bins where hits appear)
double fPassiveRadThickMin
Passive material: minimal thickness.
double fPassiveRadThickMean
Passive material: average thickness.
double GetNhits() const
Get the number of processed hits.
unsigned long fNhitsTotal
number of hits in statistics
int GetActiveNbins() const
Get number of active bins in the map.
void EvaluateStatistics()
Update values of statistical variables with respect to the active map.
std::string ToString()
Print statistics to a string.
int fPassiveNbins
Passive material: number of bins.
int fActiveNbins
Active material: number of bins.
void MarkActiveBin(float x, float y)
Mark a bin as active.
MaterialMonitor(const MaterialMap *materialMap, const std::string &name="")
Constructor.
void SetMaterial(const MaterialMap *materialMap)
Set a material budget map.
double fActiveRadThickMin
Active material: minimal thickness.
double GetPassiveRadThickMin() const
Get minimal radiation thickness among all passive bins.
double fPassiveRadThickMax
Passive material: maximal thickness.
double fActiveRadThickMean
Active material: average thickness.
void ResetActiveBins()
Reset the map of active bins.
void SetName(const std::string &name)
Set a name of the material budget map.
double GetActiveRadThickMax() const
Get maximal radiation thickness among all active bins.
constexpr double Undef< double >
constexpr int Undef< int >