8 if(configfile!=
"") m_variables.Initialise(configfile);
15 bool use_stopwatch =
false;
16 m_variables.Get(
"use_stopwatch", use_stopwatch);
28 Log(
"ERROR: outfilename configuration not found. Cancelling initialisation",
ERROR,
m_verbose);
34 fTreeRecon =
new TTree(
"reconTree",
"Reconstruction information");
73 ss <<
"DEBUG: Saving the result of " << nrecons <<
" reconstructions";
75 for(
int irecon = 0; irecon < nrecons; irecon++) {
100 for(
int i = 0; i < 3; i++)
102 for(
int i = 0; i < 2; i++)
std::string Result(std::string method_name, std::string output_file="")
Pos3D GetVertex(int irecon)
TimeDelta GetTime(int irecon)
DirectionEuler GetDirectionEuler(int irecon)
Reconstructer_t fRTReconstructer
CherenkovCone GetCherenkovCone(int irecon)
Reconstructer_t GetReconstructer(int irecon)
void Start()
Start the stopwatch.
StopwatchTimes Stop()
Stop the stopwatch, returning the CPU time.
double GetGoodnessOfFit(int irecon)
double GetDirectionLikelihood(int irecon)
int GetTriggerNum(int irecon)
double fRTGoodnessOfTimeFit
double fRTDirectionEuler[3]
std::string m_stopwatch_file
Image filename to save the histogram to, if required.
double fRTDirectionLikelihood
double fRTCherenkovCone[2]
bool Initialise(std::string configfile, DataModel &data)
static const TimeDelta ns
TimeDelta of 1 ns.
double GetGoodnessOfTimeFit(int irecon)
void StreamToLog(int level)
std::string fInputFilterName
void Log(const std::string &message, const int message_level)
Format messages in the same way as for tools.
util::Stopwatch * m_stopwatch
The stopwatch, if we're using one.
bool GetHasDirection(int irecon)
double GetEnergy(int irecon)