Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
Provenance
interface
RunLumiEntryInfo.h
Go to the documentation of this file.
1
#ifndef DataFormats_Provenance_RunLumiEntryInfo_h
2
#define DataFormats_Provenance_RunLumiEntryInfo_h
3
4
/*----------------------------------------------------------------------
5
6
RunLumiEntryInfo: The event dependent portion of the description of a product
7
and how it came into existence, plus the product identifier and the status.
8
9
----------------------------------------------------------------------*/
10
#include <iosfwd>
11
#include <vector>
12
13
#include "
DataFormats/Provenance/interface/BranchID.h
"
14
#include "
DataFormats/Provenance/interface/ProductStatus.h
"
15
16
/*
17
RunLumiEntryInfo
18
*/
19
namespace
edm {
20
class
RunLumiEntryInfo
{
21
public
:
22
RunLumiEntryInfo
();
23
~RunLumiEntryInfo
();
24
25
void
write
(std::ostream& os)
const
;
26
27
BranchID
const
&
branchID
()
const
{
return
branchID_
;}
28
ProductStatus
const
&
productStatus
()
const
{
return
productStatus_
;}
29
30
private
:
31
BranchID
branchID_
;
32
ProductStatus
productStatus_
;
33
};
34
35
inline
36
bool
37
operator <
(
RunLumiEntryInfo
const
&
a
,
RunLumiEntryInfo
const
&
b
) {
38
return
a.
branchID
() < b.
branchID
();
39
}
40
41
inline
42
std::ostream&
43
operator<<
(std::ostream& os,
RunLumiEntryInfo
const
&
p
) {
44
p.
write
(os);
45
return
os;
46
}
47
48
// Only the 'salient attributes' are testing in equality comparison.
49
bool
operator==
(RunLumiEntryInfo
const
&
a
, RunLumiEntryInfo
const
&
b
);
50
inline
bool
operator!=
(
RunLumiEntryInfo
const
&
a
,
RunLumiEntryInfo
const
&
b
) {
return
!(a==
b
); }
51
52
typedef
RunLumiEntryInfo
LumiEntryInfo
;
53
typedef
RunLumiEntryInfo
RunEntryInfo
;
54
}
55
#endif
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:77
edm::RunLumiEntryInfo::~RunLumiEntryInfo
~RunLumiEntryInfo()
Definition:
RunLumiEntryInfo.cc:14
edm::RunLumiEntryInfo::productStatus_
ProductStatus productStatus_
Definition:
RunLumiEntryInfo.h:32
edm::ProductStatus
byte_t ProductStatus
Definition:
ProductStatus.h:15
edm::RunLumiEntryInfo::branchID_
BranchID branchID_
Definition:
RunLumiEntryInfo.h:31
edm::RunLumiEntryInfo::write
void write(std::ostream &os) const
Definition:
RunLumiEntryInfo.cc:17
edm::operator!=
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
Definition:
debugging_allocator.h:76
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
ProductStatus.h
edm::RunLumiEntryInfo
Definition:
RunLumiEntryInfo.h:20
edm::RunEntryInfo
RunLumiEntryInfo RunEntryInfo
Definition:
RunLumiEntryInfo.h:53
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
Definition:
debugging_allocator.h:73
edm::RunLumiEntryInfo::branchID
BranchID const & branchID() const
Definition:
RunLumiEntryInfo.h:27
edm::RunLumiEntryInfo::RunLumiEntryInfo
RunLumiEntryInfo()
Definition:
RunLumiEntryInfo.cc:9
b
double b
Definition:
hdecay.h:120
L1TEmulatorMonitor_cff.p
tuple p
Definition:
L1TEmulatorMonitor_cff.py:48
edm::RunLumiEntryInfo::productStatus
ProductStatus const & productStatus() const
Definition:
RunLumiEntryInfo.h:28
a
double a
Definition:
hdecay.h:121
edm::LumiEntryInfo
RunLumiEntryInfo LumiEntryInfo
Definition:
RunLumiEntryInfo.h:52
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:117
Generated for CMSSW Reference Manual by
1.8.5