Geant4
10.01.p01
|
#include <G4TrialsCounter.hh>
Public Member Functions | |
G4TrialsCounter (const G4String &nameStats, const G4String &description, G4bool printOnExit=false) | |
~G4TrialsCounter () | |
void | AccumulateCounts (G4int noTrials) |
void | ClearCounts () |
G4int | ReturnTotals (G4int &calls, G4int &maxTrials, G4int &numMaxT) |
void | PrintStatistics () |
Private Attributes | |
G4int | fTotalNoTrials |
G4int | fNumberCalls |
G4int | fmaxTrials |
G4int | fNoTimesMaxTrials |
G4String | fName |
G4String | fDescription |
G4bool | fStatsVerbose |
G4bool | fPrinted |
Definition at line 46 of file G4TrialsCounter.hh.
G4TrialsCounter::G4TrialsCounter | ( | const G4String & | nameStats, |
const G4String & | description, | ||
G4bool | printOnExit = false |
||
) |
Definition at line 39 of file G4TrialsCounter.cc.
References ClearCounts().
G4TrialsCounter::~G4TrialsCounter | ( | ) |
Definition at line 48 of file G4TrialsCounter.cc.
References fPrinted, fStatsVerbose, and PrintStatistics().
|
inline |
void G4TrialsCounter::ClearCounts | ( | ) |
Definition at line 68 of file G4TrialsCounter.cc.
References fmaxTrials, fNoTimesMaxTrials, fNumberCalls, and fTotalNoTrials.
Referenced by G4TrialsCounter().
void G4TrialsCounter::PrintStatistics | ( | ) |
Definition at line 54 of file G4TrialsCounter.cc.
References fDescription, fmaxTrials, fName, fNoTimesMaxTrials, fNumberCalls, fPrinted, fTotalNoTrials, G4cout, and G4endl.
Referenced by ~G4TrialsCounter().
Definition at line 77 of file G4TrialsCounter.cc.
References fmaxTrials, fNoTimesMaxTrials, fNumberCalls, and fTotalNoTrials.
|
private |
Definition at line 71 of file G4TrialsCounter.hh.
Referenced by PrintStatistics().
|
private |
Definition at line 67 of file G4TrialsCounter.hh.
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().
|
private |
Definition at line 70 of file G4TrialsCounter.hh.
Referenced by PrintStatistics().
|
private |
Definition at line 68 of file G4TrialsCounter.hh.
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().
|
private |
Definition at line 66 of file G4TrialsCounter.hh.
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().
|
private |
Definition at line 73 of file G4TrialsCounter.hh.
Referenced by PrintStatistics(), and ~G4TrialsCounter().
|
private |
Definition at line 72 of file G4TrialsCounter.hh.
Referenced by ~G4TrialsCounter().
|
private |
Definition at line 65 of file G4TrialsCounter.hh.
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().