92 myParticleIterator->reset();
94 while ( (*myParticleIterator)() )
101 auto itr = std::find( fParticlesUnderFastSimulation.begin(),
102 fParticlesUnderFastSimulation.end(),
105 if ( itr != fParticlesUnderFastSimulation.end() )
107 size_t ipos = itr - fParticlesUnderFastSimulation.begin();
108 G4String geometry = fGeometries[ipos];
118 myParticleIterator->reset();
120 while ( (*myParticleIterator)() )
126 G4bool isUnderFastSimulation(
false);
131 for (
G4int ip = 0 ; ip < vprocess->
size() ; ip++)
137 isUnderFastSimulation =
true;
141 processAndGeometryNames +=
"[geom:";
143 processAndGeometryNames +=
"] ";
147 processAndGeometryNames +=
"\n ";
149 processAndGeometryNames +=
"[geom:";
151 processAndGeometryNames +=
"] ";
156 if ( isUnderFastSimulation )
G4cout << std::setw(14) << particleName <<
" : " << processAndGeometryNames <<
G4endl;
const G4String & GetParticleName() const
static void ActivateFastSimulation(G4ProcessManager *pmanager)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
const G4String & GetProcessName() const
G4ProcessManager * GetProcessManager() const
G4VPhysicalVolume * GetWorldVolume() const
G4ProcessVector * GetProcessList() const