CMS 3D CMS Logo

SiStripNoiseESSource.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripESProducers_SiStripNoiseESSource_H
2 #define CalibTracker_SiStripESProducers_SiStripNoiseESSource_H
3 
7 #include <memory>
8 
9 class SiStripNoises;
10 class SiStripNoisesRcd;
11 
18 public:
21  const SiStripNoiseESSource& operator=(const SiStripNoiseESSource&) = delete;
22  ~SiStripNoiseESSource() override { ; }
23 
24  virtual std::unique_ptr<SiStripNoises> produce(const SiStripNoisesRcd&);
25 
26 protected:
28  const edm::IOVSyncValue&,
29  edm::ValidityInterval&) override;
30 
31 private:
32  virtual SiStripNoises* makeNoise() = 0;
33 };
34 
35 #endif // CalibTracker_SiStripESProducers_SiStripNoiseESSource_H
virtual SiStripNoises * makeNoise()=0
virtual std::unique_ptr< SiStripNoises > produce(const SiStripNoisesRcd &)
const SiStripNoiseESSource & operator=(const SiStripNoiseESSource &)=delete
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
SiStripNoiseESSource(const edm::ParameterSet &)
Pure virtual class for EventSetup sources of SiStripNoises.