00001 #ifndef CalibTracker_SiStripESProducers_SiStripPedestalsGenerator_H 00002 #define CalibTracker_SiStripESProducers_SiStripPedestalsGenerator_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/SiStripPedestals.h" 00008 #include <string> 00009 00010 class SiStripPedestalsGenerator : public SiStripCondObjBuilderBase<SiStripPedestals> { 00011 public: 00012 00013 explicit SiStripPedestalsGenerator(const edm::ParameterSet&,const edm::ActivityRegistry&); 00014 ~SiStripPedestalsGenerator(); 00015 00016 void getObj(SiStripPedestals* & obj){createObject(); obj=obj_;} 00017 00018 private: 00019 00020 void createObject(); 00021 00022 00023 }; 00024 00025 #endif