Material Maps. More...
#include <PaMaterialMaps.h>
Public Member Functions | |
| void | getRadLength (const PaTPar &hel, bool direc, float &RadLen, float &StepZ, bool limit_step=true) const |
| Returns the radiative length RadLen in the point defined by hel. Also returns the step size along Z axis from hel to next medium. | |
| float | getdE (const PaTPar &hel, double Len) const |
| Returns the coefficient ( [dE] = GeV ) for most probable energy loss at the point defined by hel for a step of length len (in cm). | |
| float | getdEStraggling (const PaTPar &hel, float Len) const |
| Returns the sigma of energy loss distribution ( [dE] = GeV ) for momentum losses during a step of length Len at the point defined by hel in target. | |
| bool | usingROOTGeometry () const |
| Return true if the ROOTGeometry is in use, false otherwise. | |
| const TMacro & | getROOTGeometry () const |
| Returns a reference to the macro containing the currently loaded ROOT Geometry. | |
| double | getMassDefault () const |
| Returns the default mass used for energy loss calculations in the case if ROOTGeimetry is used. | |
| bool | InMaterialMap (PaTPar &hel) const |
| Returns true if "hel" is inside material map. | |
| PaMaterialMaps & | operator= (const PaMaterialMaps &c) |
| "=" operator | |
Material Maps.
The class PaMaterialMaps (teken from CsMatrialMap) contains the table of radiative lengths and the table of dE/dX. The volume is split into boxes and an average radiative lengths or dE/dX is assigned to every box. The basic idea of introducing material maps is to provide a track extrapolation code with a way to take into account effects of multiple scattering and energy losses. (by Alexandre Korzenev, Jan P. Nassalski)
| float PaMaterialMaps::getdE | ( | const PaTPar & | hel, | |
| double | Len | |||
| ) | const |
Returns the coefficient ( [dE] = GeV ) for most probable energy loss at the point defined by hel for a step of length len (in cm).
| hel | The position in space (must be filled according to TRAFFIC). | |
| Len | The length of the step to take. |
References PaTPar::DirCos().
Referenced by PaTPar::Extrapolate().
| float PaMaterialMaps::getdEStraggling | ( | const PaTPar & | hel, | |
| float | Len | |||
| ) | const |
Returns the sigma of energy loss distribution ( [dE] = GeV ) for momentum losses during a step of length Len at the point defined by hel in target.
| hel | The position in space (must be filled according to TRAFFIC). | |
| Len | length of the step. |
References PaTPar::DirCos().
Referenced by PaTPar::Extrapolate().
| void PaMaterialMaps::getRadLength | ( | const PaTPar & | hel, | |
| bool | direc, | |||
| float & | RadLen, | |||
| float & | StepZ, | |||
| bool | limit_step = true | |||
| ) | const |
Returns the radiative length RadLen in the point defined by hel. Also returns the step size along Z axis from hel to next medium.
| hel | The position in space (must be filled according to TRAFFIC). | |
| direc | Direction along beam axis.
| |
| RadLen | The radiative length in hel (in cm). | |
| StepZ | The step size along beam axis from hel to next medium (in cm). | |
| limit_step | if true, set a limit to recommended step Track extrapolated as straight line. If extrapolation is in backward direction than StepZ < 0. |
References PaTPar::DirCos().
Referenced by PaTPar::Extrapolate().
| bool PaMaterialMaps::InMaterialMap | ( | PaTPar & | hel | ) | const |
Returns true if "hel" is inside material map.
Referenced by PaTrack::FullKF().
1.6.2