HLTGlobalStatus.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Common_HLTGlobalStatus_h
2 #define canvas_Persistency_Common_HLTGlobalStatus_h
3 // vim: set sw=2 expandtab :
4 
7 
8 #include <atomic>
9 #include <cstddef>
10 #include <ostream>
11 #include <vector>
12 
13 namespace art {
15  public:
17  explicit HLTGlobalStatus(std::size_t n = 0);
22 
23  public:
24  std::size_t size() const;
25  void reset();
26  bool wasrun() const;
27  bool accept() const;
28  bool error() const;
29  HLTPathStatus const& at(unsigned const i) const;
30  HLTPathStatus& at(unsigned const i);
31  HLTPathStatus const& operator[](unsigned const i) const;
32  HLTPathStatus& operator[](unsigned const i);
33  bool wasrun(unsigned const i) const;
34  bool accept(unsigned const i) const;
35  bool error(unsigned const i) const;
36  hlt::HLTState state(unsigned const i) const;
37  unsigned index(unsigned const i) const;
38  void reset(unsigned const i);
39 
40  private:
41  std::vector<HLTPathStatus> paths_;
42  };
43  std::ostream& operator<<(std::ostream& ost, HLTGlobalStatus const& hlt);
44 } // namespace art
45 
46 #endif /* canvas_Persistency_Common_HLTGlobalStatus_h */
47 
48 // Local Variables:
49 // mode: c++
50 // End:
unsigned index(unsigned const i) const
std::vector< HLTPathStatus > paths_
HLTPathStatus const & at(unsigned const i) const
bool error() const
HLTState
Definition: HLTenums.h:6
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
std::void_t< T > n
HLTGlobalStatus(std::size_t n=0)
hlt::HLTState state(unsigned const i) const
bool wasrun() const
HLTPathStatus const & operator[](unsigned const i) const
std::size_t size() const
HLTGlobalStatus & operator=(HLTGlobalStatus const &)
bool accept() const
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8