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 LuminosityBlockAuxiliary::write(std::ostream& os) const {
11  os << "Process History ID = " << processHistoryID_ << std::endl;
12  os << id_ << std::endl;
13  }
14 
16  assert(id_ == newAux.id_);
19  } else if (newAux.beginTime() < beginTime_) {
20  beginTime_ = newAux.beginTime();
21  }
22 
25  } else if (newAux.endTime() > endTime_) {
26  endTime_ = newAux.endTime();
27  }
28  }
29 } // namespace edm
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::assert
assert(be >=bs)
edm::LuminosityBlockAuxiliary::write
void write(std::ostream &os) const
Definition: LuminosityBlockAuxiliary.cc:10
edm::LuminosityBlockAuxiliary::id_
LuminosityBlockID id_
Definition: LuminosityBlockAuxiliary.h:60
edm::LuminosityBlockAuxiliary
Definition: LuminosityBlockAuxiliary.h:15
edm::LuminosityBlockAuxiliary::mergeAuxiliary
void mergeAuxiliary(LuminosityBlockAuxiliary const &newAux)
Definition: LuminosityBlockAuxiliary.cc:15
LuminosityBlockAuxiliary.h
edm::LuminosityBlockAuxiliary::beginTime_
Timestamp beginTime_
Definition: LuminosityBlockAuxiliary.h:62
edm::LuminosityBlockAuxiliary::endTime
Timestamp const & endTime() const
Definition: LuminosityBlockAuxiliary.h:43
edm::Timestamp::invalidTimestamp
static Timestamp invalidTimestamp()
Definition: Timestamp.h:82
edm::LuminosityBlockAuxiliary::endTime_
Timestamp endTime_
Definition: LuminosityBlockAuxiliary.h:63
edm::LuminosityBlockAuxiliary::processHistoryID_
ProcessHistoryID processHistoryID_
Definition: LuminosityBlockAuxiliary.h:58
edm::LuminosityBlockAuxiliary::beginTime
Timestamp const & beginTime() const
Definition: LuminosityBlockAuxiliary.h:38