Belle II Software development
niel_fun.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#ifndef _VXD_TNiel_
9#define _VXD_TNiel_
10
11#include <string>
12
17class TNiel {
18
19private:
20
21 double nielfactor[1710];
22 double E_nielfactor[1710];
23 int niel_N;
25public:
26
29 explicit TNiel(const std::string& FileName);
34 double getNielFactor(double EMeV);
35
36};
37
38#endif
TNiel - the class providing values for NIEL factors.
Definition: niel_fun.h:17
int niel_N
number of rows in NIEL table
Definition: niel_fun.h:23
double nielfactor[1710]
factor values, enough to acommodate the longest file.
Definition: niel_fun.h:21
double getNielFactor(double EMeV)
Get NIEL factor for a given particle energy.
Definition: niel_fun.cc:77
double E_nielfactor[1710]
particle energies at which the NIEL factor is tabulated.
Definition: niel_fun.h:22