1 #ifndef DataFormats_Common_HLTGlobalStatus_h 2 #define DataFormats_Common_HLTGlobalStatus_h 41 const unsigned int n(
size());
42 for (
unsigned int i = 0;
i !=
n; ++
i)
80 bool State(
unsigned int icase)
const {
81 bool flags[3] = {
false,
false,
false};
82 const unsigned int n(
size());
83 for (
unsigned int i = 0;
i !=
n; ++
i) {
103 std::vector<std::string>
text(4);
108 const unsigned int n(
hlt.size());
109 for (
unsigned int i = 0;
i !=
n; ++
i)
116 #endif // DataFormats_Common_HLTGlobalStatus_h bool error(const unsigned int i) const
Has ith path encountered an error (exception)?
unsigned int index(const unsigned int i) const
Get index (slot position) of module giving the decision of the ith path.
bool accept() const
Has at least one path accepted the event?
hlt::HLTState state(const unsigned int i) const
Get status of ith path.
bool error() const
Has any path encountered an error (exception)
void reset()
reset this path
void reset(const unsigned int i)
Reset the ith path.
HLTState
status of a trigger path
unsigned int index() const
bool accept(const unsigned int i) const
Has ith path accepted the event?
const HLTPathStatus & at(const unsigned int i) const
void swap(Association< C > &lhs, Association< C > &rhs)
HLTPathStatus & operator[](const unsigned int i)
bool wasrun() const
Was at least one path run?
unsigned int size() const
Get number of paths stored.
bool error() const
has this path encountered an error (exception)?
bool wasrun(const unsigned int i) const
Was ith path run?
void reset()
Reset status for all paths.
bool accept() const
has this path accepted the event?
void swap(HLTGlobalStatus &other)
swap function
std::vector< HLTPathStatus > paths_
Status of each HLT path.
bool State(unsigned int icase) const
Global state variable calculated on the fly.
HLTPathStatus & at(const unsigned int i)
hlt::HLTState state() const
get state of path
bool wasrun() const
was this path run?
const HLTPathStatus & operator[](const unsigned int i) const
HLTGlobalStatus(const unsigned int n=0)
Constructor - for n paths.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.