test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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>
15  public:
18  {
19  setWhatProduced(this);
20  findingRecord<RecordType>();
21  }
22 
24 
25  ReturnType produce(const RecordType &record)
26  { return this->produce(); }
27 
28  protected:
30 
31  private:
33  const edm::IOVSyncValue &syncValue,
34  edm::ValidityInterval &oValidity)
35  {
36  oValidity = edm::ValidityInterval(
39  }
40 };
41 
42 } // namespace PhysicsTools
43 
44 #endif // PhysicsTools_MVAComputer_MVAComputerESSourceImpl_h
JetCorrectorParameters::Record record
Definition: classes.h:7
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &key, const edm::IOVSyncValue &syncValue, edm::ValidityInterval &oValidity)
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
static const IOVSyncValue & beginOfTime()
boost::shared_ptr< Calibration::MVAComputerContainer > ReturnType
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
MVAComputerESSourceImpl(const edm::ParameterSet &params)
ReturnType produce(const RecordType &record)