CMS 3D CMS Logo

SiStripThresholdFakeESSource.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiStripESProducers_SiStripThresholdFakeESSource_H
00002 #define CalibTracker_SiStripESProducers_SiStripThresholdFakeESSource_H
00003 
00004 #include "FWCore/Framework/interface/ESProducer.h"
00005 #include "FWCore/Framework/interface/ESHandle.h"
00006 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 #include "CondFormats/DataRecord/interface/SiStripThresholdRcd.h"
00009 #include "CondFormats/SiStripObjects/interface/SiStripThreshold.h"
00010 #include "FWCore/ParameterSet/interface/FileInPath.h"
00011 #include "boost/cstdint.hpp"
00012 #include <memory>
00013 
00014 
00020 class SiStripThresholdFakeESSource : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder {
00021 
00022  public:
00023 
00024   SiStripThresholdFakeESSource( const edm::ParameterSet& );
00025   virtual ~SiStripThresholdFakeESSource() {;}
00026   
00027   virtual std::auto_ptr<SiStripThreshold> produce( const SiStripThresholdRcd& );
00028   
00029   
00030  protected:
00031   
00032   virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&,
00033                                const edm::IOVSyncValue&,
00034                                edm::ValidityInterval& );
00035   
00036  private:
00037   
00038   SiStripThresholdFakeESSource( const SiStripThresholdFakeESSource& );
00039   const SiStripThresholdFakeESSource& operator=( const SiStripThresholdFakeESSource& );
00040 
00041 private:
00042 
00043   edm::FileInPath fp_;
00044   float lTh_, hTh_;
00045 };
00046 
00047 
00048 #endif // CalibTracker_SiStripThresholdESProducers_SiStripThresholdFakeESSource_H
00049 

Generated on Tue Jun 9 17:25:51 2009 for CMSSW by  doxygen 1.5.4