00001 #ifndef CalibTracker_SiStripESProducers_SiStripLorentzAngleDepESProducer 00002 #define CalibTracker_SiStripESProducers_SiStripLorentzAngleDepESProducer 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 "CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h" 00019 #include "CondFormats/SiStripObjects/interface/SiStripLatency.h" 00020 #include "CalibTracker/Records/interface/SiStripDependentRecords.h" 00021 00022 class SiStripLorentzAngleDepESProducer : public edm::ESProducer { 00023 public: 00024 SiStripLorentzAngleDepESProducer(const edm::ParameterSet&); 00025 ~SiStripLorentzAngleDepESProducer(){}; 00026 00027 boost::shared_ptr<SiStripLorentzAngle> produce(const SiStripLorentzAngleDepRcd&); 00028 00029 private: 00030 00031 edm::ParameterSet pset_; 00032 //edm::FileInPath fp_; 00033 //bool MergeList_; 00034 00035 // typedef std::vector< edm::ParameterSet > Parameters; 00036 edm::ParameterSet getLatency; 00037 edm::ParameterSet getPeak; 00038 edm::ParameterSet getDeconv; 00039 00040 boost::shared_ptr<SiStripLorentzAngle> siStripLA_; 00041 00042 }; 00043 00044 #endif 00045