CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/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/DetLayers/interface/MeasurementEstimator.h"
00005 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00006 
00007 #pragma GCC visibility push(hidden)
00008 
00009 class GeomDet;
00010 class BoundPlane;
00011 class TrajectoryStateOnSurface;
00012 
00013 namespace tkDetUtil {
00014 
00015   bool overlapInPhi( const GlobalPoint& crossPoint,const GeomDet & det, float phiWindow);
00016 
00017   float computeWindowSize( const GeomDet* det, 
00018                                    const TrajectoryStateOnSurface& tsos, 
00019                                    const MeasurementEstimator& est);
00020 
00021 
00022   float 
00023   calculatePhiWindow( const MeasurementEstimator::Local2DVector& maxDistance, 
00024                       const TrajectoryStateOnSurface& ts, 
00025                       const BoundPlane& plane);
00026 
00027 
00028 }
00029 
00030 #pragma GCC visibility pop
00031 #endif // TkDetLayers_TkDetUtil_h