#include <CustomPhysics.h>
Definition at line 7 of file CustomPhysics.h.
Definition at line 17 of file CustomPhysics.cc.
References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
21 double timeLimit = p.
getParameter<
double>(
"MaxTrackTime") * ns;
22 edm::LogInfo(
"PhysicsList") <<
"You are using the simulation engine: "
23 <<
"FTFP_BERT_EMM for regular particles \n"
24 <<
"CustomPhysicsList " << ssPhys <<
" for exotics; "
25 <<
" tracking cut " << tracking <<
" t(ns)= " << timeLimit / ns;
30 RegisterPhysics(
new G4EmExtraPhysics(ver));
33 RegisterPhysics(
new G4DecayPhysics(ver));
36 RegisterPhysics(
new G4HadronElasticPhysics(ver));
42 RegisterPhysics(
new G4StoppingPhysics(ver));
45 RegisterPhysics(
new G4IonPhysics(ver));
49 G4NeutronTrackingCut* ncut =
new G4NeutronTrackingCut(ver);
50 ncut->SetTimeLimit(timeLimit);
51 RegisterPhysics(ncut);
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)
Log< level::Info, false > LogInfo
T getParameter(std::string const &) const