7 #include "G4DecayPhysics.hh" 8 #include "G4EmExtraPhysics.hh" 9 #include "G4HadronElasticPhysics.hh" 10 #include "G4IonPhysics.hh" 11 #include "G4NeutronTrackingCut.hh" 12 #include "G4StoppingPhysics.hh" 19 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
20 bool emPhys =
p.getUntrackedParameter<
bool>(
"EMPhysics",
true);
21 bool hadPhys =
p.getUntrackedParameter<
bool>(
"HadPhysics",
true);
22 bool tracking =
p.getParameter<
bool>(
"TrackingCut");
25 edm::LogInfo(
"PhysicsList") <<
"You are using the obsolete simulation engine: " 26 <<
" GFlash with Flags for EM Physics " << emPhys <<
", for Hadronic Physics " << hadPhys
27 <<
" and tracking cut " <<
tracking <<
" with special region " <<
region;
36 RegisterPhysics(
new G4EmExtraPhysics(ver));
40 RegisterPhysics(
new G4DecayPhysics(ver));
44 RegisterPhysics(
new G4HadronElasticPhysics(ver));
49 RegisterPhysics(
new G4StoppingPhysics(ver));
52 RegisterPhysics(
new G4IonPhysics(ver));
56 RegisterPhysics(
new G4NeutronTrackingCut(ver));
static GflashHistogram * instance()
T getParameter(std::string const &) const
#define DEFINE_PHYSICSLIST(type)
void bookHistogram(std::string histFileName="gflash_histogram.root")
GFlash(const edm::ParameterSet &p)
Log< level::Info, false > LogInfo
GflashHistogram * theHisto
void setStoreFlag(bool flag)