CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/RecoTracker/TkDetLayers/src/TkDetUtil.h

Go to the documentation of this file.
00001 #ifndef TkDetLayers_TkDetUtil_h
00002 #define TkDetLayers_TkDetUtil_h
00003 
00004 #include "TrackingTools/PatternTools/interface/MeasurementEstimator.h"
00005 
00006 #pragma GCC visibility push(hidden)
00007 
00008 class GeomDet;
00009 class BoundPlane;
00010 class TrajectoryStateOnSurface;
00011 
00012 namespace tkDetUtil {
00013 
00014   bool overlapInPhi( const GlobalPoint& crossPoint,const GeomDet & det, float phiWindow);
00015 
00016   float computeWindowSize( const GeomDet* det, 
00017                                    const TrajectoryStateOnSurface& tsos, 
00018                                    const MeasurementEstimator& est);
00019 
00020 
00021   float 
00022   calculatePhiWindow( const MeasurementEstimator::Local2DVector& maxDistance, 
00023                       const TrajectoryStateOnSurface& ts, 
00024                       const BoundPlane& plane);
00025 
00026 
00027 }
00028 
00029 #pragma GCC visibility pop
00030 #endif // TkDetLayers_TkDetUtil_h