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