Class managing the serialization of plot information in a simple ROOT tree. More...
Public Member Functions | |
PlotInfoTree (TTree &tree) | |
Creates the required branches and assigns addresses to them. More... | |
void | assign (bool inPlots) |
Fills the information of the specified event. More... | |
Public Member Functions inherited from TreeHolder | |
TreeHolder ()=default | |
TreeHolder (TTree &tree) | |
TTree & | tree () |
TTree const & | tree () const |
Public Attributes | |
Bool_t | fInPlots |
Class managing the serialization of plot information in a simple ROOT tree.
The tree is supplied by the caller. This object will create the proper branches into the tree and assign addresses to them. Then it will assume they will stay assigned.
On assign()
, the branch addresses are assigned the values from the arguments. The tree is not Fill()
-ed.
The tree structure is: InPlots/O
, with a single branch per element.
Branches:
InPlots
(bool): the event was not filtered out before plotting (it may still belong to no category and eventually appear in no plot) Definition at line 475 of file TriggerEfficiencyPlots_module.cc.
PlotInfoTree::PlotInfoTree | ( | TTree & | tree | ) |
Creates the required branches and assigns addresses to them.
Definition at line 2492 of file TriggerEfficiencyPlots_module.cc.
void PlotInfoTree::assign | ( | bool | inPlots | ) |
Fills the information of the specified event.
inPlots | whether this event is plotted (as opposed to filtered out) |
Definition at line 2500 of file TriggerEfficiencyPlots_module.cc.
Bool_t PlotInfoTree::fInPlots |
Definition at line 486 of file TriggerEfficiencyPlots_module.cc.