DataFormats
Provenance
src
EventEntryInfo.cc
Go to the documentation of this file.
1
#include "
DataFormats/Provenance/interface/EventEntryInfo.h
"
2
#include <ostream>
3
4
/*----------------------------------------------------------------------
5
6
----------------------------------------------------------------------*/
7
8
namespace
edm
{
9
EventEntryInfo::EventEntryInfo
() : branchID_(), productID_(), entryDescriptionID_() {}
10
11
EventEntryInfo::~EventEntryInfo
() {}
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
Generated for CMSSW Reference Manual by
1.8.16