MCPcopy Create free account
hub / github.com/Geant4/geant4 / dumpStatistics

Method dumpStatistics

source/event/src/G4SmartTrackStack.cc:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#include "G4Track.hh"
34
35void G4SmartTrackStack::dumpStatistics()
36{
37 // Print to stderr so that we can split stats output from normal
38 // output of Geant4 which is typically being printed to stdout
39 for (G4int i=0; i<nTurn; ++i)
40 {
41 G4cerr << stacks[i]->GetNTrack() << " ";
42 G4cerr << stacks[i]->getTotalEnergy() << " ";
43 }
44 G4cerr << G4endl;
45}
46
47G4SmartTrackStack::G4SmartTrackStack()
48{

Callers

nothing calls this directly

Calls 2

GetNTrackMethod · 0.45
getTotalEnergyMethod · 0.45

Tested by

no test coverage detected