CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OuterHitCompatibility.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkTrackingRegions_OuterHitCompatibility_H
2 #define RecoTracker_TkTrackingRegions_OuterHitCompatibility_H
3 
4 
17 public:
18 
20  const OuterHitPhiPrediction & phiPrediction,
21  const HitRZCompatibility & rzCompatibility)
22  : thePhiPrediction(phiPrediction)
23  { theRZCompatibility = rzCompatibility.clone(); }
24 
28 
30  { delete theRZCompatibility; }
31 
32 
33  bool operator() (const TransientTrackingRecHit * hit) const;
34  bool operator() (const TrackingRecHit* hit, const edm::EventSetup& iSetup) const;
35 
36  bool checkPhi(const float & phi, const float & r) const;
37 
39  return new OuterHitCompatibility(*this);
40  }
41 
42 protected:
45 };
46 #endif
OuterHitCompatibility(const OuterHitPhiPrediction &phiPrediction, const HitRZCompatibility &rzCompatibility)
OuterHitCompatibility * clone() const
OuterHitCompatibility(const OuterHitCompatibility &ohc)
OuterHitPhiPrediction thePhiPrediction
const HitRZCompatibility * theRZCompatibility
bool operator()(const TransientTrackingRecHit *hit) const
virtual HitRZCompatibility * clone() const =0
bool checkPhi(const float &phi, const float &r) const
Definition: DDAxes.h:10