File indexing completed on 2025-04-30 22:24:06
0001 #ifndef FWCore_Framework_ESModuleProducesInfo_h
0002 #define FWCore_Framework_ESModuleProducesInfo_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "FWCore/Framework/interface/DataKey.h"
0012 #include "FWCore/Framework/interface/EventSetupRecordKey.h"
0013 namespace edm::eventsetup {
0014 class ESModuleProducesInfo {
0015 public:
0016 ESModuleProducesInfo(EventSetupRecordKey const& iRecord, DataKey const& iDataKey, unsigned int iProduceMethodID)
0017 : record_(iRecord), dataKey_(iDataKey), produceMethodID_(iProduceMethodID) {}
0018
0019 EventSetupRecordKey const& record() const { return record_; }
0020 DataKey const& dataKey() const { return dataKey_; }
0021 unsigned int produceMethodID() const { return produceMethodID_; }
0022
0023 private:
0024 EventSetupRecordKey record_;
0025 DataKey dataKey_;
0026 unsigned int produceMethodID_;
0027 };
0028 }
0029 #endif