CMS 3D CMS Logo

RunAuxiliary.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  RunAuxiliary::write(std::ostream& os) const {
12  os << "Process History ID = " << processHistoryID_ << std::endl;
13  os << id_ << std::endl;
14  }
15 
16  void
18 
19  assert(id_ == newAux.id_);
21  }
22 
23  void
26  newAux.beginTime() == Timestamp::invalidTimestamp()) {
28  }
29  else if (newAux.beginTime() < beginTime_) {
30  beginTime_ = newAux.beginTime();
31  }
32 
34  newAux.endTime() == Timestamp::invalidTimestamp()) {
36  }
37  else if (newAux.endTime() > endTime_) {
38  endTime_ = newAux.endTime();
39  }
40  }
41 }
static Timestamp invalidTimestamp()
Definition: Timestamp.h:101
ProcessHistoryID processHistoryID_
Definition: RunAuxiliary.h:54
Timestamp const & endTime() const
Definition: RunAuxiliary.h:40
Timestamp const & beginTime() const
Definition: RunAuxiliary.h:39
Timestamp endTime_
Definition: RunAuxiliary.h:60
void mergeNewTimestampsIntoThis_(RunAuxiliary const &newAux)
Definition: RunAuxiliary.cc:24
void write(std::ostream &os) const
Definition: RunAuxiliary.cc:11
Timestamp beginTime_
Definition: RunAuxiliary.h:59
void mergeAuxiliary(RunAuxiliary const &aux)
Definition: RunAuxiliary.cc:17
HLT enums.