CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoTracker/TkDetLayers/interface/ForwardDiskSectorBuilderFromDet.h

Go to the documentation of this file.
00001 #ifndef RecoTracker_TkDetLayers_ForwardDiskSectorBuilderFromDet_h
00002 #define RecoTracker_TkDetLayers_ForwardDiskSectorBuilderFromDet_h
00003 
00004 #include "RecoTracker/TkDetLayers/interface/BoundDiskSector.h"
00005 #include "RecoTracker/TkDetLayers/interface/DiskSectorBounds.h"
00006 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
00007 #include "Geometry/CommonDetUnit/interface/GeomDetUnit.h"
00008 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00009 #include <utility>
00010 #include <vector>
00011 #include <iostream>
00012 
00017 class ForwardDiskSectorBuilderFromDet {
00018 public:
00019 
00022   BoundDiskSector* operator()( const std::vector<const GeomDet*>& dets) const;
00023   
00024   std::pair<DiskSectorBounds, GlobalVector>
00025   computeBounds( const std::vector<const GeomDet*>& dets) const;
00026 
00027 private:
00028 
00029   Surface::RotationType
00030   computeRotation( const std::vector<const GeomDet*>& dets, Surface::PositionType pos) const;
00031 
00032   std::vector<GlobalPoint> 
00033   computeTrapezoidalCorners( const GeomDet* detu) const;
00034 
00035 };
00036 
00037 #endif