CMS 3D CMS Logo

EventAuxiliary.cc

Go to the documentation of this file.
00001 #include "DataFormats/Provenance/interface/EventAuxiliary.h"
00002 #include <ostream>
00003 
00004 /*----------------------------------------------------------------------
00005 
00006 $Id: EventAuxiliary.cc,v 1.4 2008/02/28 20:45:06 wmtan Exp $
00007 
00008 ----------------------------------------------------------------------*/
00009 
00010 namespace edm {
00011   void
00012   EventAuxiliary::write(std::ostream& os) const {
00013     os << "Process History ID = " <<  processHistoryID_ << std::endl;
00014     os << id_ << std::endl;
00015     //os << "TimeStamp = " << time_ << std::endl;
00016     os << "LuminosityBlockNumber_t = " << luminosityBlock_ << std::endl;
00017   }
00018 
00019   bool
00020   isSameEvent(EventAuxiliary const& a, EventAuxiliary const& b) {
00021     return
00022       a.id_ == b.id_ &&
00023       a.processGUID_ == b.processGUID_ &&
00024       a.luminosityBlock_ == b.luminosityBlock_ &&
00025       a.time_ == b.time_ &&
00026       a.isRealData_ == b.isRealData_ &&
00027       a.experimentType_ == b.experimentType_ &&
00028       a.bunchCrossing_ == b.bunchCrossing_ &&
00029       a.storeNumber_ == b.storeNumber_;
00030   }
00031 }

Generated on Tue Jun 9 17:31:37 2009 for CMSSW by  doxygen 1.5.4