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(const edm::ParameterSet &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
virtual std::unique_ptr< SiStripPedestals > produce(const SiStripPedestalsRcd &)
const SiStripPedestalsESSource & operator=(const SiStripPedestalsESSource &)=delete
virtual SiStripPedestals * makePedestals()=0
Pure virtual class for EventSetup sources of SiStripPedestals.