ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
AccumulatedMaterialProperties. More...
#include <acts/blob/master/Core/include/Acts/Material/AccumulatedMaterialProperties.hpp>
Public Member Functions | |
AccumulatedMaterialProperties ()=default | |
Default constructor sets everything to zero. | |
~AccumulatedMaterialProperties ()=default | |
Default destructor sets. | |
AccumulatedMaterialProperties (const AccumulatedMaterialProperties &)=default | |
AccumulatedMaterialProperties (AccumulatedMaterialProperties &&)=default | |
AccumulatedMaterialProperties & | operator= (const AccumulatedMaterialProperties &)=default |
AccumulatedMaterialProperties & | operator= (AccumulatedMaterialProperties &&)=default |
void | accumulate (const MaterialProperties &, double pathCorrection=1.) |
this adds the material properties to event store | |
void | trackAverage (bool emptyHit=false) |
std::pair< MaterialProperties, unsigned int > | totalAverage () |
Private Attributes | |
double | m_eventPathInX0 {0.} |
event: accumulate the thickness in X0 | |
double | m_eventPathInL0 {0.} |
event: accumulate the thickness in L0 | |
double | m_eventAr {0.} |
event: accumulate the contribution to A | |
double | m_eventZ {0.} |
event: accumulate the contribution to Z | |
double | m_eventRho {0.} |
event: accumulate the contribution to rho | |
double | m_eventPath {0.} |
event: the event path for normalisation | |
double | m_eventPathCorrection {0.} |
event: remember the path correction | |
double | m_totalPathInX0 {0.} |
total: accumulate the thickness in X0 | |
double | m_totalPathInL0 {0.} |
total: accumulate the thickness in L0 | |
double | m_totalAr {0.} |
total: accumulate the contribution to A | |
double | m_totalZ {0.} |
total: accumulate the contribution to Z | |
double | m_totalRho {0.} |
total: accumulate the contribution to rho | |
unsigned int | m_totalEvents {0} |
the number of events | |
AccumulatedMaterialProperties.
This class uses the MaterialProperties class and adds the necessary information for the SurfaceMaterial Mapper.
There are two stores for material averaging:
The averaging is always done to unit thickness
Definition at line 34 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 34 of file AccumulatedMaterialProperties.hpp
|
default |
Default constructor sets everything to zero.
|
default |
Default destructor sets.
|
default |
Default copy constructor
amp | the source Accumulated properties |
|
default |
Default copy move constructor
amp | the source Accumulated properties |
|
inline |
this adds the material properties to event store
Accumulation operator MaterialProperties accumulation is done as follows:
Vacuum steps with step length different from zero are also used in order to count for holes in material structures
amp | the source Accumulated properties |
pathCorreciton | is the correction to nominal incident |
Definition at line 111 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 111 of file AccumulatedMaterialProperties.hpp
References Acts::Material::Ar(), m_eventAr, m_eventPath, m_eventPathCorrection, m_eventPathInL0, m_eventPathInX0, m_eventRho, m_eventZ, Acts::Material::massDensity(), Acts::MaterialProperties::material(), r, t, Acts::MaterialProperties::thickness(), Acts::MaterialProperties::thicknessInL0(), Acts::MaterialProperties::thicknessInX0(), and Acts::Material::Z().
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
default |
Default assignment operator
amp | the source Accumulated properties |
|
default |
Default move assignment operator
amp | the source Accumulated properties |
|
inline |
Average the information accumulated during the entire mapping process
The total average takesthe full run into account
Definition at line 151 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 151 of file AccumulatedMaterialProperties.hpp
References m_totalAr, m_totalEvents, m_totalPathInL0, m_totalPathInX0, m_totalRho, and m_totalZ.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
Average the information accumulated for one track
emtpyHit | indicate an empty hit |
Definition at line 126 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 126 of file AccumulatedMaterialProperties.hpp
References m_eventAr, m_eventPath, m_eventPathCorrection, m_eventPathInL0, m_eventPathInX0, m_eventRho, m_eventZ, m_totalAr, m_totalEvents, m_totalPathInL0, m_totalPathInX0, m_totalRho, and m_totalZ.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
private |
event: accumulate the contribution to A
Definition at line 96 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 96 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
event: the event path for normalisation
Definition at line 99 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 99 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
event: remember the path correction
Definition at line 100 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 100 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
event: accumulate the thickness in L0
Definition at line 95 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 95 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
event: accumulate the thickness in X0
Definition at line 94 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 94 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
event: accumulate the contribution to rho
Definition at line 98 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 98 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
event: accumulate the contribution to Z
Definition at line 97 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 97 of file AccumulatedMaterialProperties.hpp
Referenced by accumulate(), and trackAverage().
|
private |
total: accumulate the contribution to A
Definition at line 104 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 104 of file AccumulatedMaterialProperties.hpp
Referenced by totalAverage(), and trackAverage().
|
private |
the number of events
Definition at line 108 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 108 of file AccumulatedMaterialProperties.hpp
Referenced by totalAverage(), and trackAverage().
|
private |
total: accumulate the thickness in L0
Definition at line 103 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 103 of file AccumulatedMaterialProperties.hpp
Referenced by totalAverage(), and trackAverage().
|
private |
total: accumulate the thickness in X0
Definition at line 102 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 102 of file AccumulatedMaterialProperties.hpp
Referenced by totalAverage(), and trackAverage().
|
private |
total: accumulate the contribution to rho
Definition at line 106 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 106 of file AccumulatedMaterialProperties.hpp
Referenced by totalAverage(), and trackAverage().
|
private |
total: accumulate the contribution to Z
Definition at line 105 of file AccumulatedMaterialProperties.hpp.
View newest version in sPHENIX GitHub at line 105 of file AccumulatedMaterialProperties.hpp
Referenced by totalAverage(), and trackAverage().