CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoParticleFlow/PFClusterProducer/plugins/PFRecHitProducerPS.h

Go to the documentation of this file.
00001 #ifndef RecoParticleFlow_PFClusterProducer_PFRecHitProducerPS_h_
00002 #define RecoParticleFlow_PFClusterProducer_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/plugins/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                      std::vector<reco::PFRecHit>& rechitsCleaned,
00045                      edm::Event&, const edm::EventSetup&);
00046 
00047 
00048 
00049 
00053   void 
00054     findRecHitNeighbours( reco::PFRecHit& rh, 
00055                           const std::map<unsigned,unsigned >& sortedHits, 
00056                           const CaloSubdetectorTopology& barrelTopo,
00057                           const CaloSubdetectorGeometry& barrelGeom, 
00058                           const CaloSubdetectorTopology& endcapTopo,
00059                           const CaloSubdetectorGeometry& endcapGeom );
00060   
00061   // ----------member data ---------------------------
00062    
00063   edm::InputTag    inputTagEcalRecHitsES_;
00064 };
00065 
00066 #endif