src
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::operator==
constexpr bool operator==(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
Definition:
ELseverityLevel.h:102
edm::EventEntryInfo
Definition:
EventEntryInfo.h:23
edm::EventEntryInfo::productID
ProductID const & productID() const
Definition:
EventEntryInfo.h:31
edm::EventEntryInfo::EventEntryInfo
EventEntryInfo()
Definition:
EventEntryInfo.cc:9
edm::EventEntryInfo::branchID
BranchID const & branchID() const
Definition:
EventEntryInfo.h:30
edm::EventEntryInfo::~EventEntryInfo
~EventEntryInfo()
Definition:
EventEntryInfo.cc:11
l1tGTMenu_BTagSeeds_cff.os
os
Definition:
l1tGTMenu_BTagSeeds_cff.py:34
EventEntryInfo.h
b
double b
Definition:
hdecay.h:120
edm::EventEntryInfo::write
void write(std::ostream &os) const
Definition:
EventEntryInfo.cc:13
edm
HLT enums.
Definition:
AlignableModifier.h:19
a
double a
Definition:
hdecay.h:121
edm::EventEntryInfo::entryDescriptionID
EntryDescriptionID const & entryDescriptionID() const
Definition:
EventEntryInfo.h:32
Generated for CMSSW Reference Manual by
1.8.14