#include <TriggerEfficiencyPlotsBase.h>
icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::PlotCategory |
( |
std::string |
name, |
|
|
std::string |
descr = {} , |
|
|
QualifyFunc_t && |
test = [](EventInfo_t const&){ return true; } |
|
) |
| |
|
inline |
Constructor from category name and test function.
Definition at line 1166 of file TriggerEfficiencyPlotsBase.h.
std::string const & name() const
Returns the name of the category.
Information about the event.
bool test(EventInfo_t const &info) const
Returns whether the event belong to this category.
std::function< bool(EventInfo_t const &)> QualifyFunc_t
Type of test function.
std::string const& icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::description |
( |
| ) |
const |
|
inline |
std::string const& icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::name |
( |
| ) |
const |
|
inline |
icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::operator std::string |
( |
| ) |
const |
|
inline |
bool icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::operator() |
( |
EventInfo_t const & |
info | ) |
const |
|
inline |
bool icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::test |
( |
EventInfo_t const & |
info | ) |
const |
|
inline |
std::string icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::fDescr |
|
private |
std::string icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::fName |
|
private |
QualifyFunc_t icarus::trigger::TriggerEfficiencyPlotsBase::PlotCategory::fTest |
|
private |
The documentation for this class was generated from the following file: