#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 33 of file HLTPathStatus.h.
|
inline |
|
inline |
has this path accepted the event?
Definition at line 59 of file HLTPathStatus.h.
References edm::hlt::Pass, and state().
Referenced by edm::HLTGlobalStatus::accept(), HSCPTreeBuilder::filter(), and esMonitoring.FDJsonServer::handle_accept().
|
inline |
has this path encountered an error (exception)?
Definition at line 61 of file HLTPathStatus.h.
References edm::hlt::Exception, and state().
Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag(), and edm::HLTGlobalStatus::error().
|
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 52 of file HLTPathStatus.h.
References status_.
Referenced by HLTPathStatus(), edm::HLTGlobalStatus::index(), BeautifulSoup.PageElement::insert(), and edm::SystemTimeKeeper::stopPath().
|
inline |
reset this path
Definition at line 54 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 48 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 57 of file HLTPathStatus.h.
References edm::hlt::Ready, and state().
Referenced by edm::HLTGlobalStatus::wasrun().
|
private |
packed status of trigger path [unsigned char is too small]
Definition at line 36 of file HLTPathStatus.h.