![]() |
ATLAS Offline Software
|
is needed for the recording of MaterialProperties from Geant4 and read them in with the mapping algorithm More...
#include <MaterialStep.h>
Public Member Functions | |
| 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 |
Protected Attributes | |
| float | m_steplength = 0 |
| float | m_hitX = 0 |
| float | m_hitY = 0 |
| float | m_hitZ = 0 |
| float | m_hitR = 0 |
| Material | m_material {} |
Friends | |
| class | ::MaterialStepCnv_p1 |
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.
Definition at line 34 of file MaterialStep.h.
|
default |
Default Constructor needed for POOL.
| 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.
| 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.
|
default |
Copy / Move Constructors.
|
default |
|
default |
Destructor.
|
inline |
Definition at line 122 of file MaterialStep.h.
| 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.
| 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.
Definition at line 128 of file MaterialStep.h.
|
inline |
Definition at line 116 of file MaterialStep.h.
|
inline |
|
inline |
Definition at line 112 of file MaterialStep.h.
|
inline |
Definition at line 114 of file MaterialStep.h.
|
inline |
Definition at line 120 of file MaterialStep.h.
|
default |
Assignment operators.
|
default |
|
inline |
Definition at line 126 of file MaterialStep.h.
|
inline |
|
inline |
Access method : steplength.
Definition at line 106 of file MaterialStep.h.
|
inline |
Access method : steplength.
Definition at line 102 of file MaterialStep.h.
|
inline |
|
inline |
Definition at line 124 of file MaterialStep.h.
|
friend |
Definition at line 91 of file MaterialStep.h.
|
protected |
Definition at line 96 of file MaterialStep.h.
|
protected |
Definition at line 93 of file MaterialStep.h.
|
protected |
Definition at line 94 of file MaterialStep.h.
|
protected |
Definition at line 95 of file MaterialStep.h.
|
protected |
Definition at line 97 of file MaterialStep.h.
|
protected |
Definition at line 92 of file MaterialStep.h.