00001 #ifndef CalibTracker_SiStripESProducers_SiStripThresholdFakeOnDB_h 00002 #define CalibTracker_SiStripESProducers_SiStripThresholdFakeOnDB_h 00003 00004 #include "CommonTools/ConditionDBWriter/interface/ConditionDBWriter.h" 00005 #include "CondFormats/SiStripObjects/interface/SiStripThreshold.h" 00006 #include <vector> 00007 00008 00009 class SiStripThresholdFakeOnDB : public ConditionDBWriter<SiStripThreshold> { 00010 00011 public: 00012 00013 explicit SiStripThresholdFakeOnDB(const edm::ParameterSet&); 00014 ~SiStripThresholdFakeOnDB(); 00015 00016 private: 00017 00018 void algoAnalyze(const edm::Event &, const edm::EventSetup &); 00019 00020 SiStripThreshold * getNewObject(); 00021 00022 private: 00023 00024 SiStripThreshold* threshold_; 00025 00026 00027 }; 00028 #endif