#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.
21 G4DataQuestionaire it(
photon);
26 double timeLimit = p.
getParameter<
double>(
"MaxTrackTime")*ns;
27 edm::LogInfo(
"PhysicsList") <<
"You are using the simulation engine: " 28 <<
"FTFP_BERT_EMM for regular particles \n" 29 <<
"CustomPhysicsList " << ssPhys <<
" for exotics; " 30 <<
" tracking cut " << tracking <<
" t(ns)= " << timeLimit/ns;
35 RegisterPhysics(
new G4EmExtraPhysics(ver));
38 RegisterPhysics(
new G4DecayPhysics(ver));
41 RegisterPhysics(
new G4HadronElasticPhysics(ver));
44 RegisterPhysics(
new G4HadronPhysicsFTFP_BERT(ver));
47 RegisterPhysics(
new G4StoppingPhysics(ver));
50 RegisterPhysics(
new G4IonPhysics(ver));
54 G4NeutronTrackingCut* ncut=
new G4NeutronTrackingCut(ver);
55 ncut->SetTimeLimit(timeLimit);
56 RegisterPhysics(ncut);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)