CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
static Timestamp invalidTimestamp()
Definition: Timestamp.h:82
void write(std::ostream &os) const
assert(be >=bs)
void mergeAuxiliary(LuminosityBlockAuxiliary const &newAux)
Timestamp const & endTime() const
Timestamp const & beginTime() const