CMS 3D CMS Logo

EventEntryInfo.h
Go to the documentation of this file.
1 #ifndef DataFormats_Provenance_EventEntryInfo_h
2 #define DataFormats_Provenance_EventEntryInfo_h
3 
4 /*----------------------------------------------------------------------
5 
6 EventEntryInfo: 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 
16 
17 /*
18  EventEntryInfo
19 */
20 
21 namespace edm {
22  class EventEntryDescription;
24  public:
27 
28  void write(std::ostream& os) const;
29 
30  BranchID const& branchID() const {return branchID_;}
31  ProductID const& productID() const {return productID_;}
33 
34  private:
35 
39  };
40 
41  inline
42  bool
44  return a.branchID() < b.branchID();
45  }
46 
47  inline
48  std::ostream&
49  operator<<(std::ostream& os, EventEntryInfo const& p) {
50  p.write(os);
51  return os;
52  }
53 
54  // Only the 'salient attributes' are testing in equality comparison.
55  bool operator==(EventEntryInfo const& a, EventEntryInfo const& b);
56  inline bool operator!=(EventEntryInfo const& a, EventEntryInfo const& b) { return !(a==b); }
57  typedef std::vector<EventEntryInfo> EventEntryInfoVector;
58 }
59 #endif
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition: DetSet.h:90
ProductID const & productID() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
std::vector< EventEntryInfo > EventEntryInfoVector
EntryDescriptionID const & entryDescriptionID() const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
EntryDescriptionID entryDescriptionID_
BranchID const & branchID() const
double b
Definition: hdecay.h:120
void write(std::ostream &os) const
HLT enums.
double a
Definition: hdecay.h:121
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.