Main Page
Namespaces
Classes
Package Documentation
src
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
36
BranchID
branchID_
;
37
ProductID
productID_
;
38
EntryDescriptionID
entryDescriptionID_
;
39
};
40
41
inline
42
bool
43
operator <
(
EventEntryInfo
const
&
a
,
EventEntryInfo
const
&
b
) {
44
return
a.
branchID
() < b.
branchID
();
45
}
46
47
inline
48
std::ostream&
49
operator<<
(std::ostream& os,
EventEntryInfo
const
&
p
) {
50
p.
write
(os);
51
return
os;
52
}
53
54
// Only the 'salient attributes' are testing in equality comparison.
55
bool
operator==
(
EventEntryInfo
const
&
a
,
EventEntryInfo
const
&
b
);
56
inline
bool
operator!=
(
EventEntryInfo
const
& a,
EventEntryInfo
const
& b) {
return
!(a==
b
); }
57
typedef
std::vector<EventEntryInfo>
EventEntryInfoVector
;
58
}
59
#endif
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:92
edm::EventEntryInfo
Definition:
EventEntryInfo.h:23
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
edm::EventEntryInfo::productID
ProductID const & productID() const
Definition:
EventEntryInfo.h:31
edm::Hash< EntryDescriptionType >
edm::EventEntryInfoVector
std::vector< EventEntryInfo > EventEntryInfoVector
Definition:
EventEntryInfo.h:57
edm::EventEntryInfo::entryDescriptionID
EntryDescriptionID const & entryDescriptionID() const
Definition:
EventEntryInfo.h:32
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
ProductID.h
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
Definition:
debugging_allocator.h:72
edm::EventEntryInfo::EventEntryInfo
EventEntryInfo()
Definition:
EventEntryInfo.cc:9
edm::ProductID
Definition:
ProductID.h:27
edm::EventEntryInfo::~EventEntryInfo
~EventEntryInfo()
Definition:
EventEntryInfo.cc:15
edm::EventEntryInfo::entryDescriptionID_
EntryDescriptionID entryDescriptionID_
Definition:
EventEntryInfo.h:38
edm::EventEntryInfo::branchID_
BranchID branchID_
Definition:
EventEntryInfo.h:36
edm::EventEntryInfo::branchID
BranchID const & branchID() const
Definition:
EventEntryInfo.h:30
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:37
b
double b
Definition:
hdecay.h:120
EntryDescriptionID.h
edm::EventEntryInfo::write
void write(std::ostream &os) const
Definition:
EventEntryInfo.cc:18
edm
HLT enums.
Definition:
AlignableModifier.h:17
a
double a
Definition:
hdecay.h:121
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:115
Generated for CMSSW Reference Manual by
1.8.11