src
DataFormats
Provenance
src
EventAuxiliary.cc
Go to the documentation of this file.
1
#include "
DataFormats/Provenance/interface/EventAuxiliary.h
"
2
#include <ostream>
3
4
/*----------------------------------------------------------------------
5
6
----------------------------------------------------------------------*/
7
8
namespace
edm
{
9
void
EventAuxiliary::write
(std::ostream& os)
const
{
10
os <<
"Process History ID = "
<<
processHistoryID_
<< std::endl;
11
os <<
id_
<< std::endl;
12
//os << "TimeStamp = " << time_ << std::endl;
13
}
14
15
bool
isSameEvent
(
EventAuxiliary
const
&
a
,
EventAuxiliary
const
&
b
) {
16
return
a
.id() ==
b
.id() &&
a
.processGUID() ==
b
.processGUID() &&
a
.luminosityBlock() ==
b
.luminosityBlock() &&
17
a
.time() ==
b
.time() &&
a
.isRealData() ==
b
.isRealData() &&
a
.experimentType() ==
b
.experimentType() &&
18
a
.bunchCrossing() ==
b
.bunchCrossing() &&
a
.storeNumber() ==
b
.storeNumber();
19
}
20
}
// namespace edm
edm::isSameEvent
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
Definition:
EventAuxiliary.cc:15
edm::EventAuxiliary::processHistoryID_
ProcessHistoryID processHistoryID_
Definition:
EventAuxiliary.h:83
edm::EventAuxiliary::id_
EventID id_
Definition:
EventAuxiliary.h:85
edm::EventAuxiliary
Definition:
EventAuxiliary.h:14
edm::EventAuxiliary::write
void write(std::ostream &os) const
Definition:
EventAuxiliary.cc:9
b
double b
Definition:
hdecay.h:120
EventAuxiliary.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
a
double a
Definition:
hdecay.h:121
Generated for CMSSW Reference Manual by
1.8.14