Go to the documentation of this file.00001 #ifndef CalibTracker_SiStripESProducers_SiStripQualityESProducer
00002 #define CalibTracker_SiStripESProducers_SiStripQualityESProducer
00003
00004
00005 #include <memory>
00006 #include "boost/shared_ptr.hpp"
00007
00008
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/SiStripQuality.h"
00019 #include "CalibTracker/Records/interface/SiStripDependentRecords.h"
00020
00021 class SiStripQualityESProducer : public edm::ESProducer {
00022 public:
00023 SiStripQualityESProducer(const edm::ParameterSet&);
00024 ~SiStripQualityESProducer(){};
00025
00026 boost::shared_ptr<SiStripQuality> produce(const SiStripQualityRcd&);
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<SiStripQuality> quality;
00038 };
00039
00040 #endif