CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/RecoPixelVertexing/PixelTriplets/interface/ThirdHitRZPredictionBase.h

Go to the documentation of this file.
00001 #ifndef ThirdHitRZPredictionBase_H
00002 #define ThirdHitRZPredictionBase_H
00003 
00010 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00011 #include "RecoTracker/TkMSParametrization/interface/PixelRecoRange.h"
00012 #include "RecoTracker/TkTrackingRegions/interface/TkTrackingRegionsMargin.h"
00013 
00014 class DetLayer;
00015 class OrderedHitPair;
00016 class MultipleScatteringParametrisation;
00017 
00018 class ThirdHitRZPredictionBase {
00019 public:
00020   typedef PixelRecoRange<float> Range;
00021   typedef TkTrackingRegionsMargin<float> Margin;
00022 
00023   ThirdHitRZPredictionBase();
00024   ThirdHitRZPredictionBase(float tolerance, const DetLayer* layer = 0);
00025 
00026   const Range & detRange() const { return theDetRange; }
00027   const Range & detSize() const { return theDetSize; }
00028 
00029   void initTolerance(float tolerance) { theTolerance = Margin(tolerance, tolerance); }
00030   void initLayer(const DetLayer *layer);
00031 
00032 protected:
00033   bool theBarrel, theForward;
00034   Range theDetRange, theDetSize;
00035   Margin theTolerance;
00036 };
00037 #endif