is needed for the recording of MaterialProperties from Geant4 and read them in with the mapping algorithm
More...
#include <MaterialStep.h>
|
| | MaterialStep ()=default |
| | Default Constructor needed for POOL.
|
| | 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.
|
| | 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.
|
| | MaterialStep (const MaterialStep &mstep)=default |
| | Copy / Move Constructors.
|
| | MaterialStep (MaterialStep &&mstep)=default |
| MaterialStep & | operator= (const MaterialStep &mstep)=default |
| | Assignment operators.
|
| MaterialStep & | operator= (MaterialStep &&mstep)=default |
| | ~MaterialStep ()=default |
| | Destructor.
|
| MsgStream & | dump (MsgStream &sl) const |
| | Output Method for MsgStream, to be overloaded by child classes.
|
| std::ostream & | dump (std::ostream &sl) const |
| | Output Method for std::ostream, to be overloaded by child classes.
|
| double | steplength () const |
| | Access method : steplength.
|
| double | steplengthInX0 () const |
| | Access method : steplength.
|
| double | steplengthInL0 () const |
| | Access method : steplength.
|
| double | hitX () const |
| | Access method : hitX,Y,Z,R.
|
| double | hitY () const |
| double | hitZ () const |
| double | hitR () const |
| double | x0 () const |
| | Access method : material X0/A/Z/rho.
|
| 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. ) |
Constructor with arguments.
Definition at line 16 of file MaterialStep.cxx.
24 m_material(matX0, matL0, matA, matZ, matRho, matdEdX) {}
@ z
global position (cartesian)
◆ 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,
38 new Trk::MaterialComposition(elements, fractions))
39
40{}
◆ MaterialStep() [4/5]
| Trk::MaterialStep::MaterialStep |
( |
const MaterialStep & | mstep | ) |
|
|
default |
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.
42 {
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;
53 return sl;
54}
double steplength() const
Access method : steplength.
double x0() const
Access method : material X0/A/Z/rho.
double hitX() const
Access method : hitX,Y,Z,R.
◆ 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.
56 {
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;
67 return sl;
68}
◆ fullMaterial()
| const Material & Trk::MaterialStep::fullMaterial |
( |
| ) |
const |
|
inline |
◆ 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: