76 fCutForGamma(1.*
mm), fCutForElectron(1.*
mm),
77 fCutForPositron(1.*
mm),
83 fPMessenger(0),fDetectorCuts(0), fTargetCuts(0)
107 delete fRaddecayList;
108 delete fEmPhysicsList;
109 if (fHadPhysicsList)
delete fHadPhysicsList;
111 for(
G4int i=0; i<fNhadcomp; i++) {
112 delete fHadronPhys[i];
136 for(
G4int i=0; i<fNhadcomp; i++) {
141 G4cout <<
"### exrdmPhysicsList::ConstructProcess is done" <<
G4endl;
150 G4cout <<
"exrdmPhysicsList::SelectPhysicsList: <" << name <<
">" <<
G4endl;
153 if (name ==
"Hadron" && !fHadPhysicsList) {
155 }
else if (name ==
"QGSP_BERT") {
156 AddExtraBuilders(
false);
158 }
else if (name ==
"QGSP_BIC" && !fHadPhysicsList) {
159 AddExtraBuilders(
false);
161 }
else if (name ==
"QGSP_BERT_HP" && !fHadPhysicsList) {
162 AddExtraBuilders(
true);
164 }
else if (name ==
"QGSP_BIC_HP" && !fHadPhysicsList) {
165 AddExtraBuilders(
true);
167 }
else if (name ==
"emlivermore") {
168 delete fEmPhysicsList;
170 }
else if (name ==
"empenelope") {
171 delete fEmPhysicsList;
173 }
else if (name ==
"emstandard") {
174 delete fEmPhysicsList;
176 }
else if (name ==
"emstandard_opt4") {
177 delete fEmPhysicsList;
180 G4cout <<
"exrdmPhysicsList WARNING wrong or unkonwn <"
181 << name <<
"> Physics " <<
G4endl;
187 void exrdmPhysicsList::AddExtraBuilders(
G4bool flagHP)
235 fCutForElectron = cut;
243 fCutForPositron = cut;
static G4LossTableManager * Instance()
void SetCutValue(G4double aCut, const G4String &pname)
Definition of the exrdmPhysListHadron class.
void SetProductionCut(G4double cut, G4int index=-1)
virtual ~exrdmPhysicsList()
void SetTargetCut(G4double val)
static G4RegionStore * GetInstance()
virtual void ConstructParticle()=0
void SetParticleCuts(G4double cut, G4ParticleDefinition *particle, G4Region *region=0)
void DumpCutValuesTable(G4int flag=1)
G4GLOB_DLL std::ostream G4cout
Definition of the exrdmPhysListParticles class.
void SetCutForElectron(G4double)
virtual void ConstructParticle()
Definition of the exrdmPhysicsListMessenger class.
void SetVerboseLevel(G4int value)
void SetDetectorCut(G4double val)
static G4Positron * Positron()
void SetCutForGamma(G4double)
virtual void ConstructProcess()
Definition of the exrdmPhysicsList class.
void SetCutForPositron(G4double)
virtual void ConstructProcess()=0
static G4Electron * Electron()
void SetProductionCuts(G4ProductionCuts *cut)
void SelectPhysicsList(const G4String &name)