#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 Exception, isValid(), 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(), error(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by accept(), Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), HSCPHLTFilter::filter(), esMonitoring.FDJsonServer::handle_accept(), HSCPValidator::makeHLTPlots(), and wasrun().
bool TriggerResultsByName::accept | ( | std::string const & | pathName | ) | const |
Definition at line 120 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::accept(), accept(), getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), and triggerResults_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().
bool TriggerResultsByName::accept | ( | unsigned | i | ) | const |
Definition at line 128 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::accept(), error(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().
HLTPathStatus const & TriggerResultsByName::at | ( | std::string const & | pathName | ) | const |
Definition at line 75 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), and triggerResults_.
Referenced by error().
HLTPathStatus const & TriggerResultsByName::at | ( | unsigned | i | ) | const |
Definition at line 83 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), operator[](), throwTriggerResultsMissing(), and triggerResults_.
bool TriggerResultsByName::error | ( | ) | const |
Definition at line 68 of file TriggerResultsByName.cc.
References at(), 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(), accept(), argparse.ArgumentParser::add_subparsers(), python.rootplot.argparse.ArgumentParser::add_subparsers(), Page1Parser.Page1Parser::check_for_whole_start_tag(), error(), 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(), error(), getAndCheckIndex(), mps_fire::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(), Page1Parser.Page1Parser::check_for_whole_start_tag(), 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(), state(), 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(), Page1Parser.Page1Parser::check_for_whole_start_tag(), 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 Exception, mps_fire::i, edm::errors::LogicError, edm::TriggerNames::size(), throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerIndex(), and triggerNames_.
Referenced by accept(), at(), error(), index(), operator[](), size(), state(), and wasrun().
unsigned TriggerResultsByName::index | ( | std::string const & | pathName | ) | const |
Definition at line 165 of file TriggerResultsByName.cc.
References getAndCheckIndex(), mps_fire::i, edm::HLTGlobalStatus::index(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by BeautifulSoup.PageElement::insert(), and state().
unsigned TriggerResultsByName::index | ( | unsigned | i | ) | const |
Definition at line 173 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::index(), throwTriggerResultsMissing(), triggerNames(), and triggerResults_.
Referenced by BeautifulSoup.PageElement::insert().
bool TriggerResultsByName::isValid | ( | void | ) | const |
Definition at line 40 of file TriggerResultsByName.cc.
References parameterSetID(), triggerNames_, and triggerResults_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), HSCPHLTFilter::filter(), HSCPValidator::makeHLTPlots(), core.AutoHandle.AutoHandle::ReallyLoad(), and TriggerResultsByName().
HLTPathStatus const & TriggerResultsByName::operator[] | ( | std::string const & | pathName | ) | const |
Definition at line 90 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), and triggerResults_.
Referenced by at().
HLTPathStatus const & TriggerResultsByName::operator[] | ( | unsigned | i | ) | const |
Definition at line 98 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), throwTriggerResultsMissing(), triggerResults_, and wasrun().
ParameterSetID const & TriggerResultsByName::parameterSetID | ( | ) | const |
Definition at line 47 of file TriggerResultsByName.cc.
References edm::TriggerResults::parameterSetID(), throwTriggerResultsMissing(), triggerResults_, and wasrun().
Referenced by isValid().
std::vector< std::string >::size_type TriggerResultsByName::size | ( | void | ) | const |
Definition at line 204 of file TriggerResultsByName.cc.
References getAndCheckIndex(), edm::HLTGlobalStatus::size(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HSCPHLTFilter::filter(), HSCPValidator::makeHLTPlots(), and triggerIndex().
hlt::HLTState TriggerResultsByName::state | ( | std::string const & | pathName | ) | const |
Definition at line 150 of file TriggerResultsByName.cc.
References getAndCheckIndex(), mps_fire::i, edm::HLTGlobalStatus::state(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by error().
hlt::HLTState TriggerResultsByName::state | ( | unsigned | i | ) | const |
Definition at line 158 of file TriggerResultsByName.cc.
References index(), edm::HLTGlobalStatus::state(), throwTriggerResultsMissing(), and triggerResults_.
|
private |
Definition at line 236 of file TriggerResultsByName.cc.
References Exception, and edm::errors::LogicError.
Referenced by getAndCheckIndex(), throwTriggerResultsMissing(), triggerIndex(), triggerName(), and triggerNames().
|
private |
Definition at line 225 of file TriggerResultsByName.cc.
References Exception, edm::errors::ProductNotFound, and throwTriggerNamesMissing().
Referenced by accept(), at(), error(), getAndCheckIndex(), 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 size(), throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerIndex(), triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter(), HSCPValidator::makeHLTPlots(), and triggerName().
std::string const & TriggerResultsByName::triggerName | ( | unsigned | i | ) | const |
Definition at line 188 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), triggerIndex(), edm::TriggerNames::triggerName(), triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter(), HSCPValidator::makeHLTPlots(), and triggerNames().
std::vector< std::string > const & TriggerResultsByName::triggerNames | ( | ) | const |
Definition at line 180 of file TriggerResultsByName.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, throwTriggerNamesMissing(), throwTriggerResultsMissing(), triggerName(), edm::TriggerNames::triggerNames(), triggerNames_, and triggerResults_.
Referenced by index().
bool TriggerResultsByName::wasrun | ( | ) | const |
Definition at line 54 of file TriggerResultsByName.cc.
References accept(), throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
Referenced by operator[](), parameterSetID(), and wasrun().
bool TriggerResultsByName::wasrun | ( | std::string const & | pathName | ) | const |
Definition at line 105 of file TriggerResultsByName.cc.
References getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), triggerResults_, edm::HLTGlobalStatus::wasrun(), and wasrun().
bool TriggerResultsByName::wasrun | ( | unsigned | i | ) | const |
Definition at line 113 of file TriggerResultsByName.cc.
References accept(), 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().