17 namespace TrackFindingCDC {
33 static double getMass(
int pdgCode);
60 double getEnergyLoss(
double p,
int pdgCode,
double arcLength)
const;
71 double getLossDist2D(
double pt,
int pdgCode,
double arcLength2D)
const;
Helper struct to provide consistent energy loss estimation throughout the CDC track finding.
double getLossDist2D(double pt, int pdgCode, double arcLength2D) const
Calculates a correction term for the two dimensional distance undoing the energy loss after the given...
double getMomentumLossFactor(double p, int pdgCode, double arcLength) const
Calculates a factor applicable scaling the current momentum to the momentum after traveling given arc...
static EnergyLossEstimator forCDC()
Create an energy loss estimator with the material properties of the CDC.
double m_eDensity
Electron density in mol / cm^3.
double m_bZ
B field to be used for the distance translation.
static int getCharge(int pdgCode)
Lookup the charge for the given pdg code.
double getEnergyLoss(double p, int pdgCode, double arcLength) const
Calculates the total energy loss after travelling the given distance.
static double getMass(int pdgCode)
Lookup the mass for the given pdg code.
double m_I
Mean excitation energy in GeV.
double getBetheStoppingPower(double p, int pdgCode) const
Stopping power aka energy loss / arc length.
Abstract base class for different kinds of events.