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 
8 #include <memory>
9 
10 class SiStripApvGain;
11 class SiStripApvGainRcd;
12 
19 
20  public:
21 
23  ~SiStripGainESSource() override {;}
24 
25  virtual std::unique_ptr<SiStripApvGain> produce( const SiStripApvGainRcd& );
26 
27  protected:
28 
30  const edm::IOVSyncValue&,
31  edm::ValidityInterval& ) override;
32 
33  private:
34 
35  SiStripGainESSource( const SiStripGainESSource& ) = delete;
36  const SiStripGainESSource& operator=( const SiStripGainESSource& ) = delete;
37 
38  virtual SiStripApvGain* makeGain() = 0;
39 
40 };
41 
42 #endif // CalibTracker_SiStripESProducers_SiStripGainESSource_H
43 
44 
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.