12#ifndef O2_MCH_SIMULATION_RESPONSE_H_
13#define O2_MCH_SIMULATION_RESPONSE_H_
57 return mMathieson.
integrate(xmin, ymin, xmax, ymax);
70 float inclandbfield(
float thetawire,
float betagamma,
float bx)
const;
74 MathiesonOriginal mMathieson{};
76 float mChargeSlope = 0.f;
77 float mChargeSpread = 0.f;
78 float mSigmaIntegration = 0.f;
79 float mChargeCorr = 0.f;
80 float mChargeThreshold = 0.f;
81 bool mAngleEffect =
true;
82 bool mMagnetEffect =
true;
85 float eLossRatio(
float logbetagamma)
const;
89 float angleEffect10(
float elossratio)
const;
93 float angleEffectNorma(
float angle)
const;
97 float magAngleEffectNorma(
float angle,
float bfield)
const;
Original definition of the Mathieson function.
float integrate(float xMin, float yMin, float xMax, float yMax) const
float getSigmaIntegration() const
uint32_t nSamples(float charge) const
compute the number of samples corresponding to the charge in ADC units
float chargePadfraction(float xmin, float xmax, float ymin, float ymax) const
float inclandbfield(float thetawire, float betagamma, float bx) const
compute deteriation of y-resolution due to track inclination and B-field
float getAnod(float x) const
return wire coordinate closest to x
bool isAboveThreshold(float charge) const
bool isMagnetEffect() const
bool isAngleEffect() const
float chargeCorr() const
return a randomized charge correlation between cathodes
float etocharge(float edepos) const
float getChargeSpread() const
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...