17#include <G4SystemOfUnits.hh>
19#include "G4PhysListFactory.hh"
32 G4PhysListFactory phyListFactory;
33 const std::vector<G4String>& availablePhysLists =
34 phyListFactory.AvailablePhysLists();
37 for (G4int i = 0; i < G4int(availablePhysLists.size()); ++i) {
38 selections += availablePhysLists[i];
51 G4PhysListFactory phyListFactory;
52 const std::vector<G4String>& availablePhysListsEM =
53 phyListFactory.AvailablePhysListsEM();
56 for (G4int i = 0; i < G4int(availablePhysListsEM.size()); ++i) {
57 selections += availablePhysListsEM[i];
69 G4PhysListFactory physListFactory;
70 return physListFactory.IsReferencePhysList(selection);
109 G4PhysListFactory phyListFactory;
111 fPhysicsList = phyListFactory.GetReferencePhysList(sel);
136 G4cout <<
"### Hadron physics constructed. " << G4endl;
166 defaultCutValue = value;
Definition of the TG4HadronPhysicsList class.
virtual void ConstructProcess()
void Configure(const G4String &selection)
virtual ~TG4HadronPhysicsList()
G4VUserPhysicsList * fPhysicsList
the physics list according to user selection
void SetRangeCut(G4double value)
static G4String AvailableHadronSelections()
static G4String AvailableEMSelections()
virtual G4int VerboseLevel() const
virtual void ConstructParticle()
TG4HadronPhysicsList(const G4String &selection)
static const G4double fgkDefaultCutValue
default cut value
static G4bool IsAvailableSelection(const G4String &selection)
Base class for defining the verbose level and a common messenger.
virtual G4int VerboseLevel() const