00001 #ifndef _INTERESTINGDETIDCOLLECTIONPRODUCER_H 00002 #define _INTERESTINGDETIDCOLLECTIONPRODUCER_H 00003 00004 // -*- C++ -*- 00005 // 00006 // Package: InterestingDetIdCollectionProducer 00007 // Class: InterestingDetIdCollectionProducer 00008 // 00018 // system include files 00019 #include <memory> 00020 00021 // user include files 00022 #include "FWCore/Framework/interface/Frameworkfwd.h" 00023 #include "FWCore/Framework/interface/EDProducer.h" 00024 00025 #include "FWCore/Framework/interface/Event.h" 00026 #include "FWCore/Framework/interface/MakerMacros.h" 00027 #include "FWCore/ParameterSet/interface/InputTag.h" 00028 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00029 00030 00031 class CaloTopology; 00032 00033 class InterestingDetIdCollectionProducer : public edm::EDProducer { 00034 public: 00036 explicit InterestingDetIdCollectionProducer(const edm::ParameterSet&); 00037 ~InterestingDetIdCollectionProducer(); 00038 void beginJob (const edm::EventSetup&); 00040 virtual void produce(edm::Event &, const edm::EventSetup&); 00041 00042 private: 00043 // ----------member data --------------------------- 00044 edm::InputTag recHitsLabel_; 00045 edm::InputTag basicClusters_; 00046 std::string interestingDetIdCollection_; 00047 int minimalEtaSize_; 00048 int minimalPhiSize_; 00049 const CaloTopology* caloTopology_; 00050 00051 }; 00052 00053 #endif