Belle II Software  release-08-01-10
EnergyLossEstimator Class Reference

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.
 

Detailed Description

Helper struct to provide consistent energy loss estimation throughout the CDC track finding.

Definition at line 22 of file EnergyLossEstimator.h.

Constructor & Destructor Documentation

◆ EnergyLossEstimator()

EnergyLossEstimator ( double  eDensity,
double  I,
double  bZ = NAN 
)

Constructor from the material properties.

Parameters
eDensityElectron density in mol / cm ^ 3, e.g. from Z * density / A
IExcitation energy (must be given in standard GeV units)
bZMean magentic field in the z direction

Definition at line 121 of file EnergyLossEstimator.cc.

122  : m_eDensity(eDensity)
123  , m_I(I)
124  , m_bZ(bZ)
125 {
126 }
double m_eDensity
Electron density in mol / cm^3.
double m_bZ
B field to be used for the distance translation.
double m_I
Mean excitation energy in GeV.

Member Function Documentation

◆ getBetheStoppingPower()

double getBetheStoppingPower ( double  p,
int  pdgCode 
) const

Stopping power aka energy loss / arc length.

Parameters
pabsolute momentum
pdgCode

Definition at line 128 of file EnergyLossEstimator.cc.


The documentation for this class was generated from the following files: