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