00001 #ifndef CalibTracker_SiStripESProducers_SiStripPedestalsFakeESSource_H 00002 #define CalibTracker_SiStripESProducers_SiStripPedestalsFakeESSource_H 00003 00004 #include "CalibTracker/SiStripESProducers/interface/SiStripPedestalsESSource.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "CondFormats/DataRecord/interface/SiStripPedestalsRcd.h" 00007 #include "CondFormats/SiStripObjects/interface/SiStripPedestals.h" 00008 #include "FWCore/ParameterSet/interface/FileInPath.h" 00009 #include "boost/cstdint.hpp" 00010 #include <memory> 00011 00012 00018 class SiStripPedestalsFakeESSource : public SiStripPedestalsESSource { 00019 00020 public: 00021 00022 SiStripPedestalsFakeESSource( const edm::ParameterSet& ); 00023 virtual ~SiStripPedestalsFakeESSource() {;} 00024 00025 00026 private: 00027 00028 00029 SiStripPedestals* makePedestals(); 00030 00031 00032 private: 00033 00034 //parameters for strip length proportional noise generation. not used if random mode is chosen 00035 uint32_t PedestalValue_; 00036 double LowThValue_; 00037 double HighThValue_; 00038 00039 bool printdebug_; 00040 edm::FileInPath fp_; 00041 00042 }; 00043 00044 00045 #endif // CalibTracker_SiStripESProducers_SiStripPedestalsFakeESSource_H 00046