CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoLocalCalo/EcalDeadChannelRecoveryProducers/interface/EcalDeadChannelRecoveryProducers.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalDeadChannelRecoveryProducers_EcalDeadChannelRecoveryProducers_HH
00002 #define RecoLocalCalo_EcalDeadChannelRecoveryProducers_EcalDeadChannelRecoveryProducers_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 EcalDeadChannelRecoveryProducers : public edm::EDProducer {
00031    public:
00032       explicit EcalDeadChannelRecoveryProducers(const edm::ParameterSet&);
00033       ~EcalDeadChannelRecoveryProducers();
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 
00042   double Sum8GeVThreshold_;
00043   std::string hitProducer_;
00044   std::string hitCollection_;
00045   std::string reducedHitCollection_;
00046   std::string DeadChannelFileName_;
00047   std::vector<EBDetId> ChannelsDeadID;
00048   bool CorrectDeadCells_;
00049   std::string CorrectionMethod_;
00050 
00051 };
00052 
00053 
00054 #endif