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