1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "DataFormats/Provenance/interface/EventEntryInfo.h"
#include <ostream>
/*----------------------------------------------------------------------
----------------------------------------------------------------------*/
namespace edm {
EventEntryInfo::EventEntryInfo() : branchID_(), productID_(), entryDescriptionID_() {}
EventEntryInfo::~EventEntryInfo() {}
void EventEntryInfo::write(std::ostream& os) const {
os << "branch ID = " << branchID() << '\n';
os << "product ID = " << productID() << '\n';
os << "entry description ID = " << entryDescriptionID() << '\n';
}
bool operator==(EventEntryInfo const& a, EventEntryInfo const& b) {
return a.branchID() == b.branchID() && a.productID() == b.productID() &&
a.entryDescriptionID() == b.entryDescriptionID();
}
} // namespace edm
|