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::EventEntryInfo::branchID_
BranchID branchID_
Definition:
EventEntryInfo.h:35
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::EventEntryInfo::branchID
BranchID const & branchID() const
Definition:
EventEntryInfo.h:30
BranchID.h
edm::EventEntryInfo::entryDescriptionID
EntryDescriptionID const & entryDescriptionID() const
Definition:
EventEntryInfo.h:32
EntryDescriptionID.h
edm::EventEntryInfo::~EventEntryInfo
~EventEntryInfo()
Definition:
EventEntryInfo.cc:11
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:106
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:75
edm::EventEntryInfo::productID_
ProductID productID_
Definition:
EventEntryInfo.h:36
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
Definition:
debugging_allocator.h:72
edm::BranchID
Definition:
BranchID.h:14
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:89
ProductID.h
edm::Hash< EntryDescriptionType >
edm::EventEntryInfo::entryDescriptionID_
EntryDescriptionID entryDescriptionID_
Definition:
EventEntryInfo.h:37
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
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
edm::EventEntryInfoVector
std::vector< EventEntryInfo > EventEntryInfoVector
Definition:
EventEntryInfo.h:50
edm::EventEntryInfo
Definition:
EventEntryInfo.h:23
edm::ProductID
Definition:
ProductID.h:27
Generated for CMSSW Reference Manual by
1.8.16