CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoPixelVertexing/PixelLowPtUtilities/plugins/PixelVertexProducerClusters.h

Go to the documentation of this file.
00001 #ifndef PixelVertexProducerClusters_H
00002 #define PixelVertexProducerClusters_H
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 
00007 namespace edm { class Run; class Event; class EventSetup; }
00008 
00009 class TrackerGeometry;
00010 class VertexHit;
00011 
00012 class PixelVertexProducerClusters : public edm::EDProducer
00013 {
00014 public:
00015   explicit PixelVertexProducerClusters(const edm::ParameterSet& ps);
00016   ~PixelVertexProducerClusters();
00017   int getContainedHits(std::vector<VertexHit> hits, float z0, float & chi);
00018   virtual void produce(edm::Event& ev, const edm::EventSetup& es);
00019  
00020 private:
00021   void beginRun(edm::Run const & run, edm::EventSetup const & es);
00022 
00023   edm::ParameterSet theConfig;
00024 
00025   const TrackerGeometry* theTracker;
00026 };
00027 #endif