00001 #ifndef RecoLocalTracker_SubCollectionProducers_RemainingClusterProducer_h 00002 #define RecoLocalTracker_SubCollectionProducers_RemainingClusterProducer_h 00003 #include <memory> 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/Framework/interface/EDProducer.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "FWCore/Framework/interface/EventSetup.h" 00008 #include "FWCore/Framework/interface/MakerMacros.h" 00009 #include "FWCore/Framework/interface/ESHandle.h" 00010 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00011 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h" 00012 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h" 00013 #include "Geometry/CommonDetUnit/interface/GeomDetType.h" 00014 #include "Geometry/CommonDetUnit/interface/GeomDetUnit.h" 00015 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h" 00016 #include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h" 00017 #include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h" 00018 #include "DataFormats/TrackerRecHit2D/interface/SiStripRecHit2DCollection.h" 00019 #include "DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2DCollection.h" 00020 #include "DataFormats/Common/interface/Handle.h" 00021 #include "DataFormats/SiPixelDetId/interface/PixelSubdetector.h" 00022 #include "DataFormats/SiStripDetId/interface/StripSubdetector.h" 00023 #include "DataFormats/Common/interface/DetSetVector.h" 00024 #include "DataFormats/SiStripDetId/interface/TECDetId.h" 00025 #include "DataFormats/SiStripDetId/interface/TIDDetId.h" 00026 #include "DataFormats/SiStripDetId/interface/TOBDetId.h" 00027 #include "DataFormats/SiStripDetId/interface/TIBDetId.h" 00028 00029 // 00030 // class decleration 00031 // 00032 class RemainingClusterProducer : public edm::EDProducer { 00033 public: 00034 explicit RemainingClusterProducer(const edm::ParameterSet&); 00035 ~RemainingClusterProducer(); 00036 00037 private: 00038 virtual void beginJob(const edm::EventSetup&) ; 00039 virtual void produce(edm::Event&, const edm::EventSetup&); 00040 virtual void endJob() ; 00041 private: 00042 edm::ParameterSet conf_; 00043 edm::ESHandle<TrackerGeometry> pDD; 00044 std::vector<edm::DetSet<SiPixelCluster> > thePixelClusterVector; 00045 std::vector<edm::DetSet<SiStripCluster> > theStripClusterVector; 00046 // ----------member data --------------------------- 00047 }; 00048 00049 #endif