Belle II Software
release-08-01-10
|
Helper struct to provide consistent energy loss estimation throughout the CDC track finding. More...
#include <EnergyLossEstimator.h>
Public Member Functions | |
EnergyLossEstimator (double eDensity, double I, double bZ=NAN) | |
Constructor from the material properties. More... | |
double | getBetheStoppingPower (double p, int pdgCode) const |
Stopping power aka energy loss / arc length. More... | |
double | getEnergyLoss (double p, int pdgCode, double arcLength) const |
Calculates the total energy loss after travelling the given distance. | |
double | getMomentumLossFactor (double p, int pdgCode, double arcLength) const |
Calculates a factor applicable scaling the current momentum to the momentum after traveling given arc length. | |
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 arc length. | |
Static Public Member Functions | |
static EnergyLossEstimator | forCDC () |
Create an energy loss estimator with the material properties of the CDC. | |
static double | getMass (int pdgCode) |
Lookup the mass for the given pdg code. | |
static int | getCharge (int pdgCode) |
Lookup the charge for the given pdg code. | |
Private Attributes | |
double | m_eDensity |
Electron density in mol / cm^3. | |
double | m_I |
Mean excitation energy in GeV. | |
double | m_bZ |
B field to be used for the distance translation. | |
Helper struct to provide consistent energy loss estimation throughout the CDC track finding.
Definition at line 22 of file EnergyLossEstimator.h.
EnergyLossEstimator | ( | double | eDensity, |
double | I, | ||
double | bZ = NAN |
||
) |
Constructor from the material properties.
eDensity | Electron density in mol / cm ^ 3, e.g. from Z * density / A |
I | Excitation energy (must be given in standard GeV units) |
bZ | Mean magentic field in the z direction |
Definition at line 121 of file EnergyLossEstimator.cc.
double getBetheStoppingPower | ( | double | p, |
int | pdgCode | ||
) | const |
Stopping power aka energy loss / arc length.
p | absolute momentum |
pdgCode |
Definition at line 128 of file EnergyLossEstimator.cc.