#include <RecoTracker/TkMSParametrization/interface/PixelRecoRange.h>
Public Member Functions | |
bool | empty () const |
bool | hasIntersection (const PixelRecoRange< T > &r) const |
bool | inside (const T &value) const |
PixelRecoRange< T > | intersection (const PixelRecoRange< T > &r) const |
const T & | max () const |
T | mean () const |
const T & | min () const |
PixelRecoRange (const std::pair< T, T > &aPair) | |
PixelRecoRange (const T &aMin, const T &aMax) | |
PixelRecoRange () | |
void | sort () |
PixelRecoRange< T > | sum (const PixelRecoRange< T > &r) const |
Definition at line 13 of file PixelRecoRange.h.
PixelRecoRange< T >::PixelRecoRange | ( | ) | [inline] |
PixelRecoRange< T >::PixelRecoRange | ( | const T & | aMin, | |
const T & | aMax | |||
) | [inline] |
PixelRecoRange< T >::PixelRecoRange | ( | const std::pair< T, T > & | aPair | ) | [inline] |
bool PixelRecoRange< T >::empty | ( | void | ) | const [inline] |
Definition at line 28 of file PixelRecoRange.h.
Referenced by RectangularEtaPhiTrackingRegion::estimator(), HitPairGeneratorFromLayerPair::hitPairs(), ThirdHitPredictionFromInvParabola::operator()(), PixelRecoRange< T >::sort(), and PixelRecoRange< T >::sum().
bool PixelRecoRange< T >::hasIntersection | ( | const PixelRecoRange< T > & | r | ) | const [inline] |
Definition at line 34 of file PixelRecoRange.h.
References rangesIntersect().
00034 { 00035 return rangesIntersect(*this,r); 00036 }
bool PixelRecoRange< T >::inside | ( | const T & | value | ) | const [inline] |
Definition at line 30 of file PixelRecoRange.h.
References first.
Referenced by MultipleScatteringGeometry::detLayers(), MSLayer::distance(), LayerHitMapLoop::getHit(), OuterDetCompatibility::maximalLocalDisplacement(), LayerHitMapLoop::nextRange(), HitZCheck::operator()(), and HitRCheck::operator()().
00030 { 00031 if (value < this->first || this->second < value) return false; else return true; 00032 }
PixelRecoRange<T> PixelRecoRange< T >::intersection | ( | const PixelRecoRange< T > & | r | ) | const [inline] |
Definition at line 38 of file PixelRecoRange.h.
References rangeIntersection().
Referenced by PixelTripletHLTGenerator::hitTriplets(), ThirdHitPredictionFromInvParabola::init(), and ThirdHitPredictionFromInvParabola::operator()().
00039 { 00040 return rangeIntersection(*this,r); 00041 }
const T& PixelRecoRange< T >::max | ( | ) | const [inline] |
Definition at line 25 of file PixelRecoRange.h.
References edm::second().
Referenced by OuterHitCompatibility::checkPhi(), RectangularEtaPhiTrackingRegion::checkRZ(), FastTSGFromL2Muon::clean(), ThirdHitCorrection::correctRZRange(), MSLayer::crossing(), MSLayer::distance(), RectangularEtaPhiTrackingRegion::estimator(), ThirdHitPrediction::getRanges(), PixelTripletHLTGenerator::hitTriplets(), LayerHitMapLoop::LayerHitMapLoop(), OuterDetCompatibility::maximalLocalDisplacement(), LayerHitMapLoop::nextRange(), ThirdHitPredictionFromInvParabola::operator()(), OuterHitPhiPrediction::operator()(), ThirdHitRZPrediction::operator()(), MSLayer::operator<(), operator<<(), TrackingRegionBase::print(), TrackingRegionBase::ptMin(), RectangularEtaPhiTrackingRegion::rzConstraint(), LayerHitMapLoop::setSafeRzRange(), and PixelRecoRange< T >::sum().
00025 { return this->second; }
T PixelRecoRange< T >::mean | ( | ) | const [inline] |
Definition at line 26 of file PixelRecoRange.h.
Referenced by OuterDetCompatibility::center(), RectangularEtaPhiTrackingRegion::checkRZ(), FastTSGFromL2Muon::clean(), RectangularEtaPhiTrackingRegion::estimator(), and OuterHitPhiPrediction::operator()().
const T& PixelRecoRange< T >::min | ( | ) | const [inline] |
Definition at line 24 of file PixelRecoRange.h.
References first.
Referenced by OuterHitCompatibility::checkPhi(), RectangularEtaPhiTrackingRegion::checkRZ(), ThirdHitCorrection::correctRZRange(), MSLayer::crossing(), MSLayer::distance(), RectangularEtaPhiTrackingRegion::estimator(), ThirdHitPrediction::getRanges(), PixelTripletHLTGenerator::hitTriplets(), LayerHitMapLoop::LayerHitMapLoop(), OuterDetCompatibility::maximalLocalDisplacement(), LayerHitMapLoop::nextRange(), ThirdHitPredictionFromInvParabola::operator()(), OuterHitPhiPrediction::operator()(), ThirdHitRZPrediction::operator()(), operator<<(), TrackingRegionBase::ptMin(), RectangularEtaPhiTrackingRegion::rzConstraint(), LayerHitMapLoop::setSafeRzRange(), and PixelRecoRange< T >::sum().
00024 { return this->first; }
void PixelRecoRange< T >::sort | ( | ) | [inline] |
Definition at line 52 of file PixelRecoRange.h.
References PixelRecoRange< T >::empty(), and std::swap().
Referenced by ThirdHitPredictionFromInvParabola::init(), and ThirdHitPredictionFromInvParabola::operator()().
PixelRecoRange<T> PixelRecoRange< T >::sum | ( | const PixelRecoRange< T > & | r | ) | const [inline] |
Definition at line 43 of file PixelRecoRange.h.
References PixelRecoRange< T >::empty(), PixelRecoRange< T >::max(), PixelRecoRange< T >::min(), and PixelRecoRange< T >::PixelRecoRange().
00043 { 00044 if( this->empty()) return r; 00045 else if( r.empty()) return *this; 00046 else return 00047 PixelRecoRange( 00048 (min() < r.min()) ? min() : r.min(), 00049 (max() < r.max()) ? r.max() : max()); 00050 }