CMS 3D CMS Logo

PFRecHitProducerPS.h

Go to the documentation of this file.
00001 #ifndef RecoParticleFlow_PFRecHitProducerPS_h_
00002 #define RecoParticleFlow_PFRecHitProducerPS_h_
00003 
00004 // system include files
00005 #include <memory>
00006 #include <vector>
00007 
00008 // user include files
00009 #include "FWCore/Framework/interface/Frameworkfwd.h"
00010 #include "FWCore/Framework/interface/EDProducer.h"
00011 
00012 #include "FWCore/Framework/interface/Event.h"
00013 #include "FWCore/Framework/interface/MakerMacros.h"
00014 
00015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00016 
00017 #include "Geometry/CaloTopology/interface/CaloDirection.h"
00018 #include "RecoParticleFlow/PFClusterProducer/interface/PFRecHitProducer.h"
00019 
00027 class CaloSubdetectorTopology;
00028 class CaloSubdetectorGeometry;
00029 class DetId;
00030 
00031 
00032 class PFRecHitProducerPS : public PFRecHitProducer {
00033  public:
00034   explicit PFRecHitProducerPS(const edm::ParameterSet&);
00035   ~PFRecHitProducerPS();
00036   
00037 
00038  private:
00039 
00040 
00043   void createRecHits(std::vector<reco::PFRecHit>& rechits,
00044                      edm::Event&, const edm::EventSetup&);
00045 
00046 
00047 
00048 
00052   void 
00053     findRecHitNeighbours( reco::PFRecHit& rh, 
00054                           const std::map<unsigned,unsigned >& sortedHits, 
00055                           const CaloSubdetectorTopology& barrelTopo,
00056                           const CaloSubdetectorGeometry& barrelGeom, 
00057                           const CaloSubdetectorTopology& endcapTopo,
00058                           const CaloSubdetectorGeometry& endcapGeom );
00059   
00060   // ----------member data ---------------------------
00061    
00062   edm::InputTag    inputTagEcalRecHitsES_;
00063 };
00064 
00065 #endif

Generated on Tue Jun 9 17:44:40 2009 for CMSSW by  doxygen 1.5.4