Belle II Software  release-05-01-25
niel_fun.h
1 #ifndef _VXD_TNiel_
2 #define _VXD_TNiel_
3 
4 #include <string>
5 
10 class TNiel {
11 
12 private:
13 
14  double nielfactor[1710];
15  double E_nielfactor[1710];
16  int niel_N;
18 public:
19 
22  explicit TNiel(const std::string& FileName);
27  double getNielFactor(double EMeV);
28 
29 };
30 
31 #endif
TNiel::niel_N
int niel_N
number of rows in NIEL table
Definition: niel_fun.h:16
TNiel::E_nielfactor
double E_nielfactor[1710]
particle energies at which the NIEL factor is tabulated.
Definition: niel_fun.h:15
TNiel::nielfactor
double nielfactor[1710]
factor values, enough to acommodate the longest file.
Definition: niel_fun.h:14
TNiel
TNiel - the class providing values for NIEL factors.
Definition: niel_fun.h:10
TNiel::getNielFactor
double getNielFactor(double EMeV)
Get NIEL factor for a given particle energy.
Definition: niel_fun.cc:70
TNiel::TNiel
TNiel(const std::string &FileName)
Constructor takes NIEL table for a particle as input.
Definition: niel_fun.cc:37