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 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);
120
122 for (
size_t ip = 0 ; ip < vprocess->
size() ; ++ip)
123 {
126 if ( pb != nullptr )
127 {
128 isUnderFastSimulation = true;
129 if ( icount < 3 )
130 {
132 processAndGeometryNames += "[geom:";
134 processAndGeometryNames += "] ";
135 }
136 else
137 {
138 processAndGeometryNames += "\n ";
140 processAndGeometryNames += "[geom:";
142 processAndGeometryNames += "] ";
143 icount = 0;
144 }
145 }
146 }
147 if ( isUnderFastSimulation )
G4cout << std::setw(14) << particleName <<
" : " << processAndGeometryNames <<
G4endl;
148 }
149 }
150}
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