CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CondTools/SiStrip/plugins/SiStripBadFiberBuilder.h

Go to the documentation of this file.
00001 #ifndef SiStripBadFiberBuilder_H
00002 #define SiStripBadFiberBuilder_H
00003 
00004 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00005 #include "FWCore/Utilities/interface/Exception.h"
00006 #include "FWCore/Framework/interface/ESHandle.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 
00009 #include "CommonTools/ConditionDBWriter/interface/ConditionDBWriter.h"
00010 #include "CondFormats/SiStripObjects/interface/SiStripBadStrip.h"
00011 #include "FWCore/ParameterSet/interface/FileInPath.h"
00012 #include <vector>
00013 
00014 #include <ext/hash_map>
00015 
00016 class SiStripBadFiberBuilder : public ConditionDBWriter<SiStripBadStrip> {
00017 
00018 public:
00019 
00020   explicit SiStripBadFiberBuilder(const edm::ParameterSet&);
00021   ~SiStripBadFiberBuilder();
00022 
00023   void algoAnalyze(const edm::Event & event, const edm::EventSetup& iSetup);
00024 
00025 private:
00026 
00027   SiStripBadStrip* getNewObject(){return obj;}
00028 
00029 private:
00030   edm::FileInPath fp_;
00031   bool printdebug_;
00032   SiStripBadStrip* obj ;
00033 
00034   typedef std::vector< edm::ParameterSet > Parameters;
00035   Parameters BadComponentList_;
00036 
00037 };
00038 #endif