00001 #ifndef DataFormats_Provenance_EventProcessHistoryID_h 00002 #define DataFormats_Provenance_EventProcessHistoryID_h 00003 00004 #include "DataFormats/Provenance/interface/EventID.h" 00005 #include "DataFormats/Provenance/interface/ProcessHistoryID.h" 00006 00007 namespace edm 00008 { 00009 struct EventProcessHistoryID { 00010 EventProcessHistoryID() : eventID_(), processHistoryID_() {} 00011 EventProcessHistoryID(EventID const& id, ProcessHistoryID const& ph) : eventID_(id), processHistoryID_(ph) {} 00012 EventID eventID_; 00013 ProcessHistoryID processHistoryID_; 00014 }; 00015 inline 00016 bool operator<(EventProcessHistoryID const& lh, EventProcessHistoryID const& rh) { 00017 return lh.eventID_ < rh.eventID_; 00018 } 00019 } 00020 00021 00022 #endif