CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CalibTracker/SiStripESProducers/plugins/real/SiStripDelayESProducer.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiStripESProducers_SiStripDelayESProducer
00002 #define CalibTracker_SiStripESProducers_SiStripDelayESProducer
00003 
00004 // system include files
00005 #include <memory>
00006 #include "boost/shared_ptr.hpp"
00007 
00008 // user include files
00009 #include "FWCore/Framework/interface/ModuleFactory.h"
00010 #include "FWCore/Framework/interface/ESProducer.h"
00011 
00012 #include "FWCore/Framework/interface/ESHandle.h"
00013 
00014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00015 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00016 
00017 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
00018 #include "CalibFormats/SiStripObjects/interface/SiStripDelay.h"
00019 #include "CalibTracker/Records/interface/SiStripDependentRecords.h"
00020 
00021 class SiStripDelayESProducer : public edm::ESProducer {
00022  public:
00023   SiStripDelayESProducer(const edm::ParameterSet&);
00024   ~SiStripDelayESProducer(){};
00025   
00026   boost::shared_ptr<SiStripDelay> produce(const SiStripDelayRcd&);
00027    
00028  private:
00029 
00030   edm::ParameterSet pset_; 
00031   edm::FileInPath fp_;
00032   bool MergeList_; 
00033 
00034   typedef std::vector< edm::ParameterSet > Parameters;
00035   Parameters toGet;
00036 
00037   boost::shared_ptr<SiStripDelay> delay;
00038 };
00039 
00040 #endif