test
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 
8 
9 namespace edm { class Run; class Event; class EventSetup; }
10 
11 class TrackerGeometry;
12 
14 {
15 public:
16  explicit HIPixelClusterVtxProducer(const edm::ParameterSet& ps);
18 
19 private:
20  struct VertexHit
21  {
22  float z;
23  float r;
24  float w;
25  };
26 
27  virtual void produce(edm::Event& ev, const edm::EventSetup& es) override;
28  int getContainedHits(const std::vector<VertexHit> &hits, double z0, double &chi);
29 
30  std::string srcPixelsString_; //pixel rec hits
32 
33  double minZ_;
34  double maxZ_;
35  double zStep_;
36 
37 };
38 #endif
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi)
HIPixelClusterVtxProducer(const edm::ParameterSet &ps)
bool ev
virtual void produce(edm::Event &ev, const edm::EventSetup &es) override
edm::EDGetTokenT< SiPixelRecHitCollection > srcPixels_