11 #include "GaudiKernel/MsgStream.h"
17 float matX0,
float matL0,
float matA,
18 float matZ,
float matRho,
float matdEdX)
19 : m_steplength(stepL),
23 m_hitR(std::sqrt(
x *
x +
y *
y)),
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,
32 : m_steplength(stepL),
36 m_hitR(std::sqrt(
x *
x +
y *
y)),
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);