ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/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 = 0 |
G4int | fNumberCalls = 0 |
G4int | fmaxTrials = 0 |
G4int | fNoTimesMaxTrials = 0 |
G4String | fName |
G4String | fDescription |
G4bool | fStatsVerbose = false |
G4bool | fPrinted = false |
Definition at line 41 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 41 of file G4TrialsCounter.hh
G4TrialsCounter::G4TrialsCounter | ( | const G4String & | nameStats, |
const G4String & | description, | ||
G4bool | printOnExit = false |
||
) |
Definition at line 34 of file G4TrialsCounter.cc.
View newest version in sPHENIX GitHub at line 34 of file G4TrialsCounter.cc
References ClearCounts().
G4TrialsCounter::~G4TrialsCounter | ( | ) |
Definition at line 42 of file G4TrialsCounter.cc.
View newest version in sPHENIX GitHub at line 42 of file G4TrialsCounter.cc
References fPrinted, fStatsVerbose, and PrintStatistics().
void G4TrialsCounter::ClearCounts | ( | ) |
Definition at line 63 of file G4TrialsCounter.cc.
View newest version in sPHENIX GitHub at line 63 of file G4TrialsCounter.cc
References fmaxTrials, fNoTimesMaxTrials, fNumberCalls, and fTotalNoTrials.
Referenced by G4TrialsCounter().
void G4TrialsCounter::PrintStatistics | ( | ) |
Definition at line 48 of file G4TrialsCounter.cc.
View newest version in sPHENIX GitHub at line 48 of file G4TrialsCounter.cc
References fDescription, fmaxTrials, fName, fNoTimesMaxTrials, fNumberCalls, fPrinted, fTotalNoTrials, G4cout, and G4endl.
Referenced by ~G4TrialsCounter().
Definition at line 72 of file G4TrialsCounter.cc.
View newest version in sPHENIX GitHub at line 72 of file G4TrialsCounter.cc
References fmaxTrials, fNoTimesMaxTrials, fNumberCalls, and fTotalNoTrials.
|
private |
Definition at line 66 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 66 of file G4TrialsCounter.hh
Referenced by PrintStatistics().
|
private |
Definition at line 62 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 62 of file G4TrialsCounter.hh
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().
|
private |
Definition at line 65 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 65 of file G4TrialsCounter.hh
Referenced by PrintStatistics().
|
private |
Definition at line 63 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 63 of file G4TrialsCounter.hh
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().
|
private |
Definition at line 61 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 61 of file G4TrialsCounter.hh
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().
Definition at line 70 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 70 of file G4TrialsCounter.hh
Referenced by PrintStatistics(), and ~G4TrialsCounter().
Definition at line 68 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 68 of file G4TrialsCounter.hh
Referenced by ~G4TrialsCounter().
|
private |
Definition at line 60 of file G4TrialsCounter.hh.
View newest version in sPHENIX GitHub at line 60 of file G4TrialsCounter.hh
Referenced by ClearCounts(), PrintStatistics(), and ReturnTotals().