#include <CustomPhysics.h>
Definition at line 7 of file CustomPhysics.h.
◆ CustomPhysics()
Definition at line 18 of file CustomPhysics.cc.
References AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
19 int ver =
p.getUntrackedParameter<
int>(
"Verbosity", 0);
20 bool tracking =
p.getParameter<
bool>(
"TrackingCut");
21 bool ssPhys =
p.getUntrackedParameter<
bool>(
"ExoticaPhysicsSS",
false);
22 bool dbrem =
p.getUntrackedParameter<
bool>(
"DBrem",
false);
23 double timeLimit =
p.getParameter<
double>(
"MaxTrackTime") * ns;
24 edm::LogInfo(
"PhysicsList") <<
"You are using the simulation engine: " 25 <<
"FTFP_BERT_EMM for regular particles \n" 26 <<
"CustomPhysicsList " << ssPhys <<
" for exotics; " 27 <<
" tracking cut " <<
tracking <<
" t(ns)= " << timeLimit / ns;
32 RegisterPhysics(
new G4EmExtraPhysics(ver));
35 RegisterPhysics(
new G4DecayPhysics(ver));
38 RegisterPhysics(
new G4HadronElasticPhysics(ver));
44 RegisterPhysics(
new G4StoppingPhysics(ver));
47 RegisterPhysics(
new G4IonPhysics(ver));
51 G4NeutronTrackingCut* ncut =
new G4NeutronTrackingCut(ver);
52 ncut->SetTimeLimit(timeLimit);
53 RegisterPhysics(ncut);
58 RegisterPhysics(
new APrimePhysics(
p.getUntrackedParameter<
double>(
"DBremMass"),
60 p.getUntrackedParameter<
double>(
"DBremBiasFactor")));
PhysicsList(const edm::ParameterSet &p)
Log< level::Info, false > LogInfo