80{
81
83 myParticleIterator->reset();
84
85 while ( (*myParticleIterator)() )
86 {
90
91
92 auto itr = std::find( fParticlesUnderFastSimulation.begin(),
93 fParticlesUnderFastSimulation.end(),
94 particleName );
95
96 if ( itr != fParticlesUnderFastSimulation.end() )
97 {
98 std::size_t ipos = itr - fParticlesUnderFastSimulation.begin();
99 G4String geometry = fGeometries[ipos];
102 }
103 }
104
105
106 if ( fVerbose )
107 {
108
109 myParticleIterator->reset();
110
111 while ( (*myParticleIterator)() )
112 {
116
117 G4bool isUnderFastSimulation(
false);
119
122 {
125 if ( pb != nullptr )
126 {
127 isUnderFastSimulation = true;
129 processAndGeometryNames += "[geom:";
131 processAndGeometryNames += "] ";
132 }
133 }
134 if ( isUnderFastSimulation )
G4cout << std::setw(14) << particleName <<
" : " << processAndGeometryNames <<
G4endl;
135 }
136 }
137}
G4GLOB_DLL std::ostream G4cout
static void ActivateFastSimulation(G4ProcessManager *pmanager, G4String parallelGeometryName="")
G4VPhysicalVolume * GetWorldVolume() const
G4ProcessManager * GetProcessManager() const
const G4String & GetParticleName() const
G4ProcessVector * GetProcessList() const
const G4String & GetName() const
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
const G4String & GetProcessName() const