#include <ParametrisedPhysics.h>
Definition at line 13 of file ParametrisedPhysics.h.
ParametrisedPhysics::ParametrisedPhysics |
( |
std::string |
name, |
|
|
const edm::ParameterSet & |
p |
|
) |
| |
ParametrisedPhysics::~ParametrisedPhysics |
( |
| ) |
|
|
virtual |
void ParametrisedPhysics::ConstructParticle |
( |
| ) |
|
|
protectedvirtual |
Definition at line 32 of file ParametrisedPhysics.cc.
34 G4LeptonConstructor pLeptonConstructor;
35 pLeptonConstructor.ConstructParticle();
37 G4MesonConstructor pMesonConstructor;
38 pMesonConstructor.ConstructParticle();
40 G4BaryonConstructor pBaryonConstructor;
41 pBaryonConstructor.ConstructParticle();
43 G4ShortLivedConstructor pShortLivedConstructor;
44 pShortLivedConstructor.ConstructParticle();
46 G4IonConstructor pConstructor;
47 pConstructor.ConstructParticle();
void ParametrisedPhysics::ConstructProcess |
( |
| ) |
|
|
protectedvirtual |
Definition at line 50 of file ParametrisedPhysics.cc.
References edm::ParameterSet::getParameter(), ecalTB2006H4_GenSimDigiReco_cfg::GflashEMShowerModel, unpackData-CaloStage2::pname, ParametrisedPhysics::ThreadPrivate::theEMShowerModel, ParametrisedPhysics::ThreadPrivate::theHadronShowerModel, ParametrisedPhysics::ThreadPrivate::theHadShowerModel, theParSet, and tpdata.
52 tpdata =
new ThreadPrivate;
59 G4cout <<
"GFlash Construct: " << gem <<
" " << ghad << G4endl;
62 G4FastSimulationManagerProcess * theFastSimulationManagerProcess =
63 new G4FastSimulationManagerProcess();
64 aParticleIterator->reset();
65 while ((*aParticleIterator)()) {
66 G4ParticleDefinition * particle = aParticleIterator->value();
67 G4ProcessManager * pmanager = particle->GetProcessManager();
68 G4String
pname = particle->GetParticleName();
69 if(pname ==
"e-" || pname ==
"e+") {
70 pmanager->AddProcess(theFastSimulationManagerProcess, -1, -1, 1);
75 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"EcalRegion");
78 G4cout <<
"EcalRegion is not defined !!!" << G4endl;
79 G4cout <<
"This means that GFlash will not be turned on." << G4endl;
86 G4cout <<
"GFlash is defined for EcalRegion" << G4endl;
90 G4Region* aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion");
92 G4cout <<
"HcalRegion is not defined !!!" << G4endl;
93 G4cout <<
"This means that GFlash will not be turned on." << G4endl;
100 G4cout <<
"GFlash is defined for HcalRegion" << G4endl;
T getParameter(std::string const &) const
tuple GflashEMShowerModel
edm::ParameterSet theParSet
GflashEMShowerModel * theEMShowerModel
GflashEMShowerModel * theHadShowerModel
GflashHadronShowerModel * theHadronShowerModel
static G4ThreadLocal ThreadPrivate * tpdata