CMS 3D CMS Logo

SiStripPedestalsESSource.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripESProducers_SiStripPedestalsESSource_H
2 #define CalibTracker_SiStripESProducers_SiStripPedestalsESSource_H
3 
7 #include <memory>
8 
9 class SiStripPedestals;
11 
18 public:
20  ~SiStripPedestalsESSource() override { ; }
21 
22  virtual std::unique_ptr<SiStripPedestals> produce(const SiStripPedestalsRcd&);
23 
24 protected:
26  const edm::IOVSyncValue&,
27  edm::ValidityInterval&) override;
28 
29 private:
32 
33  virtual SiStripPedestals* makePedestals() = 0;
34 };
35 
36 #endif // CalibTracker_SiStripESProducers_SiStripPedestalsESSource_H
SiStripPedestalsESSource::~SiStripPedestalsESSource
~SiStripPedestalsESSource() override
Definition: SiStripPedestalsESSource.h:20
SiStripPedestalsESSource::makePedestals
virtual SiStripPedestals * makePedestals()=0
SiStripPedestalsESSource::operator=
const SiStripPedestalsESSource & operator=(const SiStripPedestalsESSource &)=delete
edm::ValidityInterval
Definition: ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
SiStripPedestalsRcd
Definition: SiStripCondDataRecords.h:44
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripPedestalsESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: SiStripPedestalsESSource.cc:33
SiStripPedestalsESSource::SiStripPedestalsESSource
SiStripPedestalsESSource(const edm::ParameterSet &)
Definition: SiStripPedestalsESSource.cc:12
edm::ESProducer
Definition: ESProducer.h:101
SiStripPedestalsESSource::produce
virtual std::unique_ptr< SiStripPedestals > produce(const SiStripPedestalsRcd &)
Definition: SiStripPedestalsESSource.cc:19
SiStripPedestals
Definition: SiStripPedestals.h:27
ParameterSet.h
SiStripPedestalsESSource
Pure virtual class for EventSetup sources of SiStripPedestals.
Definition: SiStripPedestalsESSource.h:17