Public Types | |
using | QualifyFunc_t = std::function< bool(EventInfo_t const &)> |
Type of test function. More... | |
Public Member Functions | |
PlotCategory (std::string name, std::string descr={}, QualifyFunc_t &&test=[](EventInfo_t const &){return true;}) | |
Constructor from category name and test function. More... | |
std::string const & | name () const |
Returns the name of the category. More... | |
std::string const & | description () const |
Returns the description of the category. More... | |
bool | test (EventInfo_t const &info) const |
Returns whether the event belong to this category. More... | |
operator std::string () const | |
bool | operator() (EventInfo_t const &info) const |
Private Attributes | |
std::string | fName |
std::string | fDescr |
QualifyFunc_t | fTest |
Definition at line 307 of file TriggerEfficiencyPlots_module.cc.
using PlotCategory::QualifyFunc_t = std::function<bool(EventInfo_t const&)> |
Type of test function.
Definition at line 312 of file TriggerEfficiencyPlots_module.cc.
|
inline |
Constructor from category name and test function.
Definition at line 316 of file TriggerEfficiencyPlots_module.cc.
|
inline |
Returns the description of the category.
Definition at line 327 of file TriggerEfficiencyPlots_module.cc.
|
inline |
|
inline |
Definition at line 332 of file TriggerEfficiencyPlots_module.cc.
|
inline |
Definition at line 333 of file TriggerEfficiencyPlots_module.cc.
|
inline |
Returns whether the event belong to this category.
Definition at line 330 of file TriggerEfficiencyPlots_module.cc.
|
private |
Definition at line 338 of file TriggerEfficiencyPlots_module.cc.
|
private |
Definition at line 337 of file TriggerEfficiencyPlots_module.cc.
|
private |
Definition at line 339 of file TriggerEfficiencyPlots_module.cc.