CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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_);
20  assert(processHistoryID_ == newAux.processHistoryID_);
22 
23  }
24 
25  void
28  newAux.beginTime() == Timestamp::invalidTimestamp()) {
30  }
31  else if (newAux.beginTime() < beginTime_) {
32  beginTime_ = newAux.beginTime();
33  }
34 
36  newAux.endTime() == Timestamp::invalidTimestamp()) {
38  }
39  else if (newAux.endTime() > endTime_) {
40  endTime_ = newAux.endTime();
41  }
42  }
43 }
ProcessHistoryID processHistoryID_
Definition: RunAuxiliary.h:53
Timestamp const & endTime() const
Definition: RunAuxiliary.h:40
Timestamp const & beginTime() const
Definition: RunAuxiliary.h:39
Timestamp endTime_
Definition: RunAuxiliary.h:59
void mergeNewTimestampsIntoThis_(RunAuxiliary const &newAux)
Definition: RunAuxiliary.cc:26
void write(std::ostream &os) const
Definition: RunAuxiliary.cc:11
Timestamp beginTime_
Definition: RunAuxiliary.h:58
static Timestamp const & invalidTimestamp()
Definition: Timestamp.cc:83
void mergeAuxiliary(RunAuxiliary const &aux)
Definition: RunAuxiliary.cc:17