CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/CalibTracker/SiPixelESProducers/interface/SiPixelFakeCPEGenericErrorParmESSource.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiPixelESProducers_SiPixelFakeCPEGenericErrorParmESSource_h
00002 #define CalibTracker_SiPixelESProducers_SiPixelFakeCPEGenericErrorParmESSource_h
00003 
00004 #include <memory>
00005 #include "boost/shared_ptr.hpp"
00006 
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 #include "FWCore/Framework/interface/ESProducer.h"
00009 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00010 #include "CondFormats/SiPixelObjects/interface/SiPixelCPEGenericErrorParm.h"
00011 #include "CondFormats/DataRecord/interface/SiPixelCPEGenericErrorParmRcd.h"
00012 
00013 class SiPixelFakeCPEGenericErrorParmESSource : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder  {
00014 
00015  public:
00016   SiPixelFakeCPEGenericErrorParmESSource(const edm::ParameterSet &);
00017   ~SiPixelFakeCPEGenericErrorParmESSource();
00018   
00019    virtual std::auto_ptr<SiPixelCPEGenericErrorParm>  produce(const SiPixelCPEGenericErrorParmRcd &);
00020   
00021  protected:
00022   
00023   virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&,
00024                                const edm::IOVSyncValue&,
00025                                edm::ValidityInterval& );
00026   
00027  private:
00028   
00029   edm::FileInPath fp_;
00030         double version_;
00031 
00032 };
00033 #endif