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