CMS 3D CMS Logo

EventEntryInfo.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 /*----------------------------------------------------------------------
5 
6 ----------------------------------------------------------------------*/
7 
8 namespace edm {
9  EventEntryInfo::EventEntryInfo() : branchID_(), productID_(), entryDescriptionID_() {}
10 
12 
13  void EventEntryInfo::write(std::ostream& os) const {
14  os << "branch ID = " << branchID() << '\n';
15  os << "product ID = " << productID() << '\n';
16  os << "entry description ID = " << entryDescriptionID() << '\n';
17  }
18 
19  bool operator==(EventEntryInfo const& a, EventEntryInfo const& b) {
20  return a.branchID() == b.branchID() && a.productID() == b.productID() &&
21  a.entryDescriptionID() == b.entryDescriptionID();
22  }
23 } // namespace edm
constexpr bool operator==(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
ProductID const & productID() const
BranchID const & branchID() const
double b
Definition: hdecay.h:120
void write(std::ostream &os) const
HLT enums.
double a
Definition: hdecay.h:121
EntryDescriptionID const & entryDescriptionID() const