#include <CustomPhysics.h>
Definition at line 7 of file CustomPhysics.h.
◆ CustomPhysics()
Definition at line 17 of file CustomPhysics.cc.
18 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
19 bool tracking =
p.getParameter<
bool>(
"TrackingCut");
20 bool ssPhys =
p.getUntrackedParameter<
bool>(
"ExoticaPhysicsSS",
false);
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));
39 RegisterPhysics(
new G4HadronPhysicsFTFP_BERT(ver));
42 RegisterPhysics(
new G4StoppingPhysics(ver));
45 RegisterPhysics(
new G4IonPhysics(ver));
49 G4NeutronTrackingCut* ncut =
new G4NeutronTrackingCut(ver);
50 ncut->SetTimeLimit(timeLimit);
51 RegisterPhysics(ncut);
References AlCaHLTBitMon_ParallelJobs::p.