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.
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
33
bool
34
operator <
(
RunLumiEntryInfo
const
&
a
,
RunLumiEntryInfo
const
&
b
) {
35
return
a.
branchID
() < b.
branchID
();
36
}
37
38
inline
39
std::ostream&
40
operator<<
(std::ostream& os,
RunLumiEntryInfo
const
&
p
) {
41
p.
write
(os);
42
return
os;
43
}
44
45
// Only the 'salient attributes' are testing in equality comparison.
46
bool
operator==
(RunLumiEntryInfo
const
&
a
, RunLumiEntryInfo
const
&
b
);
47
inline
bool
operator!=
(
RunLumiEntryInfo
const
&
a
,
RunLumiEntryInfo
const
&
b
) {
return
!(a==
b
); }
48
49
typedef
RunLumiEntryInfo
LumiEntryInfo
;
50
typedef
RunLumiEntryInfo
RunEntryInfo
;
51
}
52
#endif
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:90
edm::RunLumiEntryInfo::~RunLumiEntryInfo
~RunLumiEntryInfo()
Definition:
RunLumiEntryInfo.cc:13
edm::RunLumiEntryInfo::branchID_
BranchID branchID_
Definition:
RunLumiEntryInfo.h:29
edm::RunLumiEntryInfo::write
void write(std::ostream &os) const
Definition:
RunLumiEntryInfo.cc:16
edm::operator!=
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
Definition:
debugging_allocator.h:75
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
edm::RunLumiEntryInfo
Definition:
RunLumiEntryInfo.h:19
edm::RunEntryInfo
RunLumiEntryInfo RunEntryInfo
Definition:
RunLumiEntryInfo.h:50
edm::operator==
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
Definition:
debugging_allocator.h:72
edm::RunLumiEntryInfo::branchID
BranchID const & branchID() const
Definition:
RunLumiEntryInfo.h:26
edm::RunLumiEntryInfo::RunLumiEntryInfo
RunLumiEntryInfo()
Definition:
RunLumiEntryInfo.cc:9
b
double b
Definition:
hdecay.h:120
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
a
double a
Definition:
hdecay.h:121
edm::LumiEntryInfo
RunLumiEntryInfo LumiEntryInfo
Definition:
RunLumiEntryInfo.h:49
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.5