Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:32:17

0001 
0002 #ifndef OnlineDB_SiStripESSources_SiStripGainBuilderFromDb_H
0003 #define OnlineDB_SiStripESSources_SiStripGainBuilderFromDb_H
0004 
0005 #include "CalibTracker/SiStripESProducers/interface/SiStripGainESSource.h"
0006 
0007 class SiStripGainBuilderFromDb : public SiStripGainESSource {
0008 public:
0009   SiStripGainBuilderFromDb(const edm::ParameterSet&);
0010 
0011   ~SiStripGainBuilderFromDb() override;
0012 
0013   /** Builds pedestals using info from configuration database. */
0014   SiStripApvGain* makeGain() override;
0015 
0016 protected:
0017   /** Virtual method that is called by makeGain() to allow
0018       gain to be written to the conditions database. */
0019   virtual void writeGainToCondDb(const SiStripApvGain&) { ; }
0020 };
0021 
0022 #endif  // OnlineDB_SiStripESSources_SiStripGainBuilderFromDb_H