00001 #include "DataFormats/Provenance/interface/EventAuxiliary.h" 00002 #include <ostream> 00003 00004 /*---------------------------------------------------------------------- 00005 00006 ----------------------------------------------------------------------*/ 00007 00008 namespace edm { 00009 void 00010 EventAuxiliary::write(std::ostream& os) const { 00011 os << "Process History ID = " << processHistoryID_ << std::endl; 00012 os << id_ << std::endl; 00013 //os << "TimeStamp = " << time_ << std::endl; 00014 } 00015 00016 bool 00017 isSameEvent(EventAuxiliary const& a, EventAuxiliary const& b) { 00018 return 00019 a.id() == b.id() && 00020 a.processGUID() == b.processGUID() && 00021 a.luminosityBlock() == b.luminosityBlock() && 00022 a.time() == b.time() && 00023 a.isRealData() == b.isRealData() && 00024 a.experimentType() == b.experimentType() && 00025 a.bunchCrossing() == b.bunchCrossing() && 00026 a.storeNumber() == b.storeNumber(); 00027 } 00028 }