CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/RecoTracker/TkDetLayers/src/BladeShapeBuilderFromDet.h

Go to the documentation of this file.
00001 #ifndef RecoTracker_TkDetLayers_BladeShapeBuilderFromDet_h
00002 #define RecoTracker_TkDetLayers_BladeShapeBuilderFromDet_h
00003 
00004 #include "BoundDiskSector.h"
00005 #include "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 
00013 
00017 #pragma GCC visibility push(hidden)
00018 class BladeShapeBuilderFromDet {
00019  public:
00020   BoundDiskSector* operator()( const std::vector<const GeomDet*>& dets) const;
00021   
00022 
00023  private:
00024   std::pair<DiskSectorBounds, GlobalVector>
00025   computeBounds( const std::vector<const GeomDet*>& dets,
00026                  const BoundPlane& plane) const;
00027 
00028   Surface::RotationType
00029   computeRotation( const std::vector<const GeomDet*>& dets,
00030                    const Surface::PositionType& pos) const;
00031 
00032 };
00033 
00034 #pragma GCC visibility pop
00035 #endif