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:
22  ~SiStripPedestalsESSource() override { ; }
23 
24  virtual std::unique_ptr<SiStripPedestals> produce(const SiStripPedestalsRcd&);
25 
26 protected:
28  const edm::IOVSyncValue&,
29  edm::ValidityInterval&) override;
30 
31 private:
32  virtual SiStripPedestals* makePedestals() = 0;
33 };
34 
35 #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.