Base class for a Watcher that fill a TTree or some branches of a TTree. More...
#include <TTreeWatchers.h>
Public Member Functions | |
Short_t | GetDoSpectra () const |
to know spectra mode for this watcher More... | |
Short_t | GetDoTree () const |
to know spectra mode for this watcher More... | |
virtual Int_t | GetNbConditions () const |
return the number of conditions registered in case this tree/branch has some More... | |
TTree * | GetTree () |
to get the current Tree More... | |
void | SetDoSpectra (Short_t do_spectra) |
to know spectra mode for this watcher More... | |
void | SetDoTree (Short_t do_tree) |
to know spectra mode for this watcher More... | |
TTreeBuilder (const char *name, const char *title, TTree *tree=0x0, Short_t do_spectra=2, Short_t do_tree=2, Bool_t Overwrite=false) | |
virtual | ~TTreeBuilder () |
Protected Member Functions | |
virtual void | FillTree () |
Fill the tree if it is the owner of the tree. More... | |
virtual void | SetBranches ()=0 |
Protected Attributes | |
Short_t | fDoSpectra |
Short_t | fDoTree |
Bool_t | fIsOwner |
TTree * | fMyTree |
Short_t | fNbConditions |
Static Protected Attributes | |
static TString | gDefaultPathOfOut = "./Out" |
some global strings to fix the Output directory where the Tree is to be written and its default name More... | |
static TString | gDefaultTTreeName = "TreeMaster" |
Base class for a Watcher that fill a TTree or some branches of a TTree.
Definition at line 51 of file TTreeWatchers.h.