CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:
21  const SiStripGainESSource& operator=(const SiStripGainESSource&) = delete;
22  ~SiStripGainESSource() override { ; }
23 
24  virtual std::unique_ptr<SiStripApvGain> produce(const SiStripApvGainRcd&);
25 
26 protected:
28  const edm::IOVSyncValue&,
29  edm::ValidityInterval&) override;
30 
31 private:
32  virtual SiStripApvGain* makeGain() = 0;
33 };
34 
35 #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.