CMS 3D CMS Logo

ValidHitPairFilter.h
Go to the documentation of this file.
1 #ifndef _ValidHitPairFilter_h_
2 #define _ValidHitPairFilter_h_
3 
4 #include <vector>
5 
7 
8 namespace edm { class EventSetup; }
9 class TrackingRecHit;
10 class Track;
12 class TrackerGeometry;
14 class MagneticField;
15 class Propagator;
16 class DetLayer;
17 class GeomDet;
18 class TrackerTopology;
19 
21 {
22 public:
24  ~ValidHitPairFilter() override;
25  bool operator()(const reco::Track * track,
26  const std::vector<const TrackingRecHit *>& recHits) const override;
27 
28 private:
29  int getLayer(const TrackingRecHit & recHit) const;
30  std::vector<int> getMissingLayers(int a, int b) const;
31  FreeTrajectoryState getTrajectory(const reco::Track & track) const;
32  std::vector<const GeomDet *> getCloseDets
33  (int il, float rz, const std::vector<float>& rzB,
34  float ph, const std::vector<float>& phB) const;
35 
41 
42  const std::vector<DetLayer *> detLayers;
43  std::vector<float> rzBounds[7];
44  std::vector<float> phBounds[7];
45 };
46 
47 #endif
const Propagator * thePropagator
const TrackerTopology * tTopo
const TrackerGeometry * theTracker
const GeometricSearchTracker * theGSTracker
const std::vector< DetLayer * > detLayers
double b
Definition: hdecay.h:120
HLT enums.
double a
Definition: hdecay.h:121
const MagneticField * theMagneticField