00001 #ifndef CalibTracker_SiStripESProducers_SiStripApvGainGenerator_H 00002 #define CalibTracker_SiStripESProducers_SiStripApvGainGenerator_H 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/ServiceRegistry/interface/Service.h" 00006 #include "CondTools/SiStrip/interface/SiStripCondObjBuilderBase.h" 00007 #include "CondFormats/SiStripObjects/interface/SiStripApvGain.h" 00008 #include <string> 00009 00016 class SiStripApvGainGenerator : public SiStripCondObjBuilderBase<SiStripApvGain> { 00017 public: 00018 00019 explicit SiStripApvGainGenerator(const edm::ParameterSet&,const edm::ActivityRegistry&); 00020 ~SiStripApvGainGenerator(); 00021 00022 void getObj(SiStripApvGain* & obj){createObject(); obj=obj_;} 00023 00024 private: 00025 00026 void createObject(); 00027 00028 00029 }; 00030 00031 #endif