Belle II Software
release-08-01-10
|
The Class for Energy deposit in the gas. More...
#include <EDepInGas.h>
Public Member Functions | |
virtual | ~EDepInGas () |
Destructor. | |
void | initialize () |
Initialize theclass. | |
double | getEDepInGas (int mode, int pdg, double p, double dx, double e3) const |
Return the energy deosite in the gas. More... | |
double | getMostProbabEDep (double p, double mass, double zi, double dx, double z, double a, double i, double rho) const |
Return the energy deosite in the material. More... | |
Static Public Member Functions | |
static EDepInGas & | getInstance () |
Static method to get a reference to the EDepInGas instance. More... | |
Private Member Functions | |
EDepInGas () | |
Singleton class. | |
EDepInGas (const EDepInGas &) | |
Singleton class. | |
EDepInGas & | operator= (const EDepInGas &) |
Singleton class. | |
Private Attributes | |
double | m_z1 = 0 |
Z of He-C2H6 gas. | |
double | m_a1 = 0 |
A of He-C2H6 gas. | |
double | m_i1 = 0 |
I of He-C2H6 gas. | |
double | m_rho1 = 0 |
rho of He-C2H6 gas | |
double | m_z2 = 0 |
Z of "wire gas". | |
double | m_a2 = 0 |
A of "wire gas". | |
double | m_i2 = 0 |
I of "wire gas". | |
double | m_rho2 = 0 |
rho of "wire gas" | |
double | m_z0 = 0 |
Z of wire+gas. | |
double | m_a0 = 0 |
A of wire+gas. | |
double | m_i0 = 0 |
I of wire+gas. | |
double | m_rho0 = 0 |
rho of wire+gas | |
const double | m_massE = 0.51099895e6 |
electron mass | |
double | m_ak1 [6][2] = {{ }} |
coeffs a for density effect | |
double | m_bk1 [6][2] = {{ }} |
coeffs b for density effect | |
double | m_ck1 [6][2] = {{ }} |
coeffs c for density effect | |
Static Private Attributes | |
static EDepInGas * | m_pntr = 0 |
Pointer that saves the instance of this class. | |
The Class for Energy deposit in the gas.
This class provides the energy deposit in the gas.
Definition at line 20 of file EDepInGas.h.
double getEDepInGas | ( | int | mode, |
int | pdg, | ||
double | p, | ||
double | dx, | ||
double | e3 | ||
) | const |
Return the energy deosite in the gas.
mode | 0: simple scaling; 1: scaling based on mpe; 2: based on probab. |
pdg | pdg code of incoming particle |
p | absolute momentum (GeV) |
dx | thickness of material (cm) |
e3 | energy deposit in gas+wire |
Definition at line 137 of file EDepInGas.cc.
|
static |
Static method to get a reference to the EDepInGas instance.
Definition at line 23 of file EDepInGas.cc.
double getMostProbabEDep | ( | double | p, |
double | mass, | ||
double | zi, | ||
double | dx, | ||
double | z, | ||
double | a, | ||
double | i, | ||
double | rho | ||
) | const |
Return the energy deosite in the material.
p | absolute momentum (GeV) |
mass | lmass of incoming particle (GeV) |
zi | z of incoming particle |
dx | thickness of material (cm) |
z | atomic number of material |
a | atomic weight of material |
i | ionization potential of material (eV) |
rho | density of material |
Definition at line 229 of file EDepInGas.cc.