CMS 3D CMS Logo

LuminosityBlockAuxiliary.cc
Go to the documentation of this file.
2 #include <cassert>
3 #include <ostream>
4 
5 /*----------------------------------------------------------------------
6 
7 ----------------------------------------------------------------------*/
8 
9 namespace edm {
10  void
11  LuminosityBlockAuxiliary::write(std::ostream& os) const {
12  os << "Process History ID = " << processHistoryID_ << std::endl;
13  os << id_ << std::endl;
14  }
15 
16  void
18  assert(id_ == newAux.id_);
20  newAux.beginTime() == Timestamp::invalidTimestamp()) {
22  }
23  else if (newAux.beginTime() < beginTime_) {
24  beginTime_ = newAux.beginTime();
25  }
26 
28  newAux.endTime() == Timestamp::invalidTimestamp()) {
30  }
31  else if (newAux.endTime() > endTime_) {
32  endTime_ = newAux.endTime();
33  }
34  }
35 }
static Timestamp invalidTimestamp()
Definition: Timestamp.h:101
void write(std::ostream &os) const
void mergeAuxiliary(LuminosityBlockAuxiliary const &newAux)
Timestamp const & endTime() const
Timestamp const & beginTime() const
HLT enums.