8 #ifndef Pythia8_VinciaDiagnostics_H 9 #define Pythia8_VinciaDiagnostics_H 11 #include "Pythia8/UserHooks.h" 30 void start(
string name);
33 void stop(
string name,
string counter =
"",
double inc = 1);
40 map<string, bool> isRunning;
41 map<string, clock_t> startTime;
42 map<string, double> nStarts, nRestarts;
43 map<string, double> runTime;
44 map<string, Hist> hRunTime;
45 map<string, map<string, double> > counters;
void print()
Print diagnostics.
Definition: VinciaDiagnostics.cc:78
void increment(string methodName, string variableName, double inc=1)
Define and increment a counter (default is increment by 1).
Definition: VinciaDiagnostics.cc:24
void stop(string name, string counter="", double inc=1)
Called when "name" stops.
Definition: VinciaDiagnostics.cc:58
Vincia diagnostics.
Definition: VinciaDiagnostics.h:19
void init()
Initialise.
Definition: VinciaDiagnostics.h:24
std::string methodName(const std::string &prettyFunction, bool withNamespace=false)
end PYTHIA_FUNCTION
Definition: PythiaStdlib.h:283
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20
UserHooks is base class for user access to program execution.
Definition: UserHooks.h:32
void start(string name)
Called when "name" starts.
Definition: VinciaDiagnostics.cc:40