DataFormats
Provenance
interface
EventEntryInfo.h
Go to the documentation of this file.
1
#ifndef DataFormats_Provenance_EventEntryInfo_h
2
#define DataFormats_Provenance_EventEntryInfo_h
3
4
/*----------------------------------------------------------------------
5
6
EventEntryInfo: The event dependent portion of the description of a product
7
and how it came into existence, plus the product identifier.
8
9
----------------------------------------------------------------------*/
10
#include <iosfwd>
11
#include <vector>
12
13
#include "
DataFormats/Provenance/interface/BranchID.h
"
14
#include "
DataFormats/Provenance/interface/EntryDescriptionID.h
"
15
#include "
DataFormats/Provenance/interface/ProductID.h
"
16
17
/*
18
EventEntryInfo
19
*/
20
21
namespace
edm
{
22
class
EventEntryDescription;
23
class
EventEntryInfo
{
24
public
:
25
EventEntryInfo
();
26
~EventEntryInfo
();
27
28
void
write
(std::ostream& os)
const
;
29
30
BranchID
const
&
branchID
()
const
{
return
branchID_
; }
31
ProductID
const
&
productID
()
const
{
return
productID_
; }
32
EntryDescriptionID
const
&
entryDescriptionID
()
const
{
return
entryDescriptionID_
; }
33
34
private
:
35
BranchID
branchID_
;
36
ProductID
productID_
;
37
EntryDescriptionID
entryDescriptionID_
;
38
};
39
40
inline
bool
operator<
(
EventEntryInfo
const
&
a
,
EventEntryInfo
const
&
b
) {
return
a
.branchID() <
b
.branchID(); }
41
42
inline
std::ostream&
operator<<
(std::ostream& os,
EventEntryInfo
const
&
p
) {
43
p
.write(os);
44
return
os;
45
}
46
47
// Only the 'salient attributes' are testing in equality comparison.
48
bool
operator==
(EventEntryInfo
const
&
a
, EventEntryInfo
const
&
b
);
49
inline
bool
operator!=
(
EventEntryInfo
const
&
a
,
EventEntryInfo
const
&
b
) {
return
!(
a
==
b
); }
50
typedef
std::vector<EventEntryInfo>
EventEntryInfoVector
;
51
}
// namespace edm
52
#endif
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:89
edm::operator==
constexpr bool operator==(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
Definition:
ELseverityLevel.h:102
edm::EventEntryInfo
Definition:
EventEntryInfo.h:23
edm::Hash< EntryDescriptionType >
edm::EventEntryInfoVector
std::vector< EventEntryInfo > EventEntryInfoVector
Definition:
EventEntryInfo.h:50
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
ProductID.h
edm::EventEntryInfo::productID
ProductID const & productID() const
Definition:
EventEntryInfo.h:31
edm::EventEntryInfo::EventEntryInfo
EventEntryInfo()
Definition:
EventEntryInfo.cc:9
edm::ProductID
Definition:
ProductID.h:27
edm::EventEntryInfo::branchID
BranchID const & branchID() const
Definition:
EventEntryInfo.h:30
edm::EventEntryInfo::~EventEntryInfo
~EventEntryInfo()
Definition:
EventEntryInfo.cc:11
edm::EventEntryInfo::entryDescriptionID_
EntryDescriptionID entryDescriptionID_
Definition:
EventEntryInfo.h:37
edm::EventEntryInfo::branchID_
BranchID branchID_
Definition:
EventEntryInfo.h:35
edm::operator!=
constexpr bool operator!=(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
Definition:
ELseverityLevel.h:105
edm::EventEntryInfo::productID_
ProductID productID_
Definition:
EventEntryInfo.h:36
b
double b
Definition:
hdecay.h:118
EntryDescriptionID.h
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:119
edm::EventEntryInfo::entryDescriptionID
EntryDescriptionID const & entryDescriptionID() const
Definition:
EventEntryInfo.h:32
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.
Definition:
HLTGlobalStatus.h:108
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14