CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HIPixelClusterVtxProducer.h
Go to the documentation of this file.
1 #ifndef HIPixelClusterVtxProducer_H
2 #define HIPixelClusterVtxProducer_H
3 
6 
10 
11 namespace edm {
12  class Run;
13  class Event;
14  class EventSetup;
15 } // namespace edm
16 
17 class TrackerGeometry;
18 
20 public:
21  explicit HIPixelClusterVtxProducer(const edm::ParameterSet& ps);
22  ~HIPixelClusterVtxProducer() override;
23 
24 private:
25  struct VertexHit {
26  float z;
27  float r;
28  float w;
29  };
30 
31  void produce(edm::Event& ev, const edm::EventSetup& es) override;
32  int getContainedHits(const std::vector<VertexHit>& hits, double z0, double& chi);
33 
34  std::string srcPixelsString_; //pixel rec hits
37 
38  double minZ_;
39  double maxZ_;
40  double zStep_;
41 };
42 #endif
int getContainedHits(const std::vector< VertexHit > &hits, double z0, double &chi)
HIPixelClusterVtxProducer(const edm::ParameterSet &ps)
void produce(edm::Event &ev, const edm::EventSetup &es) override
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerToken_
edm::EDGetTokenT< SiPixelRecHitCollection > srcPixels_
HLT enums.