Class managing the serialization of plot information in a simple ROOT tree. More...
#include <TriggerEfficiencyPlotsBase.h>
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 icarus::trigger::details::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 249 of file TriggerEfficiencyPlotsBase.h.
PlotInfoTree::PlotInfoTree | ( | TTree & | tree | ) |
Creates the required branches and assigns addresses to them.
Definition at line 391 of file TriggerEfficiencyPlotsBase.cxx.
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 401 of file TriggerEfficiencyPlotsBase.cxx.
Bool_t icarus::trigger::details::PlotInfoTree::fInPlots |
Definition at line 260 of file TriggerEfficiencyPlotsBase.h.