83{
84 G4int nofEvents = run->GetNumberOfEvent();
85 if (nofEvents == 0) return;
86
87
89 accumulableManager->Merge();
90
91
92
93
95 G4RunManager::GetRunManager()->GetUserPrimaryGeneratorAction());
97 if (generatorAction)
98 {
100 = generatorAction->GetParticleGun()->GetParticleDefinition();
101 partName = particle->GetParticleName();
102 }
103
104
105
106 if (IsMaster())
107 {
108 G4cout
109 << G4endl
110 << "--------------------End of Global Run-----------------------"
111 << G4endl
112 << " The run was " << nofEvents << " events ";
113 }
114 else
115 {
116 G4cout
117 << G4endl
118 << "--------------------End of Local Run------------------------"
119 << G4endl
120 << " The run was " << nofEvents << " "<< partName;
121 }
122 G4cout
123 <<
"; Nb of 'good' e+ annihilations: " <<
fGoodEvents.GetValue() << G4endl
125 << G4endl
126 << "------------------------------------------------------------" << G4endl
127 << G4endl;
128}
The primary generator action class with particle gum.