CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoPixelVertexing/PixelTriplets/plugins/ThirdHitZPrediction.h

Go to the documentation of this file.
00001 #ifndef ThirdHitZPrediction_H
00002 #define ThirdHitZPrediction_H
00003 
00004 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00005 #include "RecoTracker/TkMSParametrization/interface/PixelRecoRange.h"
00006 
00007 
00008 class  ThirdHitZPrediction {
00009 public:
00010   typedef PixelRecoRange<float> Range;
00011   ThirdHitZPrediction(const GlobalPoint& p1, float erroRPhi1, float errorZ1,
00012                       const GlobalPoint& p2, float erroRPhi2, float errorZ2, 
00013                       double curvature, double  nSigma = 3.);
00014   Range operator()(const GlobalPoint& p3, float erroRPhi3) const;
00015 private:
00016   GlobalPoint thePoint1, thePoint2;
00017   double theErrorXY1, theErrorZ1, theErrorXY2, theErrorZ2;
00018   double theCurvature;
00019   double theNSigma;
00020 };
00021 #endif
00022