CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/RecoCaloTools/EcalChannelKiller/interface/EcalChannelKiller.h

Go to the documentation of this file.
00001 #ifndef RecoCaloTools_EcalChannelKiller_EcalChannelKiller_HH
00002 #define RecoCaloTools_EcalChannelKiller_EcalChannelKiller_HH
00003  
00010 // system include files
00011 #include <memory>
00012 
00013 // user include files
00014 #include "FWCore/Framework/interface/Frameworkfwd.h"
00015 #include "FWCore/Framework/interface/EDProducer.h"
00016 #include "FWCore/Framework/interface/ESHandle.h"
00017 
00018 #include "FWCore/Framework/interface/Event.h"
00019 #include "FWCore/Framework/interface/MakerMacros.h"
00020 
00021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00022 
00023 
00024 #include <string>
00025 
00026 //
00027 // class decleration
00028 //
00029 
00030 class EcalChannelKiller : public edm::EDProducer {
00031    public:
00032       explicit EcalChannelKiller(const edm::ParameterSet&);
00033       ~EcalChannelKiller();
00034 
00035    private:
00036       virtual void beginJob() ;
00037       virtual void produce(edm::Event&, const edm::EventSetup&);
00038       virtual void endJob() ;
00039       
00040       // ----------member data ---------------------------
00041   std::string hitProducer_;
00042   std::string hitCollection_;
00043   std::string reducedHitCollection_;
00044   std::string DeadChannelFileName_;
00045   std::vector<EBDetId> ChannelsDeadID;
00046 };
00047 
00048 
00049 #endif