![]() |
PandaRoot
|
Stepper and energy loss/noise matrix calculation. More...
#include <MaterialEffects.h>
Public Member Functions | |
void | init (AbsMaterialInterface *matIfc) |
set the material interface here. Material interface classes must be derived from AbsMaterialInterface. More... | |
bool | isInitialized () |
void | setNoEffects (bool opt=true) |
void | setEnergyLossBetheBloch (bool opt=true) |
void | setNoiseBetheBloch (bool opt=true) |
void | setNoiseCoulomb (bool opt=true) |
void | setEnergyLossBrems (bool opt=true) |
void | setNoiseBrems (bool opt=true) |
void | ignoreBoundariesBetweenEqualMaterials (bool opt=true) |
void | setMscModel (const std::string &modelName) |
Select the multiple scattering model that will be used during track fit. More... | |
double | effects (const std::vector< RKStep > &steps, int materialsFXStart, int materialsFXStop, const double &mom, const int &pdg, M7x7 *noise=nullptr) |
Calculates energy loss in the traveled path, optional calculation of noise matrix. More... | |
void | stepper (const RKTrackRep *rep, M1x7 &state7, const double &mom, double &relMomLoss, const int &pdg, MaterialProperties ¤tMaterial, StepLimits &limits, bool varField=true) |
Returns maximum length so that a specified momentum loss will not be exceeded. More... | |
void | setDebugLvl (unsigned int lvl=1) |
void | drawdEdx (int pdg=11) |
Static Public Member Functions | |
static MaterialEffects * | getInstance () |
static void | destruct () |
Stepper and energy loss/noise matrix calculation.
It provides functionality to limit the stepsize of an extrapolation in order not to exceed a specified maximum momentum loss. After propagation, the energy loss for the given length and (optionally) the noise matrix can be calculated. You have to set which energy-loss and noise mechanisms you want to use. At the moment, per default all energy loss and noise options are ON.
Definition at line 50 of file MaterialEffects.h.
|
static |
void genfit::MaterialEffects::drawdEdx | ( | int | pdg = 11 | ) |
Referenced by ignoreBoundariesBetweenEqualMaterials().
double genfit::MaterialEffects::effects | ( | const std::vector< RKStep > & | steps, |
int | materialsFXStart, | ||
int | materialsFXStop, | ||
const double & | mom, | ||
const int & | pdg, | ||
M7x7 * | noise = nullptr |
||
) |
Calculates energy loss in the traveled path, optional calculation of noise matrix.
Referenced by ignoreBoundariesBetweenEqualMaterials().
|
static |
|
inline |
Definition at line 93 of file MaterialEffects.h.
References drawdEdx(), effects(), setDebugLvl(), setMscModel(), and stepper().
void genfit::MaterialEffects::init | ( | AbsMaterialInterface * | matIfc | ) |
set the material interface here. Material interface classes must be derived from AbsMaterialInterface.
|
inline |
Definition at line 64 of file MaterialEffects.h.
void genfit::MaterialEffects::setDebugLvl | ( | unsigned int | lvl = 1 | ) |
Referenced by ignoreBoundariesBetweenEqualMaterials().
|
inline |
Definition at line 68 of file MaterialEffects.h.
|
inline |
Definition at line 83 of file MaterialEffects.h.
void genfit::MaterialEffects::setMscModel | ( | const std::string & | modelName | ) |
Select the multiple scattering model that will be used during track fit.
At the moment two model are available GEANE and Highland. GEANE is the model was was present in Genfit first. Note that using this function has no effect if setNoiseCoulomb(false) is set.
Referenced by ignoreBoundariesBetweenEqualMaterials().
|
inline |
Definition at line 66 of file MaterialEffects.h.
|
inline |
Definition at line 73 of file MaterialEffects.h.
|
inline |
Definition at line 88 of file MaterialEffects.h.
|
inline |
Definition at line 78 of file MaterialEffects.h.
void genfit::MaterialEffects::stepper | ( | const RKTrackRep * | rep, |
M1x7 & | state7, | ||
const double & | mom, | ||
double & | relMomLoss, | ||
const int & | pdg, | ||
MaterialProperties & | currentMaterial, | ||
StepLimits & | limits, | ||
bool | varField = true |
||
) |
Returns maximum length so that a specified momentum loss will not be exceeded.
The stepper returns the maximum length that the particle may travel, so that a specified relative momentum loss will not be exceeded, or the next material boundary is reached. The material crossed are stored together with their stepsizes.
Referenced by ignoreBoundariesBetweenEqualMaterials().