![]() |
![]() |
00001 #include "DataFormats/Provenance/interface/RunLumiEntryInfo.h" 00002 #include <ostream> 00003 00004 /*---------------------------------------------------------------------- 00005 00006 ----------------------------------------------------------------------*/ 00007 00008 namespace edm { 00009 RunLumiEntryInfo::RunLumiEntryInfo() : 00010 branchID_(), 00011 productStatus_(productstatus::uninitialized()) 00012 {} 00013 00014 RunLumiEntryInfo::~RunLumiEntryInfo() {} 00015 00016 void 00017 RunLumiEntryInfo::write(std::ostream& os) const { 00018 os << "branch ID = " << branchID() << '\n'; 00019 os << "product status = " << productStatus() << '\n'; 00020 } 00021 00022 bool 00023 operator==(RunLumiEntryInfo const& a, RunLumiEntryInfo const& b) { 00024 return 00025 a.branchID() == b.branchID() 00026 && a.productStatus() == b.productStatus(); 00027 } 00028 }