7 #ifndef AtELOSSMANAGER_H
8 #define AtELOSSMANAGER_H
20 class TMemberInspector;
33 Double_t
GetInitialEnergy(Double_t FinalEnergy, Double_t PathLength, Double_t StepSize);
34 Double_t
GetFinalEnergy(Double_t InitialEnergy, Double_t PathLength, Double_t StepSize);
35 Double_t
GetDistance(Double_t InitialE, Double_t FinalE, Double_t StepSize);
36 Double_t
GetPathLength(Float_t InitialEnergy, Float_t FinalEnergy, Float_t DeltaT);
38 Double_t
GetTimeOfFlight(Double_t InitialEnergy, Double_t PathLength, Double_t StepSize);
40 void InitializeLookupTables(Double_t MaximumEnergy, Double_t MaximumDistance, Double_t DeltaE, Double_t DeltaD);
45 std::shared_ptr<TGraph> EvD;
47 Double_t c{29.9792458};
50 std::vector<Double_t> IonEnergy;
51 std::vector<Double_t> dEdx_e;
52 std::vector<Double_t> dEdx_n;
53 std::vector<Double_t> Range;
55 Double_t fMaximumEnergy{};
56 Double_t fMaximumDistance{};
60 std::vector<Double_t> EtoDtab;
61 std::vector<Double_t> DtoEtab;
67 Bool_t Energy_in_range{
true};
68 Bool_t GoodELossFile{
false};