00001 #ifndef CalibTracker_SiStripESProducers_SiStripLatencyGenerator_H 00002 #define CalibTracker_SiStripESProducers_SiStripLatencyGenerator_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/SiStripLatency.h" 00008 #include <string> 00009 00014 class SiStripLatencyGenerator : public SiStripCondObjBuilderBase<SiStripLatency> { 00015 public: 00016 00017 explicit SiStripLatencyGenerator(const edm::ParameterSet&,const edm::ActivityRegistry&); 00018 ~SiStripLatencyGenerator(); 00019 00020 void getObj(SiStripLatency* & obj){createObject(); obj=obj_;} 00021 00022 private: 00023 00024 void createObject(); 00025 00026 }; 00027 00028 #endif