Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:03

0001 #include "DataFormats/Provenance/interface/EventAuxiliary.h"
0002 #include <ostream>
0003 
0004 /*----------------------------------------------------------------------
0005 
0006 ----------------------------------------------------------------------*/
0007 
0008 namespace edm {
0009   void EventAuxiliary::write(std::ostream& os) const {
0010     os << "Process History ID = " << processHistoryID_ << std::endl;
0011     os << id_ << std::endl;
0012     //os << "TimeStamp = " << time_ << std::endl;
0013   }
0014 
0015   bool isSameEvent(EventAuxiliary const& a, EventAuxiliary const& b) {
0016     return a.id() == b.id() && a.processGUID() == b.processGUID() && a.luminosityBlock() == b.luminosityBlock() &&
0017            a.time() == b.time() && a.isRealData() == b.isRealData() && a.experimentType() == b.experimentType() &&
0018            a.bunchCrossing() == b.bunchCrossing() && a.storeNumber() == b.storeNumber();
0019   }
0020 }  // namespace edm