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
33  bool
35  return a.branchID() < b.branchID();
36  }
37 
38  inline
39  std::ostream&
40  operator<<(std::ostream& os, RunLumiEntryInfo const& p) {
41  p.write(os);
42  return os;
43  }
44 
45  // Only the 'salient attributes' are testing in equality comparison.
46  bool operator==(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b);
47  inline bool operator!=(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b) { return !(a==b); }
48 
51 }
52 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:92
void write(std::ostream &os) const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
RunLumiEntryInfo RunEntryInfo
BranchID const & branchID() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) 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 tbale.