CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/CalibTracker/SiPixelESProducers/interface/SiPixelFakeGainForHLTESSource.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiPixelGainForHLTESProducers_SiPixelFakeGainForHLTESSource_h
00002 #define CalibTracker_SiPixelGainForHLTESProducers_SiPixelFakeGainForHLTESSource_h
00003 // -*- C++ -*-
00004 //
00005 // Package:    SiPixelFakeGainForHLTESSource
00006 // Class:      SiPixelFakeGainForHLTESSource
00007 // 
00015 //
00016 // Original Author:  Vincenzo Chiochia
00017 //         Created:  Tue 8 12:31:25 CEST 2007
00018 // $Id: SiPixelFakeGainForHLTESSource.h,v 1.1 2008/02/11 15:23:29 friis Exp $
00019 //
00020 //
00021 
00022 
00023 // system include files
00024 #include <memory>
00025 #include "boost/shared_ptr.hpp"
00026 
00027 // user include files
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 #include "FWCore/Framework/interface/ESProducer.h"
00030 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00031 #include "CondFormats/SiPixelObjects/interface/SiPixelGainCalibrationForHLT.h"
00032 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationForHLTRcd.h"
00033 //
00034 // class decleration
00035 //
00036 
00037 class SiPixelFakeGainForHLTESSource : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder  {
00038 
00039  public:
00040   SiPixelFakeGainForHLTESSource(const edm::ParameterSet &);
00041   ~SiPixelFakeGainForHLTESSource();
00042   
00043   //      typedef edm::ESProducts<> ReturnType;
00044   
00045   virtual std::auto_ptr<SiPixelGainCalibrationForHLT>  produce(const SiPixelGainCalibrationForHLTRcd &);
00046   
00047  protected:
00048   
00049   virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&,
00050                                const edm::IOVSyncValue&,
00051                                edm::ValidityInterval& );
00052   
00053   
00054  private:
00055   
00056   edm::FileInPath fp_;
00057 
00058 };
00059 #endif