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
SiStripGainESSource::produce
virtual std::unique_ptr< SiStripApvGain > produce(const SiStripApvGainRcd &)
Definition: SiStripGainESSource.cc:19
SiStripGainESSource
Pure virtual class for EventSetup sources of SiStripApvGain.
Definition: SiStripGainESSource.h:17
SiStripGainESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: SiStripGainESSource.cc:33
edm::ValidityInterval
Definition: ValidityInterval.h:28
ESProducer.h
SiStripGainESSource::~SiStripGainESSource
~SiStripGainESSource() override
Definition: SiStripGainESSource.h:20
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
SiStripGainESSource::SiStripGainESSource
SiStripGainESSource(const edm::ParameterSet &)
Definition: SiStripGainESSource.cc:12
SiStripGainESSource::operator=
const SiStripGainESSource & operator=(const SiStripGainESSource &)=delete
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripApvGainRcd
Definition: SiStripCondDataRecords.h:8
edm::ESProducer
Definition: ESProducer.h:101
SiStripGainESSource::makeGain
virtual SiStripApvGain * makeGain()=0
ParameterSet.h
SiStripApvGain
Definition: SiStripApvGain.h:25