#include <OuterHitCompatibility.h>
Public Member Functions | |
bool | checkPhi (const float &phi, const 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 16 of file OuterHitCompatibility.h.
|
inline |
Definition at line 19 of file OuterHitCompatibility.h.
References HitRZCompatibility::clone(), and theRZCompatibility.
Referenced by clone().
|
inline |
Definition at line 25 of file OuterHitCompatibility.h.
References HitRZCompatibility::clone(), and theRZCompatibility.
|
inline |
Definition at line 29 of file OuterHitCompatibility.h.
References theRZCompatibility.
bool OuterHitCompatibility::checkPhi | ( | const float & | phi, |
const float & | r | ||
) | const |
Definition at line 44 of file OuterHitCompatibility.cc.
References PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), phi, and thePhiPrediction.
Referenced by operator()().
|
inline |
Definition at line 38 of file OuterHitCompatibility.h.
References OuterHitCompatibility().
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 44 of file OuterHitCompatibility.h.
Referenced by checkPhi().
|
protected |
Definition at line 43 of file OuterHitCompatibility.h.
Referenced by operator()(), OuterHitCompatibility(), and ~OuterHitCompatibility().