1 #ifndef MaterialAccountingGroup_h 2 #define MaterialAccountingGroup_h 24 BoundingBox(
double min_r,
double max_r,
double min_z,
double max_z)
167 #endif // MaterialAccountingGroup_h
double averageRadiationLengths(void) const
return the average normalized number of radiation lengths
bool inside(const MaterialAccountingDetector &detector) const
check if detector is inside any part of this layer
BoundingBox(double min_r, double max_r, double min_z, double max_z)
MaterialAccountingGroup(const std::string &name, const DDCompactView &geometry)
explicit constructors
void endOfTrack(void)
commit the buffer and reset the "already hit by this track" flag
double averageLength(void) const
return the average normalized layer thickness
MaterialAccountingStep m_errors
MaterialAccountingStep m_buffer
std::vector< GlobalPoint > m_elements
const std::vector< GlobalPoint > & elements(void) const
std::pair< double, double > getBoundingR() const
Return the bouding limit in R for the hosted Group.
BoundingBox m_boundingbox
Compact representation of the geometrical detector hierarchy.
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
double sigmaRadiationLengths(void) const
return the sigma of the normalized number of radiation lengths
double sigmaEnergyLoss(void) const
return the sigma of the normalized energy loss density factor for Bethe-Bloch
std::pair< double, double > range_r() const
unsigned int tracks(void) const
return the number of tracks that hit this layer
void savePlot(TH1F *plot, const std::string &name)
std::string info(void) const
get some infos
bool inside(double r, double z) const
MaterialAccountingGroup & operator=(const MaterialAccountingGroup &layer)=delete
stop default assignment operator
void grow(double r, double z)
std::pair< double, double > range_z() const
double sigmaLength(void) const
return the sigma of the normalized layer thickness
static double const s_tolerance
double length(void) const
void savePlots(void)
save the plots
double averageEnergyLoss(void) const
return the average normalized energy loss density factor for Bethe-Bloch
std::pair< double, double > getBoundingZ() const
Return the bouding limit in Z for the hosted Group.
TProfile * m_radlen_vs_eta
bool addDetector(const MaterialAccountingDetector &detector)
buffer material from a detector, if the detector is inside the DetLayer bounds
~MaterialAccountingGroup(void)
destructor
double radiationLengths(void) const
MaterialAccountingStep m_accounting
const std::string & name(void) const
get the layer name
double energyLoss(void) const
MaterialAccountingStep average(void) const
return the average normalized material accounting informations