File indexing completed on 2024-04-06 12:03:54
0001 #ifndef DataFormats_Common_SecondaryEventIDAndFileInfo_h
0002 #define DataFormats_Common_SecondaryEventIDAndFileInfo_h
0003
0004 #include "DataFormats/Provenance/interface/EventID.h"
0005
0006
0007 namespace edm {
0008 class SecondaryEventIDAndFileInfo {
0009 public:
0010 SecondaryEventIDAndFileInfo() : eventID_(), fileNameHash_(0U) {}
0011 SecondaryEventIDAndFileInfo(EventID const& evID, size_t fNameHash) : eventID_(evID), fileNameHash_(fNameHash) {}
0012 EventID const& eventID() const { return eventID_; }
0013 size_t fileNameHash() const { return fileNameHash_; }
0014
0015 private:
0016 EventID eventID_;
0017 size_t fileNameHash_;
0018 };
0019 }
0020 #endif