00001 #ifndef _GAMISODETIDCOLLECTIONPRODUCER_H 00002 #define _GAMISODETIDCOLLECTIONPRODUCER_H 00003 00004 // -*- C++ -*- 00005 // 00006 // Package: GamIsoDetIdCollectionProducer 00007 // Class: GamIsoDetIdCollectionProducer 00008 // 00021 // system include files 00022 #include <memory> 00023 00024 // user include files 00025 #include "FWCore/Framework/interface/Frameworkfwd.h" 00026 #include "FWCore/Framework/interface/EDProducer.h" 00027 00028 #include "FWCore/Framework/interface/Event.h" 00029 #include "FWCore/Framework/interface/MakerMacros.h" 00030 #include "FWCore/Utilities/interface/InputTag.h" 00031 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00032 00033 #include "RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgo.h" 00034 00035 class CaloTopology; 00036 00037 class GamIsoDetIdCollectionProducer : public edm::EDProducer { 00038 public: 00040 explicit GamIsoDetIdCollectionProducer(const edm::ParameterSet&); 00041 ~GamIsoDetIdCollectionProducer(); 00042 void beginJob (); 00044 virtual void produce(edm::Event &, const edm::EventSetup&); 00045 00046 private: 00047 // ----------member data --------------------------- 00048 edm::InputTag recHitsLabel_; 00049 edm::InputTag emObjectLabel_; 00050 double energyCut_; 00051 double etCut_; 00052 double etCandCut_; 00053 double outerRadius_; 00054 double innerRadius_; 00055 std::string interestingDetIdCollection_; 00056 int severityLevelCut_; 00057 float severityRecHitThreshold_; 00058 std::string spIdString_; 00059 float spIdThreshold_; 00060 EcalSeverityLevelAlgo::SpikeId spId_; 00061 std::vector<int> v_chstatus_; 00062 }; 00063 00064 #endif 00065 00066