1 #ifndef DataFormats_Common_HLTPathStatus_h 2 #define DataFormats_Common_HLTPathStatus_h 29 #include <boost/cstdint.hpp> 46 assert (((
int)
state)<4);
55 unsigned int index()
const {
return (static_cast<unsigned int >(status_ / 4));}
69 #endif // DataFormats_Common_HLTPathStatus_h
HLTPathStatus(const hlt::HLTState state=hlt::Ready, const unsigned int index=0)
constructor
uint16_t status_
packed status of trigger path [unsigned char is too small]
void reset()
reset this path
bool wasrun() const
was this path run?
HLTState
status of a trigger path
hlt::HLTState state() const
get state of path
bool error() const
has this path encountered an error (exception)?
bool accept() const
has this path accepted the event?
unsigned int index() const