#include <G4TrialsCounter.hh>
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.
42 : fName(nameStats), fDescription(description),
43 fStatsVerbose(printOnExit), fPrinted(
false)
G4TrialsCounter::~G4TrialsCounter |
( |
| ) |
|
void G4TrialsCounter::AccumulateCounts |
( |
G4int |
noTrials | ) |
|
|
inline |
void G4TrialsCounter::ClearCounts |
( |
| ) |
|
void G4TrialsCounter::PrintStatistics |
( |
| ) |
|
Definition at line 54 of file G4TrialsCounter.cc.
58 <<
"Report of counts for " << fDescription <<
" : " <<
G4endl;
59 G4cout <<
"Stats for '" << fName <<
"' > "
60 <<
" No-trials= " << fTotalNoTrials
61 <<
" No-calls= " << fNumberCalls
62 <<
" Max-trial= " << fmaxTrials
63 <<
" no-max= " << fNoTimesMaxTrials
G4GLOB_DLL std::ostream G4cout
Definition at line 77 of file G4TrialsCounter.cc.
80 maxTrials= fmaxTrials;
81 numMaxT = fNoTimesMaxTrials;
83 return fTotalNoTrials;
The documentation for this class was generated from the following files: