#include <HLTGlobalStatus.h>
Public Member Functions | |
bool | accept () const |
Has at least one path accepted the event? More... | |
bool | accept (const unsigned int i) const |
Has ith path accepted the event? More... | |
const HLTPathStatus & | at (const unsigned int i) const |
HLTPathStatus & | at (const unsigned int i) |
bool | error () const |
Has any path encountered an error (exception) More... | |
bool | error (const unsigned int i) const |
Has ith path encountered an error (exception)? More... | |
HLTGlobalStatus (const unsigned int n=0) | |
Constructor - for n paths. More... | |
unsigned int | index (const unsigned int i) const |
Get index (slot position) of module giving the decision of the ith path. More... | |
HLTGlobalStatus & | operator= (HLTGlobalStatus const &rhs) |
copy assignment implemented with swap() More... | |
const HLTPathStatus & | operator[] (const unsigned int i) const |
HLTPathStatus & | operator[] (const unsigned int i) |
void | reset () |
Reset status for all paths. More... | |
void | reset (const unsigned int i) |
Reset the ith path. More... | |
unsigned int | size () const |
Get number of paths stored. More... | |
hlt::HLTState | state (const unsigned int i) const |
Get status of ith path. More... | |
void | swap (HLTGlobalStatus &other) |
swap function More... | |
bool | wasrun () const |
Was at least one path run? More... | |
bool | wasrun (const unsigned int i) const |
Was ith path run? More... | |
Private Member Functions | |
bool | State (unsigned int icase) const |
Global state variable calculated on the fly. More... | |
Private Attributes | |
std::vector< HLTPathStatus > | paths_ |
Status of each HLT path. More... | |
The HLT global status, summarising the status of the individual HLT triggers, is implemented as a vector of HLTPathStatus objects.
If the user wants map-like indexing of HLT triggers through their names as key, s/he must use the TriggerNamesService.
Definition at line 26 of file HLTGlobalStatus.h.
|
inline |
Constructor - for n paths.
Definition at line 36 of file HLTGlobalStatus.h.
|
inline |
Has at least one path accepted the event?
Definition at line 52 of file HLTGlobalStatus.h.
References State().
Referenced by accept(), edm::TriggerResultsByName::accept(), acceptHLT(), HTMHTAnalyzer::analyze(), TcMETAnalyzer::analyze(), MuCorrMETAnalyzer::analyze(), CaloMETAnalyzer::analyze(), HLTHiggsSubAnalysis::analyze(), PFMETAnalyzer::analyze(), METAnalyzer::analyze(), ErsatzMEt::analyze(), Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), FWHLTTriggerTableView::fillAverageAcceptFractions(), FWHLTTriggerTableView::fillTable(), FWFileEntry::filterEventsWithCustomParser(), HLTTauDQMPath::fired(), HLTJetMETValidation::getHLTResults(), triggerExpression::HLTReader::operator()(), and HcalNZSMonitor::processEvent().
|
inline |
Has ith path accepted the event?
Definition at line 66 of file HLTGlobalStatus.h.
References edm::HLTPathStatus::accept(), and at().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply().
|
inline |
Definition at line 58 of file HLTGlobalStatus.h.
References paths_.
Referenced by accept(), edm::TriggerResultsByName::at(), error(), index(), edm::TriggerResultsByName::operator[](), reset(), state(), and wasrun().
|
inline |
Definition at line 59 of file HLTGlobalStatus.h.
References paths_.
|
inline |
Has any path encountered an error (exception)
Definition at line 54 of file HLTGlobalStatus.h.
References State().
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(), edm::TriggerResultsByName::error(), argparse.ArgumentParser::parse_args(), python.rootplot.argparse.ArgumentParser::parse_args(), argparse.ArgumentParser::parse_known_args(), and python.rootplot.argparse.ArgumentParser::parse_known_args().
|
inline |
Has ith path encountered an error (exception)?
Definition at line 68 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::error().
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().
|
inline |
Get index (slot position) of module giving the decision of the ith path.
Definition at line 73 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::index().
Referenced by BeautifulSoup.PageElement::_invert(), edm::TriggerResultsByName::index(), and HLTTauDQMPath::lastPassedFilter().
|
inline |
copy assignment implemented with swap()
Definition at line 79 of file HLTGlobalStatus.h.
References swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 60 of file HLTGlobalStatus.h.
References paths_.
|
inline |
Definition at line 61 of file HLTGlobalStatus.h.
References paths_.
|
inline |
Reset status for all paths.
Definition at line 42 of file HLTGlobalStatus.h.
References i, n, paths_, and size().
Referenced by edm::EventSelector::selectionIsValid().
|
inline |
Reset the ith path.
Definition at line 75 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::reset().
|
inline |
Get number of paths stored.
Definition at line 39 of file HLTGlobalStatus.h.
References paths_.
Referenced by HTMHTAnalyzer::analyze(), MuCorrMETAnalyzer::analyze(), TcMETAnalyzer::analyze(), CaloMETAnalyzer::analyze(), PFMETAnalyzer::analyze(), METAnalyzer::analyze(), ErsatzMEt::analyze(), edm::EventSelector::containsExceptions(), edm::TriggerResults::find(), HLTJetMETValidation::getHLTResults(), edm::service::TriggerNamesService::getTrigPaths(), HLTEventSelector::HLTEventSelector(), HLTHighLevel::init(), PrescalerFHN::init(), edm::EventSelector::maskTriggerResults(), edm::operator<<(), reset(), edm::TriggerResultsByName::size(), State(), edm::EventBase::triggerNames_(), and edm::TriggerResultsByName::TriggerResultsByName().
|
inline |
Get status of ith path.
Definition at line 71 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::state().
Referenced by edm::EventSelector::acceptAllBits(), edm::EventSelector::acceptOneBit(), edm::EventSelector::maskTriggerResults(), edm::operator<<(), edm::TriggerResultsByName::state(), and State().
|
inlineprivate |
Global state variable calculated on the fly.
Definition at line 88 of file HLTGlobalStatus.h.
References edm::hlt::Exception, flags, i, n, edm::hlt::Pass, edm::hlt::Ready, alignCSCRings::s, size(), and state().
Referenced by accept(), error(), and wasrun().
|
inline |
swap function
Definition at line 77 of file HLTGlobalStatus.h.
References paths_.
Referenced by operator=(), edm::TriggerResults::swap(), edm::swap(), and std::swap().
|
inline |
Was at least one path run?
Definition at line 50 of file HLTGlobalStatus.h.
References State().
Referenced by edm::TriggerResultsByName::wasrun().
|
inline |
Was ith path run?
Definition at line 64 of file HLTGlobalStatus.h.
References at(), and edm::HLTPathStatus::wasrun().
|
private |
Status of each HLT path.
Definition at line 31 of file HLTGlobalStatus.h.
Referenced by Config.Process::_insertPaths(), at(), Config.Process::dumpConfig(), Config.Process::dumpPython(), operator[](), Config.Process::pathNames(), reset(), size(), and swap().