37 RbTupleManager(
int nprocess,
const char* filename,
const char* workdir =
".");
43 void init(
int nprocess,
const char* filename,
const char* workdir =
".");
63 int hadd(
bool deleteflag =
true);
Class to manage histograms defined in registered modules.
TFile * m_root
Histogram output file.
static RbTupleManager & Instance()
Access to singleton.
int hadd(bool deleteflag=true)
Functions to add up all histogram files.
std::string m_workdir
Name of working directory.
int terminate()
Function called by HistoManager module at the end.
std::string m_filename
Name of histogram output file.
int dump()
Function to dump histograms/tuples to the file.
void init(int nprocess, const char *filename, const char *workdir=".")
Global initialization.
const std::vector< Module * > & getHistDefiningModules() const
Return the list of modules that have defined histograms.
int begin(int pid)
Function called by HistoManager module for the first event.
int m_nproc
Number of parallel processes.
void register_module(Module *)
Functions called by analysis modules in mother process.
std::vector< Module * > m_histdefs
registered HistoModules.
static RbTupleManager * s_instance
singleton instance.
Abstract base class for different kinds of events.