CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 and the status.
8 
9 ----------------------------------------------------------------------*/
10 #include <iosfwd>
11 #include <vector>
12 
15 
16 /*
17  RunLumiEntryInfo
18 */
19 namespace edm {
21  public:
24 
25  void write(std::ostream& os) const;
26 
27  BranchID const& branchID() const {return branchID_;}
28  ProductStatus const& productStatus() const {return productStatus_;}
29 
30  private:
33  };
34 
35  inline
36  bool
38  return a.branchID() < b.branchID();
39  }
40 
41  inline
42  std::ostream&
43  operator<<(std::ostream& os, RunLumiEntryInfo const& p) {
44  p.write(os);
45  return os;
46  }
47 
48  // Only the 'salient attributes' are testing in equality comparison.
49  bool operator==(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b);
50  inline bool operator!=(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b) { return !(a==b); }
51 
54 }
55 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:77
ProductStatus productStatus_
byte_t ProductStatus
Definition: ProductStatus.h:15
void write(std::ostream &os) const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
RunLumiEntryInfo RunEntryInfo
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
BranchID const & branchID() const
double b
Definition: hdecay.h:120
ProductStatus const & productStatus() const
double a
Definition: hdecay.h:121
RunLumiEntryInfo LumiEntryInfo
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.