83 myParticleIterator->reset();
85 while ( (*myParticleIterator)() )
109 myParticleIterator->reset();
111 while ( (*myParticleIterator)() )
117 G4bool isUnderFastSimulation(
false);
122 for (
size_t ip = 0 ; ip < vprocess->
size() ; ++ip)
128 isUnderFastSimulation =
true;
132 processAndGeometryNames +=
"[geom:";
134 processAndGeometryNames +=
"] ";
138 processAndGeometryNames +=
"\n ";
140 processAndGeometryNames +=
"[geom:";
142 processAndGeometryNames +=
"] ";
147 if ( isUnderFastSimulation )
G4cout << std::setw(14) << particleName <<
" : " << processAndGeometryNames <<
G4endl;
G4_DECLARE_PHYSCONSTR_FACTORY(G4FastSimulationPhysics)
G4GLOB_DLL std::ostream G4cout
static void ActivateFastSimulation(G4ProcessManager *pmanager, G4String parallelGeometryName="")
G4VPhysicalVolume * GetWorldVolume() const
virtual ~G4FastSimulationPhysics()
virtual void ConstructProcess()
G4FastSimulationPhysics(const G4String &name="FastSimP")
std::vector< G4String > fGeometries
void ActivateFastSimulation(const G4String particleName, const G4String parallelGeometryName="")
virtual void ConstructParticle()
std::vector< G4String > fParticlesUnderFastSimulation
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
G4ProcessVector * GetProcessList() const
const G4String & GetName() const
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
const G4String & GetProcessName() const
const char * name(G4int ptype)