9 #include "G4ParticleTable.hh"
10 #include "G4FastSimulationManagerProcess.hh"
11 #include "G4ProcessManager.hh"
27 CHECK(ifs->initializeFastSim());
32 G4FastSimulationManagerProcess* fastSimManagerProcess =
new G4FastSimulationManagerProcess();
33 G4ParticleTable* theParticleTable = G4ParticleTable::GetParticleTable();
34 G4ParticleTable::G4PTblDicIterator* theParticleIterator = theParticleTable->GetIterator();
36 theParticleIterator->reset();
37 while( (*theParticleIterator)() ){
38 G4ProcessManager* pmanager = theParticleIterator->value()->GetProcessManager();
39 pmanager->AddProcess(fastSimManagerProcess, -1, 1, 1);
43 return StatusCode::SUCCESS;
50 CHECK(ifs->BeginOfAthenaEvent());
52 return StatusCode::SUCCESS;
58 CHECK(ifs->EndOfAthenaEvent());
60 return StatusCode::SUCCESS;