CMS 3D CMS Logo

EventAuxiliary.cc
Go to the documentation of this file.
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
HLT enums.
Definition: AlignableModifier.h:19
b
double b
Definition: hdecay.h:118
edm::EventAuxiliary
Definition: EventAuxiliary.h:14
edm::EventAuxiliary::id_
EventID id_
Definition: EventAuxiliary.h:85
a
double a
Definition: hdecay.h:119
edm::EventAuxiliary::processHistoryID_
ProcessHistoryID processHistoryID_
Definition: EventAuxiliary.h:83
EventAuxiliary.h
edm::isSameEvent
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
Definition: EventAuxiliary.cc:15
edm::EventAuxiliary::write
void write(std::ostream &os) const
Definition: EventAuxiliary.cc:9