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)
86 bool State(
unsigned int icase)
const {
87 bool flags[3] = {
false,
false,
false};
88 const unsigned int n(
size());
89 for (
unsigned int i = 0;
i !=
n; ++
i) {
109 std::vector<std::string>
text(4);
114 const unsigned int n(
hlt.size());
115 for (
unsigned int i = 0;
i !=
n; ++
i)
132 #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
HLTGlobalStatus & operator=(HLTGlobalStatus const &rhs)
copy assignment implemented with swap()
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 swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
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.