CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HIPixelClusterVtxProducer.h
Go to the documentation of this file.
1 #ifndef HIPixelClusterVtxProducer_H
2 #define HIPixelClusterVtxProducer_H
3 
6 
7 namespace edm { class Run; class Event; class EventSetup; }
8 
9 class TrackerGeometry;
10 
12 {
13 public:
14  explicit HIPixelClusterVtxProducer(const edm::ParameterSet& ps);
16 
17 private:
18  struct VertexHit
19  {
20  float z;
21  float r;
22  float w;
23  };
24 
25  virtual void produce(edm::Event& ev, const edm::EventSetup& es);
26  int getContainedHits(const std::vector<VertexHit> &hits, double z0, double &chi);
27 
28  std::string srcPixels_; //pixel rec hits
29 
30  double minZ_;
31  double maxZ_;
32  double zStep_;
33 
34 };
35 #endif
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi)
HIPixelClusterVtxProducer(const edm::ParameterSet &ps)
virtual void produce(edm::Event &ev, const edm::EventSetup &es)
bool ev