#include <OuterHitCompatibility.h>
Public Member Functions | |
bool | checkPhi (float phi, float r) const |
OuterHitCompatibility * | clone () const |
bool | operator() (const TransientTrackingRecHit *hit) const |
bool | operator() (const TrackingRecHit *hit, const edm::EventSetup &iSetup) const |
OuterHitCompatibility (const OuterHitPhiPrediction &phiPrediction, const HitRZCompatibility &rzCompatibility) | |
OuterHitCompatibility (const OuterHitCompatibility &ohc) | |
~OuterHitCompatibility () | |
Protected Attributes | |
OuterHitPhiPrediction | thePhiPrediction |
const HitRZCompatibility * | theRZCompatibility |
test compatibility of RecHit. The phi and r-z are checked in independent way. The phi of a RecHit hit is tested if it is in the range defined by OuterHitPhiPrediction. The r-z checking is done with a help of HitRZCompatibility checker
Definition at line 20 of file OuterHitCompatibility.h.
|
inline |
Definition at line 23 of file OuterHitCompatibility.h.
References HitRZCompatibility::clone().
|
inline |
Definition at line 29 of file OuterHitCompatibility.h.
References HitRZCompatibility::clone(), and theRZCompatibility.
|
inline |
Definition at line 33 of file OuterHitCompatibility.h.
|
inline |
Definition at line 40 of file OuterHitCompatibility.h.
References PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), and phi.
Referenced by operator()().
|
inline |
Definition at line 47 of file OuterHitCompatibility.h.
bool OuterHitCompatibility::operator() | ( | const TransientTrackingRecHit * | hit | ) | const |
Definition at line 12 of file OuterHitCompatibility.cc.
References checkPhi(), TransientTrackingRecHit::globalPosition(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), theRZCompatibility, and PV3DBase< T, PVType, FrameType >::z().
bool OuterHitCompatibility::operator() | ( | const TrackingRecHit * | hit, |
const edm::EventSetup & | iSetup | ||
) | const |
Definition at line 27 of file OuterHitCompatibility.cc.
References checkPhi(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrackingRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), theRZCompatibility, tmp, patCandidatesForDimuonsSequences_cff::tracker, and PV3DBase< T, PVType, FrameType >::z().
|
protected |
Definition at line 53 of file OuterHitCompatibility.h.
|
protected |
Definition at line 52 of file OuterHitCompatibility.h.
Referenced by operator()(), and OuterHitCompatibility().