#include <TriggerResultsByName.h>
Public Member Functions | |
bool | accept () const |
bool | accept (std::string const &pathName) const |
bool | accept (unsigned i) const |
HLTPathStatus const & | at (std::string const &pathName) const |
HLTPathStatus const & | at (unsigned i) const |
bool | error () const |
bool | error (std::string const &pathName) const |
bool | error (unsigned i) const |
unsigned | index (std::string const &pathName) const |
unsigned | index (unsigned i) const |
bool | isValid () const |
HLTPathStatus const & | operator[] (std::string const &pathName) const |
HLTPathStatus const & | operator[] (unsigned i) const |
ParameterSetID const & | parameterSetID () const |
std::vector< std::string > ::size_type | size () const |
hlt::HLTState | state (std::string const &pathName) const |
hlt::HLTState | state (unsigned i) const |
unsigned | triggerIndex (std::string const &pathName) const |
std::string const & | triggerName (unsigned i) const |
std::vector< std::string > const & | triggerNames () const |
TriggerResultsByName (TriggerResults const *triggerResults, TriggerNames const *triggerNames) | |
bool | wasrun () const |
bool | wasrun (std::string const &pathName) const |
bool | wasrun (unsigned i) const |
Private Member Functions | |
unsigned | getAndCheckIndex (std::string const &pathName) const |
void | throwTriggerNamesMissing () const |
void | throwTriggerResultsMissing () const |
Private Attributes | |
TriggerNames const * | triggerNames_ |
TriggerResults const * | triggerResults_ |
Definition at line 48 of file TriggerResultsByName.h.
TriggerResultsByName::TriggerResultsByName | ( | TriggerResults const * | triggerResults, |
TriggerNames const * | triggerNames | ||
) |
Definition at line 10 of file TriggerResultsByName.cc.
References edm::hlt::Exception, edm::TriggerResults::parameterSetID(), edm::TriggerNames::parameterSetID(), edm::HLTGlobalStatus::size(), edm::TriggerNames::size(), triggerNames_, triggerResults_, and edm::errors::Unknown.
bool TriggerResultsByName::accept | ( | ) | const |
Definition at line 61 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::accept(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and HSCPHLTFilter::filter().
bool TriggerResultsByName::accept | ( | std::string const & | pathName | ) | const |
Definition at line 120 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::accept(), getAndCheckIndex(), i, throwTriggerResultsMissing(), and triggerResults_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply().
bool TriggerResultsByName::accept | ( | unsigned | i | ) | const |
Definition at line 128 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::accept(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply().
HLTPathStatus const & TriggerResultsByName::at | ( | std::string const & | pathName | ) | const |
Definition at line 75 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), getAndCheckIndex(), i, throwTriggerResultsMissing(), and triggerResults_.
HLTPathStatus const & TriggerResultsByName::at | ( | unsigned | i | ) | const |
Definition at line 83 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), throwTriggerResultsMissing(), and triggerResults_.
bool TriggerResultsByName::error | ( | ) | const |
Definition at line 68 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::error(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by argparse.ArgumentParser::_get_option_tuples(), python.rootplot.argparse.ArgumentParser::_get_option_tuples(), argparse.ArgumentParser::_parse_known_args(), python.rootplot.argparse.ArgumentParser::_parse_known_args(), argparse.ArgumentParser::_parse_optional(), python.rootplot.argparse.ArgumentParser::_parse_optional(), argparse.ArgumentParser::_read_args_from_files(), python.rootplot.argparse.ArgumentParser::_read_args_from_files(), argparse.ArgumentParser::add_subparsers(), python.rootplot.argparse.ArgumentParser::add_subparsers(), argparse.ArgumentParser::parse_args(), python.rootplot.argparse.ArgumentParser::parse_args(), argparse.ArgumentParser::parse_known_args(), and python.rootplot.argparse.ArgumentParser::parse_known_args().
bool TriggerResultsByName::error | ( | std::string const & | pathName | ) | const |
Definition at line 135 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::error(), getAndCheckIndex(), i, throwTriggerResultsMissing(), and triggerResults_.
Referenced by argparse.ArgumentParser::_get_option_tuples(), python.rootplot.argparse.ArgumentParser::_get_option_tuples(), argparse.ArgumentParser::_parse_known_args(), python.rootplot.argparse.ArgumentParser::_parse_known_args(), argparse.ArgumentParser::_parse_optional(), python.rootplot.argparse.ArgumentParser::_parse_optional(), argparse.ArgumentParser::_read_args_from_files(), python.rootplot.argparse.ArgumentParser::_read_args_from_files(), argparse.ArgumentParser::add_subparsers(), python.rootplot.argparse.ArgumentParser::add_subparsers(), argparse.ArgumentParser::parse_args(), python.rootplot.argparse.ArgumentParser::parse_args(), argparse.ArgumentParser::parse_known_args(), and python.rootplot.argparse.ArgumentParser::parse_known_args().
bool TriggerResultsByName::error | ( | unsigned | i | ) | const |
Definition at line 143 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::error(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by argparse.ArgumentParser::_get_option_tuples(), python.rootplot.argparse.ArgumentParser::_get_option_tuples(), argparse.ArgumentParser::_parse_known_args(), python.rootplot.argparse.ArgumentParser::_parse_known_args(), argparse.ArgumentParser::_parse_optional(), python.rootplot.argparse.ArgumentParser::_parse_optional(), argparse.ArgumentParser::_read_args_from_files(), python.rootplot.argparse.ArgumentParser::_read_args_from_files(), argparse.ArgumentParser::add_subparsers(), python.rootplot.argparse.ArgumentParser::add_subparsers(), argparse.ArgumentParser::parse_args(), python.rootplot.argparse.ArgumentParser::parse_args(), argparse.ArgumentParser::parse_known_args(), and python.rootplot.argparse.ArgumentParser::parse_known_args().
|
private |
Definition at line 211 of file TriggerResultsByName.cc.
References edm::hlt::Exception, i, edm::errors::LogicError, edm::TriggerNames::size(), throwTriggerNamesMissing(), edm::TriggerNames::triggerIndex(), and triggerNames_.
Referenced by accept(), at(), error(), index(), operator[](), state(), and wasrun().
unsigned TriggerResultsByName::index | ( | std::string const & | pathName | ) | const |
Definition at line 165 of file TriggerResultsByName.cc.
References getAndCheckIndex(), i, edm::HLTGlobalStatus::index(), throwTriggerResultsMissing(), and triggerResults_.
unsigned TriggerResultsByName::index | ( | unsigned | i | ) | const |
Definition at line 173 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::index(), throwTriggerResultsMissing(), and triggerResults_.
bool TriggerResultsByName::isValid | ( | void | ) | const |
Definition at line 40 of file TriggerResultsByName.cc.
References triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter().
HLTPathStatus const & TriggerResultsByName::operator[] | ( | std::string const & | pathName | ) | const |
Definition at line 90 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), getAndCheckIndex(), i, throwTriggerResultsMissing(), and triggerResults_.
HLTPathStatus const & TriggerResultsByName::operator[] | ( | unsigned | i | ) | const |
Definition at line 98 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), throwTriggerResultsMissing(), and triggerResults_.
ParameterSetID const & TriggerResultsByName::parameterSetID | ( | ) | const |
Definition at line 47 of file TriggerResultsByName.cc.
References edm::TriggerResults::parameterSetID(), throwTriggerResultsMissing(), and triggerResults_.
std::vector< std::string >::size_type TriggerResultsByName::size | ( | void | ) | const |
Definition at line 204 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::size(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by HSCPHLTFilter::filter().
hlt::HLTState TriggerResultsByName::state | ( | std::string const & | pathName | ) | const |
Definition at line 150 of file TriggerResultsByName.cc.
References getAndCheckIndex(), i, edm::HLTGlobalStatus::state(), throwTriggerResultsMissing(), and triggerResults_.
hlt::HLTState TriggerResultsByName::state | ( | unsigned | i | ) | const |
Definition at line 158 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::state(), throwTriggerResultsMissing(), and triggerResults_.
|
private |
Definition at line 236 of file TriggerResultsByName.cc.
References edm::hlt::Exception, and edm::errors::LogicError.
Referenced by getAndCheckIndex(), triggerIndex(), triggerName(), and triggerNames().
|
private |
Definition at line 225 of file TriggerResultsByName.cc.
References edm::hlt::Exception, and edm::errors::ProductNotFound.
Referenced by accept(), at(), error(), index(), operator[](), parameterSetID(), size(), state(), triggerIndex(), triggerName(), triggerNames(), and wasrun().
unsigned TriggerResultsByName::triggerIndex | ( | std::string const & | pathName | ) | const |
Definition at line 196 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerIndex(), triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter().
std::string const & TriggerResultsByName::triggerName | ( | unsigned | i | ) | const |
Definition at line 188 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerName(), triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter().
std::vector< std::string > const & TriggerResultsByName::triggerNames | ( | ) | const |
Definition at line 180 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerNames(), triggerNames_, and triggerResults_.
bool TriggerResultsByName::wasrun | ( | ) | const |
Definition at line 54 of file TriggerResultsByName.cc.
References throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
bool TriggerResultsByName::wasrun | ( | std::string const & | pathName | ) | const |
Definition at line 105 of file TriggerResultsByName.cc.
References getAndCheckIndex(), i, throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
bool TriggerResultsByName::wasrun | ( | unsigned | i | ) | const |
Definition at line 113 of file TriggerResultsByName.cc.
References throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
|
private |
Definition at line 114 of file TriggerResultsByName.h.
Referenced by getAndCheckIndex(), isValid(), triggerIndex(), triggerName(), triggerNames(), and TriggerResultsByName().
|
private |
Definition at line 113 of file TriggerResultsByName.h.
Referenced by accept(), at(), error(), index(), isValid(), operator[](), parameterSetID(), size(), state(), triggerIndex(), triggerName(), triggerNames(), TriggerResultsByName(), and wasrun().