4 #include "G4Electron.hh" 5 #include "G4ProcessManager.hh" 7 #include "G4BaryonConstructor.hh" 8 #include "G4IonConstructor.hh" 9 #include "G4LeptonConstructor.hh" 10 #include "G4MesonConstructor.hh" 11 #include "G4RegionStore.hh" 12 #include "G4ShortLivedConstructor.hh" 17 : G4VPhysicsConstructor(
name), theParSet(
p) {}
30 G4LeptonConstructor pLeptonConstructor;
31 pLeptonConstructor.ConstructParticle();
33 G4MesonConstructor pMesonConstructor;
34 pMesonConstructor.ConstructParticle();
36 G4BaryonConstructor pBaryonConstructor;
37 pBaryonConstructor.ConstructParticle();
39 G4ShortLivedConstructor pShortLivedConstructor;
40 pShortLivedConstructor.ConstructParticle();
42 G4IonConstructor pConstructor;
43 pConstructor.ConstructParticle();
55 G4cout <<
"GFlash Construct: " <<
gem <<
" " << ghad << G4endl;
60 G4ParticleTable *
table = G4ParticleTable::GetParticleTable();
64 G4ProcessManager *pmanager = particle->GetProcessManager();
65 const G4String &
pname = particle->GetParticleName();
72 G4Region *aRegion = G4RegionStore::GetInstance()->GetRegion(
"EcalRegion");
75 G4cout <<
"EcalRegion is not defined !!!" << G4endl;
76 G4cout <<
"This means that GFlash will not be turned on." << G4endl;
81 G4cout <<
"GFlash is defined for EcalRegion" << G4endl;
85 G4Region *aRegion = G4RegionStore::GetInstance()->GetRegion(
"HcalRegion");
87 G4cout <<
"HcalRegion is not defined !!!" << G4endl;
88 G4cout <<
"This means that GFlash will not be turned on." << G4endl;
93 G4cout <<
"GFlash is defined for HcalRegion" << G4endl;
T getParameter(std::string const &) const
void ConstructParticle() override
void ConstructProcess() override
ParametrisedPhysics(std::string name, const edm::ParameterSet &p)
~ParametrisedPhysics() override
edm::ParameterSet theParSet
G4FastSimulationManagerProcess * theFastSimulationManagerProcess
GflashEMShowerModel * theEMShowerModel
GflashEMShowerModel * theHadShowerModel
GflashHadronShowerModel * theHadronShowerModel
static G4ThreadLocal ThreadPrivate * tpdata
const std::vector< G4String > & PartNames() const