Go to the documentation of this file. 1 #ifndef DataFormats_Common_HLTGlobalStatus_h
2 #define DataFormats_Common_HLTGlobalStatus_h
39 const unsigned int n(
size());
40 for (
unsigned int i = 0;
i !=
n; ++
i)
84 bool State(
unsigned int icase)
const {
85 bool flags[3] = {
false,
false,
false};
86 const unsigned int n(
size());
87 for (
unsigned int i = 0;
i !=
n; ++
i) {
107 std::vector<std::string>
text(4);
112 const unsigned int n(
hlt.size());
113 for (
unsigned int i = 0;
i !=
n; ++
i)
130 #endif // DataFormats_Common_HLTGlobalStatus_h
bool error() const
has this path encountered an error (exception)?
HLTState
status of a trigger path
HLTGlobalStatus(const unsigned int n=0)
Constructor - for n paths.
bool accept(const unsigned int i) const
Has ith path accepted the event?
void swap(Association< C > &lhs, Association< C > &rhs)
bool wasrun() const
Was at least one path run?
bool error() const
Has any path encountered an error (exception)
HLTGlobalStatus & operator=(HLTGlobalStatus const &rhs)
copy assignment implemented with swap()
void swap(HLTGlobalStatus &other)
swap function
hlt::HLTState state(const unsigned int i) const
Get status of ith path.
unsigned int index(const unsigned int i) const
Get index (slot position) of module giving the decision of the ith path.
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
std::vector< HLTPathStatus > paths_
Status of each HLT path.
bool wasrun(const unsigned int i) const
Was ith path run?
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
unsigned int size() const
Get number of paths stored.
bool State(unsigned int icase) const
Global state variable calculated on the fly.
HLTPathStatus & at(const unsigned int i)
bool accept() const
has this path accepted the event?
void reset(const unsigned int i)
Reset the ith path.
const HLTPathStatus & at(const unsigned int i) const
void reset()
reset this path
unsigned int index() const
const HLTPathStatus & operator[](const unsigned int i) const
HLTPathStatus & operator[](const unsigned int i)
bool accept() const
Has at least one path accepted the event?
void reset()
Reset status for all paths.
bool wasrun() const
was this path run?
hlt::HLTState state() const
get state of path
bool error(const unsigned int i) const
Has ith path encountered an error (exception)?