4 #include "G4EmStandardPhysics_option3.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" 12 #include "G4EmParameters.hh" 14 #include "G4HadronPhysicsFTFP_BERT.hh" 21 double timeLimit = p.
getParameter<
double>(
"MaxTrackTime") * CLHEP::ns;
23 <<
"FTFP_BERT_EMY \n Flags for EM Physics " << emPhys <<
", for Hadronic Physics " 24 << hadPhys <<
" and tracking cut " << tracking
25 <<
" t(ns)= " << timeLimit / CLHEP::ns;
29 RegisterPhysics(
new G4EmStandardPhysics_option3(ver));
30 G4EmParameters::Instance()->SetMscStepLimitType(fUseSafetyPlus);
33 G4EmExtraPhysics* gn =
new G4EmExtraPhysics(ver);
38 this->RegisterPhysics(
new G4DecayPhysics(ver));
41 G4HadronicProcessStore::Instance()->SetVerbose(ver);
44 RegisterPhysics(
new G4HadronElasticPhysics(ver));
47 RegisterPhysics(
new G4HadronPhysicsFTFP_BERT(ver));
50 RegisterPhysics(
new G4StoppingPhysics(ver));
53 RegisterPhysics(
new G4IonPhysics(ver));
57 RegisterPhysics(
new G4NeutronTrackingCut(ver));
FTFPCMS_BERT_EMY(const edm::ParameterSet &p)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const