CMS 3D CMS Logo

SiStripGainESSource.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripESProducers_SiStripGainESSource_H
2 #define CalibTracker_SiStripESProducers_SiStripGainESSource_H
3 
7 #include <memory>
8 
9 class SiStripApvGain;
10 class SiStripApvGainRcd;
11 
18 public:
20  ~SiStripGainESSource() override { ; }
21 
22  virtual std::unique_ptr<SiStripApvGain> produce(const SiStripApvGainRcd&);
23 
24 protected:
26  const edm::IOVSyncValue&,
27  edm::ValidityInterval&) override;
28 
29 private:
31  const SiStripGainESSource& operator=(const SiStripGainESSource&) = delete;
32 
33  virtual SiStripApvGain* makeGain() = 0;
34 };
35 
36 #endif // CalibTracker_SiStripESProducers_SiStripGainESSource_H
const SiStripGainESSource & operator=(const SiStripGainESSource &)=delete
virtual std::unique_ptr< SiStripApvGain > produce(const SiStripApvGainRcd &)
virtual SiStripApvGain * makeGain()=0
SiStripGainESSource(const edm::ParameterSet &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Pure virtual class for EventSetup sources of SiStripApvGain.