36 #ifndef genfit_MaterialEffects_h 37 #define genfit_MaterialEffects_h 82 energyLossBetheBloch_ = opt;
87 noiseBetheBloch_ = opt;
97 energyLossBrems_ = opt;
115 double effects(
const std::vector<RKStep> &steps,
int materialsFXStart,
int materialsFXStop,
const double &mom,
const int &pdg,
M7x7 *noise =
nullptr);
133 void getParticleParameters();
135 void getMomGammaBeta(
double Energy,
double &mom,
double &gammaSquare,
double &gamma,
double &betaSquare)
const;
141 double momentumLoss(
double stepSign,
double mom,
bool linear);
144 double dEdx(
double Energy)
const;
147 double dEdxBetheBloch(
double betaSquare,
double gamma,
double gammasquare)
const;
158 void noiseBetheBloch(
M7x7 &noise,
double mom,
double betaSquare,
double gamma,
double gammaSquare)
const;
168 void noiseCoulomb(
M7x7 &noise,
const M1x3 &direction,
double momSquare,
double betaSquare)
const;
175 double dEdxBrems(
double mom)
const;
180 void noiseBrems(
M7x7 &noise,
double momSquare,
double betaSquare)
const;
184 bool energyLossBetheBloch_;
185 bool noiseBetheBloch_;
187 bool energyLossBrems_;
190 bool ignoreBoundariesBetweenEqualMaterials_;
202 double radiationLength_;
213 unsigned int debugLvl_;
221 #endif // genfit_MaterialEffects_h
Helper to store different limits on the stepsize for the RKTRackRep.
Abstract base class for geometry interfacing.
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.
Material properties needed e.g. for material effects calculation.
void ignoreBoundariesBetweenEqualMaterials(bool opt=true)
void setEnergyLossBrems(bool opt=true)
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.
void setEnergyLossBetheBloch(bool opt=true)
void setNoEffects(bool opt=true)
Stepper and energy loss/noise matrix calculation.
static MaterialEffects * getInstance()
void setNoiseBrems(bool opt=true)
void init(AbsMaterialInterface *matIfc)
set the material interface here. Material interface classes must be derived from AbsMaterialInterface...
void setNoiseBetheBloch(bool opt=true)
void setNoiseCoulomb(bool opt=true)
void setMscModel(const std::string &modelName)
Select the multiple scattering model that will be used during track fit.
AbsTrackRep with 5D track parameterization in plane coordinates: (q/p, u', v', u, v) ...
void setDebugLvl(unsigned int lvl=1)
void drawdEdx(int pdg=11)