4 #include "G4EmStandardPhysics.hh"
5 #include "G4DecayPhysics.hh"
6 #include "G4EmExtraPhysics.hh"
7 #include "G4IonPhysics.hh"
8 #include "G4StoppingPhysics.hh"
9 #include "G4HadronElasticPhysics.hh"
10 #include "G4NeutronTrackingCut.hh"
11 #include "G4HadronicProcessStore.hh"
13 #include "G4HadronPhysicsQGSP_BERT.hh"
16 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
17 bool emPhys =
p.getUntrackedParameter<
bool>(
"EMPhysics",
true);
18 bool hadPhys =
p.getUntrackedParameter<
bool>(
"HadPhysics",
true);
19 bool tracking =
p.getParameter<
bool>(
"TrackingCut");
20 edm::LogInfo(
"PhysicsList") <<
"You are using the simulation engine: "
21 <<
"QGSP_BERT \n Flags for EM Physics " << emPhys <<
", for Hadronic Physics " << hadPhys
26 RegisterPhysics(
new G4EmStandardPhysics(ver));
29 G4EmExtraPhysics* gn =
new G4EmExtraPhysics(ver);
34 this->RegisterPhysics(
new G4DecayPhysics(ver));
37 G4HadronicProcessStore::Instance()->SetVerbose(ver);
40 RegisterPhysics(
new G4HadronElasticPhysics(ver));
43 RegisterPhysics(
new G4HadronPhysicsQGSP_BERT(ver));
46 RegisterPhysics(
new G4StoppingPhysics(ver));
49 RegisterPhysics(
new G4IonPhysics(ver));
53 RegisterPhysics(
new G4NeutronTrackingCut(ver));