#include <RecoTracker/TkHitPairs/interface/TkHitPairsCacheCell.h>
Public Types | |
typedef std::vector < TkHitPairsCachedHit > ::const_iterator | HitIter |
typedef PixelRecoRange< HitIter > | HitIterRange |
typedef ctfseeding::SeedingHit | TkHitPairsCachedHit |
Public Member Functions | |
HitIterRange | range () const |
HitIterRange | range_from (float phiMin) const |
HitIterRange | range_upto (float phiMax) const |
TkHitPairsCacheCell (HitIter beg, HitIter end) | |
TkHitPairsCacheCell () | |
Static Public Member Functions | |
static bool | lessPhiHitHit (const TkHitPairsCachedHit *a, const TkHitPairsCachedHit *b) |
static bool | lessPhiHitVal (const TkHitPairsCachedHit &a, const float &bphi) |
static bool | lessPhiValHit (const float &aphi, const TkHitPairsCachedHit &b) |
Private Attributes | |
HitIter | theBeg |
HitIter | theEnd |
Definition at line 9 of file TkHitPairsCacheCell.h.
typedef std::vector<TkHitPairsCachedHit>::const_iterator TkHitPairsCacheCell::HitIter |
Definition at line 13 of file TkHitPairsCacheCell.h.
Definition at line 14 of file TkHitPairsCacheCell.h.
Definition at line 12 of file TkHitPairsCacheCell.h.
TkHitPairsCacheCell::TkHitPairsCacheCell | ( | ) | [inline] |
static bool TkHitPairsCacheCell::lessPhiHitHit | ( | const TkHitPairsCachedHit * | a, | |
const TkHitPairsCachedHit * | b | |||
) | [inline, static] |
Definition at line 36 of file TkHitPairsCacheCell.h.
References ctfseeding::SeedingHit::phi().
Referenced by LayerHitMap::initCells().
static bool TkHitPairsCacheCell::lessPhiHitVal | ( | const TkHitPairsCachedHit & | a, | |
const float & | bphi | |||
) | [inline, static] |
Definition at line 40 of file TkHitPairsCacheCell.h.
References ctfseeding::SeedingHit::phi().
Referenced by range_from().
00041 { return a.phi() < bphi; }
static bool TkHitPairsCacheCell::lessPhiValHit | ( | const float & | aphi, | |
const TkHitPairsCachedHit & | b | |||
) | [inline, static] |
Definition at line 38 of file TkHitPairsCacheCell.h.
References ctfseeding::SeedingHit::phi().
Referenced by LayerHitMap::initCells(), and range_upto().
00039 { return aphi < b.phi(); }
HitIterRange TkHitPairsCacheCell::range | ( | ) | const [inline] |
Definition at line 19 of file TkHitPairsCacheCell.h.
References theBeg, and theEnd.
00019 { return HitIterRange(theBeg, theEnd ); }
HitIterRange TkHitPairsCacheCell::range_from | ( | float | phiMin | ) | const [inline] |
Definition at line 21 of file TkHitPairsCacheCell.h.
References lessPhiHitVal(), theBeg, and theEnd.
00021 { 00022 return HitIterRange( 00023 lower_bound(theBeg, theEnd, phiMin, lessPhiHitVal), 00024 theEnd); 00025 }
HitIterRange TkHitPairsCacheCell::range_upto | ( | float | phiMax | ) | const [inline] |
Definition at line 27 of file TkHitPairsCacheCell.h.
References lessPhiValHit(), theBeg, and theEnd.
00027 { 00028 return HitIterRange( 00029 theBeg, 00030 upper_bound(theBeg, theEnd, phiMax, lessPhiValHit)) ; 00031 }
HitIter TkHitPairsCacheCell::theBeg [private] |
Definition at line 45 of file TkHitPairsCacheCell.h.
Referenced by range(), range_from(), and range_upto().
HitIter TkHitPairsCacheCell::theEnd [private] |
Definition at line 45 of file TkHitPairsCacheCell.h.
Referenced by range(), range_from(), and range_upto().