CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripGainESSource.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripESProducers_SiStripGainESSource_H
2 #define CalibTracker_SiStripESProducers_SiStripGainESSource_H
3 
8 #include <memory>
9 
10 class SiStripApvGain;
11 class SiStripApvGainRcd;
12 
19 
20  public:
21 
23  virtual ~SiStripGainESSource() {;}
24 
25  virtual std::auto_ptr<SiStripApvGain> produce( const SiStripApvGainRcd& );
26 
27  protected:
28 
30  const edm::IOVSyncValue&,
32 
33  private:
34 
37 
38  virtual SiStripApvGain* makeGain() = 0;
39 
40 };
41 
42 #endif // CalibTracker_SiStripESProducers_SiStripGainESSource_H
43 
44 
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
virtual SiStripApvGain * makeGain()=0
virtual std::auto_ptr< SiStripApvGain > produce(const SiStripApvGainRcd &)
SiStripGainESSource(const edm::ParameterSet &)
const SiStripGainESSource & operator=(const SiStripGainESSource &)
Pure virtual class for EventSetup sources of SiStripApvGain.