Belle II Software  release-08-01-10
EDepInGas.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 namespace Belle2 {
16  namespace CDC {
18 
20  class EDepInGas {
21 
22  public:
23 
25  virtual ~EDepInGas();
26 
28 
31  static EDepInGas& getInstance();
32 
36  void initialize();
37 
46  double getEDepInGas(int mode, int pdg, double p, double dx, double e3) const;
47 
59  double getMostProbabEDep(double p, double mass, double zi, double dx, double z, double a, double i, double rho) const;
60 
61  private:
63  EDepInGas();
68 
69  double m_z1 = 0;
70  double m_a1 = 0;
71  double m_i1 = 0;
72  double m_rho1 = 0;
74  double m_z2 = 0;
75  double m_a2 = 0;
76  double m_i2 = 0;
77  double m_rho2 = 0;
79  double m_z0 = 0;
80  double m_a0 = 0;
81  double m_i0 = 0;
82  double m_rho0 = 0;
84  const double m_massE = 0.51099895e6;
85  double m_ak1[6][2] = {{ }};
86  double m_bk1[6][2] = {{ }};
87  double m_ck1[6][2] = {{ }};
89  static EDepInGas* m_pntr;
91  };
92 
93  } // end of namespace CDC
95 } // end of namespace Belle2
The Class for Energy deposit in the gas.
Definition: EDepInGas.h:20
double m_i1
I of He-C2H6 gas.
Definition: EDepInGas.h:71
double m_i0
I of wire+gas.
Definition: EDepInGas.h:81
EDepInGas()
Singleton class.
Definition: EDepInGas.cc:32
void initialize()
Initialize theclass.
Definition: EDepInGas.cc:36
EDepInGas(const EDepInGas &)
Singleton class.
virtual ~EDepInGas()
Destructor.
Definition: EDepInGas.cc:34
static EDepInGas * m_pntr
Pointer that saves the instance of this class.
Definition: EDepInGas.h:89
double m_z1
Z of He-C2H6 gas.
Definition: EDepInGas.h:69
double m_i2
I of "wire gas".
Definition: EDepInGas.h:76
double m_bk1[6][2]
coeffs b for density effect
Definition: EDepInGas.h:86
double m_ak1[6][2]
coeffs a for density effect
Definition: EDepInGas.h:85
double m_rho0
rho of wire+gas
Definition: EDepInGas.h:82
static EDepInGas & getInstance()
Static method to get a reference to the EDepInGas instance.
Definition: EDepInGas.cc:23
double m_rho1
rho of He-C2H6 gas
Definition: EDepInGas.h:72
const double m_massE
electron mass
Definition: EDepInGas.h:84
double m_rho2
rho of "wire gas"
Definition: EDepInGas.h:77
double getEDepInGas(int mode, int pdg, double p, double dx, double e3) const
Return the energy deosite in the gas.
Definition: EDepInGas.cc:137
double m_a1
A of He-C2H6 gas.
Definition: EDepInGas.h:70
double m_z2
Z of "wire gas".
Definition: EDepInGas.h:74
double m_ck1[6][2]
coeffs c for density effect
Definition: EDepInGas.h:87
double m_z0
Z of wire+gas.
Definition: EDepInGas.h:79
double m_a0
A of wire+gas.
Definition: EDepInGas.h:80
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.
Definition: EDepInGas.cc:229
double m_a2
A of "wire gas".
Definition: EDepInGas.h:75
EDepInGas & operator=(const EDepInGas &)
Singleton class.
Abstract base class for different kinds of events.