#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 9 of file TriggerResultsByName.cc.
References 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 52 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::accept(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), HSCPHLTFilter::filter(), esMonitoring.FDJsonServer::handle_accept(), and HSCPValidator::makeHLTPlots().
bool TriggerResultsByName::accept | ( | std::string const & | pathName | ) | const |
Definition at line 103 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::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 110 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 esMonitoring.FDJsonServer::handle_accept().
HLTPathStatus const & TriggerResultsByName::at | ( | std::string const & | pathName | ) | const |
Definition at line 64 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), and triggerResults_.
HLTPathStatus const & TriggerResultsByName::at | ( | unsigned | i | ) | const |
Definition at line 71 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), throwTriggerResultsMissing(), and triggerResults_.
bool TriggerResultsByName::error | ( | ) | const |
Definition at line 58 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::error(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
bool TriggerResultsByName::error | ( | std::string const & | pathName | ) | const |
Definition at line 116 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::error(), getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), and triggerResults_.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
bool TriggerResultsByName::error | ( | unsigned | i | ) | const |
Definition at line 123 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::error(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().
|
private |
Definition at line 185 of file TriggerResultsByName.cc.
References Exception, mps_fire::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 142 of file TriggerResultsByName.cc.
References getAndCheckIndex(), mps_fire::i, edm::HLTGlobalStatus::index(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by BeautifulSoup.PageElement::insert().
unsigned TriggerResultsByName::index | ( | unsigned | i | ) | const |
Definition at line 149 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::index(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by BeautifulSoup.PageElement::insert().
bool TriggerResultsByName::isValid | ( | void | ) | const |
Definition at line 34 of file TriggerResultsByName.cc.
References triggerNames_, and triggerResults_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), HSCPHLTFilter::filter(), HSCPValidator::makeHLTPlots(), and core.AutoHandle.AutoHandle::ReallyLoad().
HLTPathStatus const & TriggerResultsByName::operator[] | ( | std::string const & | pathName | ) | const |
Definition at line 77 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), and triggerResults_.
HLTPathStatus const & TriggerResultsByName::operator[] | ( | unsigned | i | ) | const |
Definition at line 84 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::at(), throwTriggerResultsMissing(), and triggerResults_.
ParameterSetID const & TriggerResultsByName::parameterSetID | ( | ) | const |
Definition at line 40 of file TriggerResultsByName.cc.
References edm::TriggerResults::parameterSetID(), throwTriggerResultsMissing(), and triggerResults_.
std::vector< std::string >::size_type TriggerResultsByName::size | ( | void | ) | const |
Definition at line 179 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::size(), throwTriggerResultsMissing(), and triggerResults_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), HSCPHLTFilter::filter(), and HSCPValidator::makeHLTPlots().
hlt::HLTState TriggerResultsByName::state | ( | std::string const & | pathName | ) | const |
Definition at line 129 of file TriggerResultsByName.cc.
References getAndCheckIndex(), mps_fire::i, edm::HLTGlobalStatus::state(), throwTriggerResultsMissing(), and triggerResults_.
hlt::HLTState TriggerResultsByName::state | ( | unsigned | i | ) | const |
Definition at line 136 of file TriggerResultsByName.cc.
References edm::HLTGlobalStatus::state(), throwTriggerResultsMissing(), and triggerResults_.
|
private |
Definition at line 206 of file TriggerResultsByName.cc.
References Exception, and edm::errors::LogicError.
Referenced by getAndCheckIndex(), triggerIndex(), triggerName(), and triggerNames().
|
private |
Definition at line 197 of file TriggerResultsByName.cc.
References 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 171 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerIndex(), triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter(), and HSCPValidator::makeHLTPlots().
std::string const & TriggerResultsByName::triggerName | ( | unsigned | i | ) | const |
Definition at line 163 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerName(), triggerNames_, and triggerResults_.
Referenced by HSCPHLTFilter::filter(), and HSCPValidator::makeHLTPlots().
std::vector< std::string > const & TriggerResultsByName::triggerNames | ( | ) | const |
Definition at line 155 of file TriggerResultsByName.cc.
References throwTriggerNamesMissing(), throwTriggerResultsMissing(), edm::TriggerNames::triggerNames(), triggerNames_, and triggerResults_.
bool TriggerResultsByName::wasrun | ( | ) | const |
Definition at line 46 of file TriggerResultsByName.cc.
References throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
bool TriggerResultsByName::wasrun | ( | std::string const & | pathName | ) | const |
Definition at line 90 of file TriggerResultsByName.cc.
References getAndCheckIndex(), mps_fire::i, throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
bool TriggerResultsByName::wasrun | ( | unsigned | i | ) | const |
Definition at line 97 of file TriggerResultsByName.cc.
References throwTriggerResultsMissing(), triggerResults_, and edm::HLTGlobalStatus::wasrun().
|
private |
Definition at line 110 of file TriggerResultsByName.h.
Referenced by getAndCheckIndex(), isValid(), triggerIndex(), triggerName(), triggerNames(), and TriggerResultsByName().
|
private |
Definition at line 109 of file TriggerResultsByName.h.
Referenced by accept(), at(), error(), index(), isValid(), operator[](), parameterSetID(), size(), state(), triggerIndex(), triggerName(), triggerNames(), TriggerResultsByName(), and wasrun().