92 myParticleIterator->reset();
94 while ( (*myParticleIterator)() )
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;
G4FastSimulationPhysics(const G4String &name="FastSimP")
virtual void ConstructProcess()
void ActivateFastSimulation(const G4String &particleName)
virtual void ConstructParticle()
const char * name(G4int ptype)
const G4String & GetParticleName() const
static void ActivateFastSimulation(G4ProcessManager *pmanager)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4GLOB_DLL std::ostream G4cout
virtual ~G4FastSimulationPhysics()
const G4String & GetName() const
const G4String & GetProcessName() const
G4_DECLARE_PHYSCONSTR_FACTORY(G4FastSimulationPhysics)
G4ProcessManager * GetProcessManager() const
std::vector< G4String > fGeometries
G4VPhysicalVolume * GetWorldVolume() const
std::vector< G4String > fParticlesUnderFastSimulation
G4ProcessVector * GetProcessList() const