CMS 3D CMS Logo

MVAComputerESSourceImpl.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_MVAComputer_MVAComputerESSourceImpl_h
2 #define PhysicsTools_MVAComputer_MVAComputerESSourceImpl_h
3 
6 
9 
10 namespace PhysicsTools {
11 
12  template <class RecordType>
14  public:
16  setWhatProduced(this);
17  findingRecord<RecordType>();
18  }
19 
21 
22  ReturnType produce(const RecordType &record) { return this->produce(); }
23 
24  protected:
26 
27  private:
29  const edm::IOVSyncValue &syncValue,
30  edm::ValidityInterval &oValidity) override {
32  }
33  };
34 
35 } // namespace PhysicsTools
36 
37 #endif // PhysicsTools_MVAComputer_MVAComputerESSourceImpl_h
std::unique_ptr< Calibration::MVAComputerContainer > ReturnType
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
key
prepare the HTCondor submission files and eventually submit them
MVAComputerESSourceImpl(const edm::ParameterSet &params)
ReturnType produce(const RecordType &record)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &key, const edm::IOVSyncValue &syncValue, edm::ValidityInterval &oValidity) override