File indexing completed on 2024-04-06 12:05:03
0001 #include "DataFormats/Provenance/interface/EventEntryInfo.h"
0002 #include <ostream>
0003
0004
0005
0006
0007
0008 namespace edm {
0009 EventEntryInfo::EventEntryInfo() : branchID_(), productID_(), entryDescriptionID_() {}
0010
0011 EventEntryInfo::~EventEntryInfo() {}
0012
0013 void EventEntryInfo::write(std::ostream& os) const {
0014 os << "branch ID = " << branchID() << '\n';
0015 os << "product ID = " << productID() << '\n';
0016 os << "entry description ID = " << entryDescriptionID() << '\n';
0017 }
0018
0019 bool operator==(EventEntryInfo const& a, EventEntryInfo const& b) {
0020 return a.branchID() == b.branchID() && a.productID() == b.productID() &&
0021 a.entryDescriptionID() == b.entryDescriptionID();
0022 }
0023 }