travex
|
A basic extention of the ROOT's TFile class to manage a set of user defined histogram containers (or any other ROOT objects if desired) by automatically arranging them in subdirectories. More...
#include <RootFile.h>
Public Member Functions | |
RootFile (ProgramOptions &prgOpts, Option_t *option="", const char *ftitle="", Int_t compress=1) | |
void | FillDerivedHists () |
For each histogram container calls the method of the same name in order to produce new histograms from already filled histograms. More... | |
const ProgramOptions & | GetPrgOptions () |
virtual void | Close (Option_t *option="") |
void | SaveAllAs (std::string prefix="./") |
Protected Attributes | |
HistContainers | fDirs |
A string-to-HistContainer map for convenient access to enclosed directories. More... | |
ProgramOptions & | fPrgOptions |
Command line arguments and options requested by the user. More... | |
A basic extention of the ROOT's TFile class to manage a set of user defined histogram containers (or any other ROOT objects if desired) by automatically arranging them in subdirectories.
This simple helper class can use options provided by the user in the command line and aggregated by tvx::ProgramOptions.
Definition at line 25 of file RootFile.h.
RootFile::RootFile | ( | ProgramOptions & | prgOpts, |
Option_t * | option = "" , |
||
const char * | ftitle = "" , |
||
Int_t | compress = 1 |
||
) |
Definition at line 16 of file RootFile.cxx.
|
virtual |
Definition at line 51 of file RootFile.cxx.
void RootFile::FillDerivedHists | ( | ) |
For each histogram container calls the method of the same name in order to produce new histograms from already filled histograms.
Definition at line 33 of file RootFile.cxx.
|
inline |
Definition at line 32 of file RootFile.h.
void RootFile::SaveAllAs | ( | std::string | prefix = "./" | ) |
Definition at line 61 of file RootFile.cxx.
|
protected |
A string-to-HistContainer map for convenient access to enclosed directories.
Definition at line 40 of file RootFile.h.
|
protected |
Command line arguments and options requested by the user.
Definition at line 43 of file RootFile.h.