24 #ifndef genfit_MaterialEffects_h 25 #define genfit_MaterialEffects_h 70 energyLossBetheBloch_ = opt;
75 noiseBetheBloch_ = opt;
85 energyLossBrems_ = opt;
103 double effects(
const std::vector<RKStep> &steps,
int materialsFXStart,
int materialsFXStop,
const double &mom,
const int &pdg,
M7x7 *noise =
nullptr);
121 void getParticleParameters();
123 void getMomGammaBeta(
double Energy,
double &mom,
double &gammaSquare,
double &gamma,
double &betaSquare)
const;
129 double momentumLoss(
double stepSign,
double mom,
bool linear);
132 double dEdx(
double Energy)
const;
135 double dEdxBetheBloch(
double betaSquare,
double gamma,
double gammasquare)
const;
146 void noiseBetheBloch(
M7x7 &noise,
double mom,
double betaSquare,
double gamma,
double gammaSquare)
const;
156 void noiseCoulomb(
M7x7 &noise,
const M1x3 &direction,
double momSquare,
double betaSquare)
const;
163 double dEdxBrems(
double mom)
const;
168 void noiseBrems(
M7x7 &noise,
double momSquare,
double betaSquare)
const;
172 bool energyLossBetheBloch_;
173 bool noiseBetheBloch_;
175 bool energyLossBrems_;
178 bool ignoreBoundariesBetweenEqualMaterials_;
190 double radiationLength_;
201 unsigned int debugLvl_;
209 #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)