17#ifndef RestCore_TRestGeant4PhysicsLists
18#define RestCore_TRestGeant4PhysicsLists
20#include <TRestMetadata.h>
37 TString GetPhysicsListOptionString(
const TString& physicsListName)
const;
39 std::vector<TString> fPhysicsLists;
40 std::vector<TString> fPhysicsListOptions;
42 Double_t fCutForElectron;
43 Double_t fCutForGamma;
44 Double_t fCutForPositron;
46 Double_t fCutForNeutron;
47 Double_t fMinEnergyRangeProductionCuts;
48 Double_t fMaxEnergyRangeProductionCuts;
50 std::vector<std::string> fIonLimitStepList;
53 inline Double_t GetCutForGamma()
const {
return fCutForGamma; }
54 inline Double_t GetCutForElectron()
const {
return fCutForElectron; }
55 inline Double_t GetCutForPositron()
const {
return fCutForPositron; }
56 inline Double_t GetCutForMuon()
const {
return fCutForMuon; }
57 inline Double_t GetCutForNeutron()
const {
return fCutForNeutron; }
59 std::vector<std::string> GetIonStepList()
const {
return fIonLimitStepList; }
61 inline Double_t GetMinimumEnergyProductionCuts()
const {
return fMinEnergyRangeProductionCuts; }
62 inline Double_t GetMaximumEnergyProductionCuts()
const {
return fMaxEnergyRangeProductionCuts; }
64 Int_t FindPhysicsList(
const TString& physicsListName)
const;
65 Bool_t PhysicsListExists(
const TString& physicsListName)
const;
67 TString GetPhysicsListOptionValue(
const TString& physicsListName,
const TString& option,
68 const TString& defaultValue =
"NotDefined")
const;
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void Initialize() override
Making default settings.