KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVedaLossInverseRangeFunction.h
Go to the documentation of this file.
1 
4 #ifndef __KVEDALOSSINVERSERANGEFUNCTION_H
5 #define __KVEDALOSSINVERSERANGEFUNCTION_H
6 
7 #include "TObject.h"
8 #include "KVConfig.h"
9 #include "TSpline.h"
10 class TF1;
11 
24 
25 #ifdef USING_ROOT5
27 #else
28  std::unique_ptr<TSpline3> fInterpol;
29 #endif
30 
31 public:
33 #ifdef USING_ROOT5
34  : fInterpol(nullptr)
35 #endif
36  {}
38  Int_t A,
39  Double_t riso,
40  Int_t ninter = 50);
42  {
43 #ifdef USING_ROOT5
45 #endif
46  }
47 
49 
50  ClassDef(KVedaLossInverseRangeFunction, 0) //Dedicated optimised inversion of range-energy function
51 };
52 
53 #endif
int Int_t
#define SafeDelete(p)
double Double_t
#define ClassDef(name, id)
Dedicated optimised inversion of range-energy function for KVedaLoss.
std::unique_ptr< TSpline3 > fInterpol
interpolation of inverse range-energy curve
Double_t GetEnergyPerNucleon(Double_t range, Double_t riso)