CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventAuxiliary.cc
Go to the documentation of this file.
2 #include <ostream>
3 
4 /*----------------------------------------------------------------------
5 
6 ----------------------------------------------------------------------*/
7 
8 namespace edm {
9  void EventAuxiliary::write(std::ostream& os) const {
10  os << "Process History ID = " << processHistoryID_ << std::endl;
11  os << id_ << std::endl;
12  //os << "TimeStamp = " << time_ << std::endl;
13  }
14 
15  bool isSameEvent(EventAuxiliary const& a, EventAuxiliary const& b) {
16  return a.id() == b.id() && a.processGUID() == b.processGUID() && a.luminosityBlock() == b.luminosityBlock() &&
17  a.time() == b.time() && a.isRealData() == b.isRealData() && a.experimentType() == b.experimentType() &&
18  a.bunchCrossing() == b.bunchCrossing() && a.storeNumber() == b.storeNumber();
19  }
20 } // namespace edm
void write(std::ostream &os) const
bool isRealData() const
bool isSameEvent(EventAuxiliary const &a, EventAuxiliary const &b)
ProcessHistoryID processHistoryID_
std::string const & processGUID() const
Timestamp const & time() const
int bunchCrossing() const
LuminosityBlockNumber_t luminosityBlock() const
ExperimentType experimentType() const
int storeNumber() const
double b
Definition: hdecay.h:118
EventID const & id() const
double a
Definition: hdecay.h:119