![]() |
ATLAS Offline Software
|
helper class to pass variables to fillers More...
#include <HistogramFiller.h>
Public Member Functions | |
| VariablesPack ()=default | |
| VariablesPack (const std::initializer_list< const Monitored::IMonitoredVariable * > &v) | |
| const Monitored::IMonitoredVariable * | operator[] (std::size_t i) const |
| get monitored variable at given index | |
| size_t | size () const |
| number of variables in the pack ( not counting the weight and mask ) | |
| void | set (unsigned index, const IMonitoredVariable *ptr) |
| sets monitored variable at the index (may need to resize vector of variables) | |
| std::vector< std::string > | names () const |
| names of all variables stored | |
Public Attributes | |
| const Monitored::IMonitoredVariable * | weight = nullptr |
| pointer to weight variable, typically absent | |
| const Monitored::IMonitoredVariable * | cut = nullptr |
| pointer to cut mask variable, typically absent | |
Private Attributes | |
| boost::container::small_vector< const Monitored::IMonitoredVariable *, 3 > | m_var |
| Vector with small buffer optimization to avoid dynamic allocation for the most common case of histograms with a maximum of 3 variables. | |
helper class to pass variables to fillers
Definition at line 72 of file HistogramFiller.h.
|
default |
|
inline |
Definition at line 74 of file HistogramFiller.h.
|
inline |
names of all variables stored
Definition at line 104 of file HistogramFiller.h.
|
inline |
get monitored variable at given index
Definition at line 80 of file HistogramFiller.h.
|
inline |
sets monitored variable at the index (may need to resize vector of variables)
Definition at line 94 of file HistogramFiller.h.
|
inline |
number of variables in the pack ( not counting the weight and mask )
Definition at line 87 of file HistogramFiller.h.
| const Monitored::IMonitoredVariable* Monitored::HistogramFiller::VariablesPack::cut = nullptr |
pointer to cut mask variable, typically absent
Definition at line 113 of file HistogramFiller.h.
|
private |
Vector with small buffer optimization to avoid dynamic allocation for the most common case of histograms with a maximum of 3 variables.
Only 3D TEfficiency and TTress need more.
Definition at line 118 of file HistogramFiller.h.
| const Monitored::IMonitoredVariable* Monitored::HistogramFiller::VariablesPack::weight = nullptr |
pointer to weight variable, typically absent
Definition at line 112 of file HistogramFiller.h.