Belle II Software development
|
TNiel - the class providing values for NIEL factors. More...
#include <niel_fun.h>
Public Member Functions | |
TNiel (const std::string &FileName) | |
Constructor takes NIEL table for a particle as input. | |
double | getNielFactor (double EMeV) |
Get NIEL factor for a given particle energy. | |
Private Attributes | |
double | nielfactor [1710] |
factor values, enough to acommodate the longest file. | |
double | E_nielfactor [1710] |
particle energies at which the NIEL factor is tabulated. | |
int | niel_N |
number of rows in NIEL table | |
TNiel - the class providing values for NIEL factors.
The class constructs a spline from a data table, and evaluates the spline at a desired point.
Definition at line 17 of file niel_fun.h.
|
explicit |
Constructor takes NIEL table for a particle as input.
FileName | String containing the table filename. |
Definition at line 44 of file niel_fun.cc.
double getNielFactor | ( | double | EMeV | ) |
Get NIEL factor for a given particle energy.
EMeV | particle kinetic energy in MeV. |
Definition at line 77 of file niel_fun.cc.
|
private |
particle energies at which the NIEL factor is tabulated.
Definition at line 22 of file niel_fun.h.
|
private |
number of rows in NIEL table
Definition at line 23 of file niel_fun.h.
|
private |
factor values, enough to acommodate the longest file.
Definition at line 21 of file niel_fun.h.