19#include "HistogramMeanFromFile.hh"
22#include "RunAnalysis.hh"
31 Analysis(
"Run.", nullptr,
"RunHistogramsMerged"),
37 bool perEntryAnalysis,
39 Analysis(
"Run.", chainIn,
"RunHistogramsMerged", perEntryAnalysis, debugIn),
43RunAnalysis::~RunAnalysis() noexcept
49 {std::cout << __METHOD_NAME__ << chain->GetEntries() <<
" " << std::endl;}
52 for (
int i = 0; i < chain->GetEntries(); ++i)
Base class for any TTree analysis.
bool debug
Whether debug print out is used or not.
HistogramMeanFromFile * histoSum
Merge of per event stored histograms.
void AccumulatePerEntryHistograms(long int entryNumber)
Accumulate means and variances for per entry histograms.
virtual void UserProcess()
Virtual function for user to overload and use. Does nothing by default.
Accumulator to merge pre-made per-entry histograms.
void Accumulate(BDSOutputROOTEventHistograms *hNew)
virtual void Process()
Operate on each entry in the run tree.
Run * run
Run object that data loaded from the file will be loaded into.
Class to overlay a run from a ROOT file with.
BDSOutputROOTEventHistograms * Histos
Member that ROOT can map file data to locally.