DataFormats
Provenance
interface
EventProcessHistoryID.h
Go to the documentation of this file.
1
#ifndef DataFormats_Provenance_EventProcessHistoryID_h
2
#define DataFormats_Provenance_EventProcessHistoryID_h
3
4
#include "
DataFormats/Provenance/interface/EventID.h
"
5
#include "
DataFormats/Provenance/interface/ProcessHistoryID.h
"
6
7
// This class needed for backward compatibility only.
8
// It is relevant if and only if fileFormatVersion.eventHistoryBranch() is true.
9
10
namespace
edm
{
11
class
EventProcessHistoryID
{
12
public
:
13
EventProcessHistoryID
() :
eventID_
(),
processHistoryID_
() {}
14
EventProcessHistoryID
(
EventID
const
&
id
,
ProcessHistoryID
const
& ph) :
eventID_
(
id
),
processHistoryID_
(ph) {}
15
EventID
const
&
eventID
()
const
{
return
eventID_
; }
16
ProcessHistoryID
const
&
processHistoryID
()
const
{
return
processHistoryID_
; }
17
18
private
:
19
EventID
eventID_
;
20
ProcessHistoryID
processHistoryID_
;
21
};
22
inline
bool
operator<
(
EventProcessHistoryID
const
&
lh
,
EventProcessHistoryID
const
& rh) {
23
return
lh
.eventID() < rh.
eventID
();
24
}
25
}
// namespace edm
26
27
#endif
ProcessHistoryID.h
edm::EventProcessHistoryID::eventID_
EventID eventID_
Definition:
EventProcessHistoryID.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::EventProcessHistoryID::EventProcessHistoryID
EventProcessHistoryID(EventID const &id, ProcessHistoryID const &ph)
Definition:
EventProcessHistoryID.h:14
mathSSE::lh
bool int lh
Definition:
SIMDVec.h:20
edm::EventProcessHistoryID::eventID
EventID const & eventID() const
Definition:
EventProcessHistoryID.h:15
EventID.h
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:89
edm::Hash< ProcessHistoryType >
edm::EventProcessHistoryID
Definition:
EventProcessHistoryID.h:11
edm::EventProcessHistoryID::EventProcessHistoryID
EventProcessHistoryID()
Definition:
EventProcessHistoryID.h:13
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
edm::EventProcessHistoryID::processHistoryID_
ProcessHistoryID processHistoryID_
Definition:
EventProcessHistoryID.h:20
edm::EventID
Definition:
EventID.h:31
edm::EventProcessHistoryID::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition:
EventProcessHistoryID.h:16
Generated for CMSSW Reference Manual by
1.8.16