196 def EndOfRunAction(self, run):
197 global debug,nevTot
198 print("*** End of Run")
199 print("- Run summary : (id= %d, #events= %d)" \
200 % (run.GetRunID(), nevTot))
201 h['ntuple'].Fill(-1., float(nevTot) )
202 h['ntuple'].Write()
203 print('lepton masses used')
204 for l in leptons:
205 G4particle = G4PrimaryParticle( l )
206 G4def = G4particle.GetParticleDefinition()
207 print(l, G4def.GetParticleName(), G4particle.GetMass())
208
209