CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiTracking/plugins/HIPixelClusterVtxProducer.h

Go to the documentation of this file.
00001 #ifndef HIPixelClusterVtxProducer_H
00002 #define HIPixelClusterVtxProducer_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 
00011 class HIPixelClusterVtxProducer : public edm::EDProducer
00012 {
00013 public:
00014   explicit HIPixelClusterVtxProducer(const edm::ParameterSet& ps);
00015   ~HIPixelClusterVtxProducer();
00016  
00017 private:
00018   struct VertexHit
00019   {
00020     float z;
00021     float r;
00022     float w;
00023   };
00024 
00025   virtual void produce(edm::Event& ev, const edm::EventSetup& es);
00026   int getContainedHits(const std::vector<VertexHit> &hits, double z0, double &chi);
00027 
00028   std::string srcPixels_; //pixel rec hits
00029 
00030   double minZ_;
00031   double maxZ_;
00032   double zStep_;
00033 
00034 };
00035 #endif