49 ATH_MSG_INFO(
"Fast simulation initialization flag is set to false. Skipping fast simulation setup.");
53 ATH_MSG_INFO(
"ConstructProcess for FastSimulation being run");
55 G4FastSimulationManagerProcess* fastSimManagerProcess =
56 new G4FastSimulationManagerProcess;
57 G4ParticleTable* theParticleTable = G4ParticleTable::GetParticleTable();
58 G4ParticleTable::G4PTblDicIterator* theParticleIterator =
59 theParticleTable->GetIterator();
61 theParticleIterator->reset();
62 while ((*theParticleIterator)()) {
63 G4ParticleDefinition* particle = theParticleIterator->value();
64 G4ProcessManager* pmanager = particle->GetProcessManager();
66 pmanager->AddProcess(fastSimManagerProcess, -1, 1, 1);