Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
private
:
18
EventID
eventID_
;
19
ProcessHistoryID
processHistoryID_
;
20
};
21
inline
22
bool
operator<
(
EventProcessHistoryID
const
&
lh
,
EventProcessHistoryID
const
& rh) {
23
return
lh.
eventID
() < rh.
eventID
();
24
}
25
}
26
27
28
#endif
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:91
edm::EventProcessHistoryID
Definition:
EventProcessHistoryID.h:11
EventID.h
edm::EventProcessHistoryID::processHistoryID
ProcessHistoryID const & processHistoryID() const
Definition:
EventProcessHistoryID.h:16
edm::Hash< ProcessHistoryType >
mathSSE::lh
bool int lh
Definition:
SIMDVec.h:19
edm::EventProcessHistoryID::EventProcessHistoryID
EventProcessHistoryID()
Definition:
EventProcessHistoryID.h:13
edm::EventProcessHistoryID::eventID_
EventID eventID_
Definition:
EventProcessHistoryID.h:18
edm::EventProcessHistoryID::processHistoryID_
ProcessHistoryID processHistoryID_
Definition:
EventProcessHistoryID.h:19
edm::EventID
Definition:
EventID.h:34
ProcessHistoryID.h
edm::EventProcessHistoryID::EventProcessHistoryID
EventProcessHistoryID(EventID const &id, ProcessHistoryID const &ph)
Definition:
EventProcessHistoryID.h:14
edm::EventProcessHistoryID::eventID
EventID const & eventID() const
Definition:
EventProcessHistoryID.h:15
Generated for CMSSW Reference Manual by
1.8.5