5 #include "G4EmStandardPhysics.hh" 6 #include "G4DecayPhysics.hh" 7 #include "G4EmExtraPhysics.hh" 8 #include "G4IonPhysics.hh" 9 #include "G4StoppingPhysics.hh" 10 #include "G4HadronElasticPhysics.hh" 13 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
14 bool emPhys =
p.getUntrackedParameter<
bool>(
"EMPhysics",
true);
15 bool hadPhys =
p.getUntrackedParameter<
bool>(
"HadPhysics",
true);
16 double minFTFP =
p.getParameter<
double>(
"EminFTFP") * CLHEP::GeV;
17 double maxBERT =
p.getParameter<
double>(
"EmaxBERT") * CLHEP::GeV;
18 double maxBERTpi =
p.getParameter<
double>(
"EmaxBERTpi") * CLHEP::GeV;
20 <<
"\n Flags for EM Physics: " << emPhys <<
"; Hadronic Physics: " << hadPhys
21 <<
"\n transition energy Bertini/FTFP from " << minFTFP / CLHEP::GeV <<
" to " 22 << maxBERT / CLHEP::GeV <<
":" << maxBERTpi / CLHEP::GeV <<
" GeV";
26 RegisterPhysics(
new G4EmStandardPhysics(ver));
29 G4EmExtraPhysics* gn =
new G4EmExtraPhysics(ver);
34 RegisterPhysics(
new G4DecayPhysics(ver));
38 RegisterPhysics(
new G4HadronElasticPhysics(ver));
44 RegisterPhysics(
new G4StoppingPhysics(ver));
47 RegisterPhysics(
new G4IonPhysics(ver));
Log< level::Info, true > LogVerbatim
FTFPCMS_BERT(const edm::ParameterSet &p)