1 #ifndef REST_TRESTGEANT4PHYSICSINFO_H
2 #define REST_TRESTGEANT4PHYSICSINFO_H
17 std::map<Int_t, TString> fProcessNamesMap = {};
18 std::map<TString, Int_t> fProcessNamesReverseMap = {};
20 std::map<Int_t, TString> fParticleNamesMap = {};
21 std::map<TString, Int_t> fParticleNamesReverseMap = {};
23 std::map<TString, TString> fProcessTypesMap = {};
26 TString GetProcessName(Int_t
id)
const;
27 Int_t GetProcessID(
const TString& processName)
const;
28 void InsertProcessName(Int_t
id,
const TString& processName,
const TString& processType);
29 std::set<TString> GetAllParticles()
const;
31 TString GetParticleName(Int_t
id)
const;
32 Int_t GetParticleID(
const TString& processName)
const;
33 void InsertParticleName(Int_t
id,
const TString& particleName);
34 std::set<TString> GetAllProcesses()
const;
36 TString GetProcessType(
const TString& processName)
const;
37 std::set<TString> GetAllProcessTypes()
const;
44 void PrintProcesses()
const;
45 void PrintParticles()
const;
47 static Int_t GetProcessIDFromGeant4Process(
const G4VProcess*);