PaMaterialMaps Class Reference

Material Maps. More...

#include <PaMaterialMaps.h>

List of all members.

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.
PaMaterialMapsoperator= (const PaMaterialMaps &c)
 "=" operator

Detailed Description

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)


Member Function Documentation

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).

Parameters:
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.

Parameters:
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.

Parameters:
hel The position in space (must be filled according to TRAFFIC).
direc Direction along beam axis.

  • direc = true : extrapolation is performed along beam.
  • direc = false : extrapolation is performed in opposite to beam derection.
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.

Warning:
As material map (if defined) are assumed to include also all detectors' materials in sufficiently wide XY ranges, only Z coordinate is checked.

Referenced by PaTrack::FullKF().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2