![]() |
Belle II Software
release-08-02-04
|
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. More... | |
| double | getNielFactor (double EMeV) |
| Get NIEL factor for a given particle energy. More... | |
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.