#include <CustomPhysics.h>
Definition at line 7 of file CustomPhysics.h.
Definition at line 18 of file CustomPhysics.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and muons2muons_cfi::photon.
19 G4DataQuestionaire it(
photon);
24 double timeLimit = p.
getParameter<
double>(
"MaxTrackTime") * ns;
25 edm::LogInfo(
"PhysicsList") <<
"You are using the simulation engine: " 26 <<
"FTFP_BERT_EMM for regular particles \n" 27 <<
"CustomPhysicsList " << ssPhys <<
" for exotics; " 28 <<
" tracking cut " << tracking <<
" t(ns)= " << timeLimit / ns;
33 RegisterPhysics(
new G4EmExtraPhysics(ver));
36 RegisterPhysics(
new G4DecayPhysics(ver));
39 RegisterPhysics(
new G4HadronElasticPhysics(ver));
42 RegisterPhysics(
new G4HadronPhysicsFTFP_BERT(ver));
45 RegisterPhysics(
new G4StoppingPhysics(ver));
48 RegisterPhysics(
new G4IonPhysics(ver));
52 G4NeutronTrackingCut* ncut =
new G4NeutronTrackingCut(ver);
53 ncut->SetTimeLimit(timeLimit);
54 RegisterPhysics(ncut);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)