#include <HLTPathStatus.h>
Public Member Functions | |
bool | accept () const |
has this path accepted the event? More... | |
bool | error () const |
has this path encountered an error (exception)? More... | |
HLTPathStatus (const hlt::HLTState state=hlt::Ready, const unsigned int index=0) | |
constructor More... | |
unsigned int | index () const |
void | reset () |
reset this path More... | |
hlt::HLTState | state () const |
get state of path More... | |
bool | wasrun () const |
was this path run? More... | |
Private Attributes | |
uint16_t | status_ |
packed status of trigger path [unsigned char is too small] More... | |
The status of a single HLT trigger (single trigger path consisting of modules on the path). Initially, the status is Ready (meaning that this trigger path has not run yet for this event). If all modules on the path pass (accept) the event, then the state is Pass. If any module on the path fails (rejects) the event, then the state of the whole trigger path is Fail. If any module on the path throws an unhandled error, then the trigger state is Exception. For the latter two cases, the Fw skips further processing of modules along this path, ie, path processing is aborted.
The index of the module on the path, 0 to n-1 for a path with n modules issuing the decision for the path is recorded. For accepted events, this is simply the index of the last module on the path, ie, n-1.
Note that n is limited, due to packing, to at most 2^(16-2)=16384.
Definition at line 34 of file HLTPathStatus.h.
|
inline |
constructor
Definition at line 44 of file HLTPathStatus.h.
References assert(), index(), and state().
|
inline |
has this path accepted the event?
Definition at line 62 of file HLTPathStatus.h.
References edm::hlt::Pass, and state().
Referenced by edm::HLTGlobalStatus::accept(), TriggerRatesMonitor::analyze(), Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), esMonitoring.FDJsonServer::handle_accept(), and FastTimerService::postPathEvent().
|
inline |
has this path encountered an error (exception)?
Definition at line 64 of file HLTPathStatus.h.
References edm::hlt::Exception, and 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(), TriggerRatesMonitor::analyze(), edm::HLTGlobalStatus::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 |
get index of module giving the status of this path Nota Bene: if a Path or EndPath is empty (that is, it does not contain any ED module), index will be 0, even if there is no "0th module" responsible for the status of the path
Definition at line 55 of file HLTPathStatus.h.
References status_.
Referenced by BeautifulSoup.PageElement::_invert(), TriggerRatesMonitor::analyze(), HLTPathStatus(), edm::HLTGlobalStatus::index(), FastTimerService::postPathEvent(), and edm::SystemTimeKeeper::stopPath().
|
inline |
reset this path
Definition at line 57 of file HLTPathStatus.h.
References status_.
Referenced by HLTPerformanceInfo::Module::clear(), HLTPerformanceInfo::Path::clear(), and edm::HLTGlobalStatus::reset().
|
inline |
get state of path
Definition at line 51 of file HLTPathStatus.h.
References status_.
Referenced by accept(), edm::EventSelector::acceptTriggerPath(), error(), HLTPathStatus(), edm::HLTGlobalStatus::state(), and wasrun().
|
inline |
was this path run?
Definition at line 60 of file HLTPathStatus.h.
References edm::hlt::Ready, and state().
Referenced by TriggerRatesMonitor::analyze(), FastTimerService::postPathEvent(), HLTPerformanceInfo::setStatusOfModulesFromPath(), and edm::HLTGlobalStatus::wasrun().
|
private |
packed status of trigger path [unsigned char is too small]
Definition at line 38 of file HLTPathStatus.h.