#include <MaterialStep.h>
|
| MaterialStep ()=default |
| Default Constructor needed for POOL. More...
|
|
| MaterialStep (float x, float y, float z, float t, float matX0, float matL0, float matA, float matZ, float matRho, float matdEdX=0.) |
| Constructor with arguments. More...
|
|
| MaterialStep (float x, float y, float z, float t, float matX0, float matL0, float matA, float matZ, float matRho, const std::vector< unsigned char > &elements, const std::vector< unsigned char > &fractions, float matdEdX=0.) |
| Constructor with arguments - used for compound material maps. More...
|
|
| MaterialStep (const MaterialStep &mstep)=default |
| Copy / Move Constructors. More...
|
|
| MaterialStep (MaterialStep &&mstep)=default |
|
MaterialStep & | operator= (const MaterialStep &mstep)=default |
| Assignment operators. More...
|
|
MaterialStep & | operator= (MaterialStep &&mstep)=default |
|
| ~MaterialStep ()=default |
| Destructor. More...
|
|
MsgStream & | dump (MsgStream &sl) const |
| Output Method for MsgStream, to be overloaded by child classes. More...
|
|
std::ostream & | dump (std::ostream &sl) const |
| Output Method for std::ostream, to be overloaded by child classes. More...
|
|
double | steplength () const |
| Access method : steplength. More...
|
|
double | steplengthInX0 () const |
| Access method : steplength. More...
|
|
double | steplengthInL0 () const |
| Access method : steplength. More...
|
|
double | hitX () const |
| Access method : hitX,Y,Z,R. More...
|
|
double | hitY () const |
|
double | hitZ () const |
|
double | hitR () const |
|
double | x0 () const |
| Access method : material X0/A/Z/rho. More...
|
|
double | l0 () const |
|
double | A () const |
|
double | Z () const |
|
double | rho () const |
|
const Material & | fullMaterial () const |
|
is needed for the recording of MaterialProperties from Geant4 and read them in with the mapping algorithm
The class is very much simplified for the ease of persistency issues.
- Author
- Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch
Definition at line 34 of file MaterialStep.h.
◆ MaterialStep() [1/5]
Trk::MaterialStep::MaterialStep |
( |
| ) |
|
|
default |
◆ MaterialStep() [2/5]
Trk::MaterialStep::MaterialStep |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
t, |
|
|
float |
matX0, |
|
|
float |
matL0, |
|
|
float |
matA, |
|
|
float |
matZ, |
|
|
float |
matRho, |
|
|
float |
matdEdX = 0. |
|
) |
| |
◆ MaterialStep() [3/5]
Trk::MaterialStep::MaterialStep |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
t, |
|
|
float |
matX0, |
|
|
float |
matL0, |
|
|
float |
matA, |
|
|
float |
matZ, |
|
|
float |
matRho, |
|
|
const std::vector< unsigned char > & |
elements, |
|
|
const std::vector< unsigned char > & |
fractions, |
|
|
float |
matdEdX = 0. |
|
) |
| |
Constructor with arguments - used for compound material maps.
Definition at line 26 of file MaterialStep.cxx.
37 m_material(matX0, matL0, matA, matZ, matRho, matdEdX,
◆ MaterialStep() [4/5]
Copy / Move Constructors.
◆ MaterialStep() [5/5]
◆ ~MaterialStep()
Trk::MaterialStep::~MaterialStep |
( |
| ) |
|
|
default |
◆ A()
double Trk::MaterialStep::A |
( |
| ) |
const |
|
inline |
◆ dump() [1/2]
MsgStream & Trk::MaterialStep::dump |
( |
MsgStream & |
sl | ) |
const |
Output Method for MsgStream, to be overloaded by child classes.
Definition at line 42 of file MaterialStep.cxx.
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;
◆ dump() [2/2]
std::ostream & Trk::MaterialStep::dump |
( |
std::ostream & |
sl | ) |
const |
Output Method for std::ostream, to be overloaded by child classes.
Definition at line 56 of file MaterialStep.cxx.
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;
◆ fullMaterial()
◆ hitR()
double Trk::MaterialStep::hitR |
( |
| ) |
const |
|
inline |
◆ hitX()
double Trk::MaterialStep::hitX |
( |
| ) |
const |
|
inline |
◆ hitY()
double Trk::MaterialStep::hitY |
( |
| ) |
const |
|
inline |
◆ hitZ()
double Trk::MaterialStep::hitZ |
( |
| ) |
const |
|
inline |
◆ l0()
double Trk::MaterialStep::l0 |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ rho()
double Trk::MaterialStep::rho |
( |
| ) |
const |
|
inline |
◆ steplength()
double Trk::MaterialStep::steplength |
( |
| ) |
const |
|
inline |
◆ steplengthInL0()
double Trk::MaterialStep::steplengthInL0 |
( |
| ) |
const |
|
inline |
◆ steplengthInX0()
double Trk::MaterialStep::steplengthInX0 |
( |
| ) |
const |
|
inline |
◆ x0()
double Trk::MaterialStep::x0 |
( |
| ) |
const |
|
inline |
◆ Z()
double Trk::MaterialStep::Z |
( |
| ) |
const |
|
inline |
◆ ::MaterialStepCnv_p1
◆ m_hitR
float Trk::MaterialStep::m_hitR = 0 |
|
protected |
◆ m_hitX
float Trk::MaterialStep::m_hitX = 0 |
|
protected |
◆ m_hitY
float Trk::MaterialStep::m_hitY = 0 |
|
protected |
◆ m_hitZ
float Trk::MaterialStep::m_hitZ = 0 |
|
protected |
◆ m_material
Material Trk::MaterialStep::m_material {} |
|
protected |
◆ m_steplength
float Trk::MaterialStep::m_steplength = 0 |
|
protected |
The documentation for this class was generated from the following files: