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
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::EventEntryInfo::branchID
BranchID const & branchID() const
Definition: EventEntryInfo.h:30
edm::EventEntryInfo::entryDescriptionID
EntryDescriptionID const & entryDescriptionID() const
Definition: EventEntryInfo.h:32
edm::EventEntryInfo::~EventEntryInfo
~EventEntryInfo()
Definition: EventEntryInfo.cc:11
edm::EventEntryInfo::productID
ProductID const & productID() const
Definition: EventEntryInfo.h:31
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
Definition: debugging_allocator.h:72
b
double b
Definition: hdecay.h:118
edm::EventEntryInfo::write
void write(std::ostream &os) const
Definition: EventEntryInfo.cc:13
edm::EventEntryInfo::EventEntryInfo
EventEntryInfo()
Definition: EventEntryInfo.cc:9
a
double a
Definition: hdecay.h:119
EventEntryInfo.h
edm::EventEntryInfo
Definition: EventEntryInfo.h:23