LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "HLTPathStatus.h"
Public Member Functions | |
HLTPathStatus (const hlt::HLTState state=hlt::Ready, const unsigned int index=0) | |
hlt::HLTState | state () const |
unsigned int | index () const |
void | reset () |
bool | wasrun () const |
bool | accept () const |
bool | error () const |
Private Attributes | |
std::uint16_t | status_ |
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 32 of file HLTPathStatus.h.
|
inline |
Definition at line 42 of file HLTPathStatus.h.
References index(), state(), and art::hlt::UNKNOWN.
|
inline |
Definition at line 78 of file HLTPathStatus.h.
References art::hlt::Pass, state(), and wasrun().
Referenced by art::HLTGlobalStatus::accept().
|
inline |
Definition at line 84 of file HLTPathStatus.h.
References art::hlt::Exception, and state().
Referenced by art::HLTGlobalStatus::error().
|
inline |
Definition at line 58 of file HLTPathStatus.h.
Referenced by HLTPathStatus(), and art::HLTGlobalStatus::index().
|
inline |
|
inline |
Definition at line 52 of file HLTPathStatus.h.
Referenced by accept(), error(), HLTPathStatus(), art::HLTGlobalStatus::state(), and wasrun().
|
inline |
Definition at line 71 of file HLTPathStatus.h.
References art::hlt::Ready, and state().
Referenced by accept(), and art::HLTGlobalStatus::wasrun().
|
private |
Definition at line 36 of file HLTPathStatus.h.