1 #ifndef canvas_Persistency_Common_HLTGlobalStatus_h 2 #define canvas_Persistency_Common_HLTGlobalStatus_h 17 #include "cetlib/container_algorithms.h" 45 cet::for_all(
paths_, [](
auto& path) { path.reset(); });
73 at(std::size_t
const i)
const 78 at(std::size_t
const i)
147 bool flags[3]{
false,
false,
false};
148 for (std::size_t i{},
n{
size()}; i !=
n; ++i) {
161 flags[1] |= (!flags[0]) |
paths_.empty();
178 std::vector<std::string> text(4);
183 for (std::size_t i{},
n{hlt.
size()}; i !=
n; ++i)
184 ost << text.at(hlt.
state(i));
bool error(std::size_t const i) const
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
HLTGlobalStatus()=default
std::vector< HLTPathStatus > paths_
HLTPathStatus const & operator[](std::size_t const i) const
HLTGlobalStatus & operator=(HLTGlobalStatus const &rhs)
HLTPathStatus const & at(std::size_t const i) const
HLTState
status of a trigger path
hlt::HLTState state(std::size_t const i) const
bool wasrun(std::size_t const i) const
bool accept(std::size_t const i) const
unsigned int index() const
HLTPathStatus & operator[](std::size_t const i)
std::size_t index(std::size_t const i) const
void swap(HLTGlobalStatus &other)
HLTGlobalStatus(std::size_t const n)
hlt::HLTState state() const
HLTPathStatus & at(std::size_t const i)
void reset(std::size_t const i)
bool state_on_demand(std::size_t const icase) const