#include <QGSPCMS_FTFP_BERT_EMY.h>
Definition at line 14 of file QGSPCMS_FTFP_BERT_EMY.h.
Definition at line 17 of file QGSPCMS_FTFP_BERT_EMY.cc.
References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().
22 double timeLimit = p.
getParameter<
double>(
"MaxTrackTime") * CLHEP::ns;
23 double minFTFP = p.
getParameter<
double>(
"EminFTFP") * CLHEP::GeV;
24 double maxBERT = p.
getParameter<
double>(
"EmaxBERT") * CLHEP::GeV;
25 double minQGSP = p.
getParameter<
double>(
"EminQGSP") * CLHEP::GeV;
26 double maxFTFP = p.
getParameter<
double>(
"EmaxFTFP") * CLHEP::GeV;
27 double maxBERTpi = p.
getParameter<
double>(
"EmaxBERTpi") * CLHEP::GeV;
29 <<
"QGSP_FTFP_BERT_EMY \n Flags for EM Physics " << emPhys
30 <<
", for Hadronic Physics " << hadPhys <<
" and tracking cut " << tracking
31 <<
" t(ns)= " << timeLimit / CLHEP::ns <<
"\n transition energy Bertini/FTFP from "
32 << minFTFP / CLHEP::GeV <<
" to " << maxBERTpi / CLHEP::GeV <<
":"
33 << maxBERT / CLHEP::GeV <<
" GeV"
34 <<
"\n transition energy FTFP/QGSP from " << minQGSP / CLHEP::GeV <<
" to "
35 << maxFTFP / CLHEP::GeV <<
" GeV";
39 RegisterPhysics(
new G4EmStandardPhysics_option3(ver));
40 G4EmParameters::Instance()->SetMscStepLimitType(fUseSafetyPlus);
43 G4EmExtraPhysics* gn =
new G4EmExtraPhysics(ver);
48 RegisterPhysics(
new G4DecayPhysics(ver));
51 G4HadronicProcessStore::Instance()->SetVerbose(ver);
54 RegisterPhysics(
new G4HadronElasticPhysics(ver));
60 RegisterPhysics(
new G4StoppingPhysics(ver));
63 RegisterPhysics(
new G4IonPhysics(ver));
67 G4NeutronTrackingCut* ncut =
new G4NeutronTrackingCut(ver);
68 ncut->SetTimeLimit(timeLimit);
69 RegisterPhysics(ncut);
Log< level::Info, true > LogVerbatim
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(const edm::ParameterSet &p)
T getParameter(std::string const &) const