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/Utilities/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(); 00040 virtual void produce(edm::Event &, const edm::EventSetup&); 00041 00042 private: 00043 // ----------member data --------------------------- 00044 edm::InputTag recHitsLabel_; 00045 std::vector<edm::InputTag> interestingDetIdCollections_; 00046 std::string reducedHitsCollection_; 00047 00048 }; 00049 00050 #endif