CMS 3D CMS Logo

RunLumiEntryInfo.h
Go to the documentation of this file.
1 #ifndef DataFormats_Provenance_RunLumiEntryInfo_h
2 #define DataFormats_Provenance_RunLumiEntryInfo_h
3 
4 /*----------------------------------------------------------------------
5 
6 RunLumiEntryInfo: The event dependent portion of the description of a product
7 and how it came into existence, plus the product identifier.
8 
9 ----------------------------------------------------------------------*/
10 #include <iosfwd>
11 #include <vector>
12 
14 
15 /*
16  RunLumiEntryInfo
17 */
18 namespace edm {
20  public:
23 
24  void write(std::ostream& os) const;
25 
26  BranchID const& branchID() const { return branchID_; }
27 
28  private:
30  };
31 
32  inline bool operator<(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b) { return a.branchID() < b.branchID(); }
33 
34  inline std::ostream& operator<<(std::ostream& os, RunLumiEntryInfo const& p) {
35  p.write(os);
36  return os;
37  }
38 
39  // Only the 'salient attributes' are testing in equality comparison.
40  bool operator==(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b);
41  inline bool operator!=(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b) { return !(a == b); }
42 
45 } // namespace edm
46 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:89
constexpr bool operator==(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
void write(std::ostream &os) const
RunLumiEntryInfo RunEntryInfo
constexpr bool operator!=(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
double b
Definition: hdecay.h:120
HLT enums.
double a
Definition: hdecay.h:121
RunLumiEntryInfo LumiEntryInfo
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.
BranchID const & branchID() const