KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVedaLossInverseRangeFunction.h
1
3
4#ifndef __KVEDALOSSINVERSERANGEFUNCTION_H
5#define __KVEDALOSSINVERSERANGEFUNCTION_H
6
7#include "TObject.h"
8#include "KVConfig.h"
9#include "TSpline.h"
10class TF1;
11
25
26#ifdef USING_ROOT5
28#else
29 std::unique_ptr<TSpline3> fInterpol;
30#endif
31
32public:
34#ifdef USING_ROOT5
35 : fInterpol(nullptr)
36#endif
37 {}
39 Int_t A,
40 Double_t riso,
41 Int_t ninter = 50);
43 {
44#ifdef USING_ROOT5
46#endif
47 }
48
50
51 ClassDef(KVedaLossInverseRangeFunction, 0) //Dedicated optimised inversion of range-energy function
52};
53
54#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)