Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
() :
10
branchID_(),
11
productID_(),
12
productStatus_(productstatus::
uninitialized
()),
13
entryDescriptionID_()
14
{}
15
16
EventEntryInfo::~EventEntryInfo
() {}
17
18
void
19
EventEntryInfo::write
(std::ostream& os)
const
{
20
os <<
"branch ID = "
<<
branchID
() <<
'\n'
;
21
os <<
"product ID = "
<<
productID
() <<
'\n'
;
22
os <<
"product status = "
<<
static_cast<
int
>
(
productStatus
()) <<
'\n'
;
23
os <<
"entry description ID = "
<<
entryDescriptionID
() <<
'\n'
;
24
}
25
26
bool
27
operator==
(
EventEntryInfo
const
&
a
,
EventEntryInfo
const
&
b
) {
28
return
29
a.
branchID
() == b.
branchID
()
30
&& a.
productID
() == b.
productID
()
31
&& a.
productStatus
() == b.
productStatus
()
32
&& a.
entryDescriptionID
() == b.
entryDescriptionID
();
33
}
34
}
edm::EventEntryInfo::productStatus
ProductStatus const & productStatus() const
Definition:
EventEntryInfo.h:33
edm::productstatus::uninitialized
ProductStatus uninitialized()
Definition:
ProductStatus.h:30
edm::EventEntryInfo
Definition:
EventEntryInfo.h:24
edm::EventEntryInfo::productID
ProductID const & productID() const
Definition:
EventEntryInfo.h:32
edm::EventEntryInfo::entryDescriptionID
EntryDescriptionID const & entryDescriptionID() const
Definition:
EventEntryInfo.h:34
edm::EventEntryInfo::EventEntryInfo
EventEntryInfo()
Definition:
EventEntryInfo.cc:9
edm::EventEntryInfo::~EventEntryInfo
~EventEntryInfo()
Definition:
EventEntryInfo.cc:16
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
Definition:
debugging_allocator.h:73
EventEntryInfo.h
edm::EventEntryInfo::branchID
BranchID const & branchID() const
Definition:
EventEntryInfo.h:31
b
double b
Definition:
hdecay.h:120
edm::EventEntryInfo::write
void write(std::ostream &os) const
Definition:
EventEntryInfo.cc:19
a
double a
Definition:
hdecay.h:121
Generated for CMSSW Reference Manual by
1.8.5