CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/RecoTracker/TkTrackingRegions/interface/OuterHitPhiPrediction.h

Go to the documentation of this file.
00001 #ifndef OuterHitPhiPrediction_H
00002 #define OuterHitPhiPrediction_H
00003 
00006 #include "RecoTracker/TkMSParametrization/interface/PixelRecoRange.h"
00007 #include "RecoTracker/TkTrackingRegions/interface/TkTrackingRegionsMargin.h"
00008 
00009 
00010 class OuterHitPhiPrediction {
00011 public:
00012 
00013   typedef PixelRecoRange<float> Range;
00014   typedef TkTrackingRegionsMargin<float> Margin;
00015 
00016   OuterHitPhiPrediction( 
00017       const Range & phiAtVertex, 
00018       const Range & curvature, 
00019       float originRBound, 
00020       const Margin & tolerance = Margin(0,0))
00021     : thePhiAtVertex(phiAtVertex), theCurvature(curvature),
00022       theOriginRBound (originRBound), theTolerance(tolerance) { } 
00023 
00024   void  setTolerance(const Margin & tolerance) { theTolerance = tolerance; }
00025   Range operator()(float radius) const;
00026 
00027 private:
00028   Range thePhiAtVertex;
00029   Range theCurvature;
00030   float theOriginRBound;
00031   Margin theTolerance;
00032 };
00033 
00034 #endif