6 #include "G4DecayPhysics.hh" 7 #include "G4EmStandardPhysics_option4.hh" 8 #include "G4EmExtraPhysics.hh" 9 #include "G4IonPhysics.hh" 10 #include "G4StoppingPhysics.hh" 11 #include "G4HadronElasticPhysics.hh" 14 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
15 bool emPhys =
p.getUntrackedParameter<
bool>(
"EMPhysics",
true);
16 bool hadPhys =
p.getUntrackedParameter<
bool>(
"HadPhysics",
true);
17 double minFTFP =
p.getParameter<
double>(
"EminFTFP") * CLHEP::GeV;
18 double maxBERT =
p.getParameter<
double>(
"EmaxBERT") * CLHEP::GeV;
19 double maxBERTpi =
p.getParameter<
double>(
"EmaxBERTpi") * CLHEP::GeV;
21 <<
"\n Flags for EM Physics: " << emPhys <<
"; Hadronic Physics: " << hadPhys
22 <<
"\n transition energy Bertini/FTFP from " << minFTFP / CLHEP::GeV <<
" to " 23 << maxBERT / CLHEP::GeV <<
":" << maxBERTpi / CLHEP::GeV <<
" GeV";
30 G4EmExtraPhysics* gn =
new G4EmExtraPhysics(ver);
35 this->RegisterPhysics(
new G4DecayPhysics(ver));
39 RegisterPhysics(
new G4HadronElasticPhysics(ver));
45 RegisterPhysics(
new G4StoppingPhysics(ver));
48 RegisterPhysics(
new G4IonPhysics(ver));
Log< level::Info, true > LogVerbatim
FTFPCMS_BERT_EMZ(const edm::ParameterSet &p)