11#include "GaudiKernel/MsgStream.h"
17 float matX0,
float matL0,
float matA,
18 float matZ,
float matRho,
float matdEdX)
24 m_material(matX0, matL0, matA, matZ, matRho, matdEdX) {}
27 float matX0,
float matL0,
float matA,
28 float matZ,
float matRho,
29 const std::vector<unsigned char>& elements,
30 const std::vector<unsigned char>& fractions,
37 m_material(matX0, matL0, matA, matZ, matRho, matdEdX,
43 sl <<
"----> MaterialStep - recorded at (x/y/z) | r : (" <<
hitX() <<
"/ ";
45 sl <<
hitZ() <<
") | ";
46 sl <<
hitR() << std::endl;
47 sl <<
" Material (t/x0/l0/A/Z/rho) : (" <<
steplength() <<
"/ ";
52 sl <<
rho() <<
")" << std::endl;
57 sl <<
"----> MaterialStep - recorded at (x/y/z) | r : (" <<
hitX() <<
"/ ";
59 sl <<
hitZ() <<
") | ";
60 sl <<
hitR() << std::endl;
61 sl <<
" Material (t/x0/l0/A/Z/rho) : (" <<
steplength() <<
"/ ";
66 sl <<
rho() <<
")" << std::endl;
71 return mstep.
dump(sl);
76 return mstep.
dump(sl);
is needed for the recording of MaterialProperties from Geant4 and read them in with the mapping algor...
MaterialStep()=default
Default Constructor needed for POOL.
double steplength() const
Access method : steplength.
MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
double x0() const
Access method : material X0/A/Z/rho.
double hitX() const
Access method : hitX,Y,Z,R.
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
@ z
global position (cartesian)