#include <CustomPhysics.h>
Definition at line 7 of file CustomPhysics.h.
◆ CustomPhysics()
Definition at line 19 of file CustomPhysics.cc.
References AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
20 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
21 bool tracking =
p.getParameter<
bool>(
"TrackingCut");
22 bool ssPhys =
p.getUntrackedParameter<
bool>(
"ExoticaPhysicsSS",
false);
23 bool dbrem =
p.getUntrackedParameter<
bool>(
"DBrem",
false);
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));
45 RegisterPhysics(
new G4StoppingPhysics(ver));
48 RegisterPhysics(
new G4IonPhysics(ver));
52 G4NeutronTrackingCut* ncut =
new G4NeutronTrackingCut(ver);
53 ncut->SetTimeLimit(timeLimit);
54 RegisterPhysics(ncut);
59 RegisterPhysics(
new APrimePhysics(
p.getUntrackedParameter<
double>(
"DBremMass"),
61 p.getUntrackedParameter<
double>(
"DBremBiasFactor")));
PhysicsList(const edm::ParameterSet &p)
Log< level::Info, false > LogInfo