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.
8
9
----------------------------------------------------------------------*/
10
#include <iosfwd>
11
#include <vector>
12
13
#include "
DataFormats/Provenance/interface/BranchID.h
"
14
15
/*
16
RunLumiEntryInfo
17
*/
18
namespace
edm
{
19
class
RunLumiEntryInfo
{
20
public
:
21
RunLumiEntryInfo
();
22
~RunLumiEntryInfo
();
23
24
void
write
(std::ostream& os)
const
;
25
26
BranchID
const
&
branchID
()
const
{
return
branchID_
; }
27
28
private
:
29
BranchID
branchID_
;
30
};
31
32
inline
bool
operator<
(
RunLumiEntryInfo
const
&
a
,
RunLumiEntryInfo
const
&
b
) {
return
a
.branchID() <
b
.branchID(); }
33
34
inline
std::ostream&
operator<<
(std::ostream& os,
RunLumiEntryInfo
const
&
p
) {
35
p
.write(os);
36
return
os;
37
}
38
39
// Only the 'salient attributes' are testing in equality comparison.
40
bool
operator==
(RunLumiEntryInfo
const
&
a
, RunLumiEntryInfo
const
&
b
);
41
inline
bool
operator!=
(
RunLumiEntryInfo
const
&
a
,
RunLumiEntryInfo
const
&
b
) {
return
!(
a
==
b
); }
42
43
typedef
RunLumiEntryInfo
LumiEntryInfo
;
44
typedef
RunLumiEntryInfo
RunEntryInfo
;
45
}
// namespace edm
46
#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::RunLumiEntryInfo::write
void write(std::ostream &os) const
Definition:
RunLumiEntryInfo.cc:13
edm::RunLumiEntryInfo::~RunLumiEntryInfo
~RunLumiEntryInfo()
Definition:
RunLumiEntryInfo.cc:11
edm::RunLumiEntryInfo::branchID_
BranchID branchID_
Definition:
RunLumiEntryInfo.h:29
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
edm::RunLumiEntryInfo
Definition:
RunLumiEntryInfo.h:19
edm::RunEntryInfo
RunLumiEntryInfo RunEntryInfo
Definition:
RunLumiEntryInfo.h:44
edm::operator!=
constexpr bool operator!=(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
Definition:
ELseverityLevel.h:105
edm::RunLumiEntryInfo::RunLumiEntryInfo
RunLumiEntryInfo()
Definition:
RunLumiEntryInfo.cc:9
b
double b
Definition:
hdecay.h:118
edm
HLT enums.
Definition:
AlignableModifier.h:19
a
double a
Definition:
hdecay.h:119
edm::LumiEntryInfo
RunLumiEntryInfo LumiEntryInfo
Definition:
RunLumiEntryInfo.h:43
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
edm::RunLumiEntryInfo::branchID
BranchID const & branchID() const
Definition:
RunLumiEntryInfo.h:26
Generated for CMSSW Reference Manual by
1.8.14