Go to the documentation of this file.00001 #ifndef DetLayers_RodPlaneBuilderFromDet_H
00002 #define DetLayers_RodPlaneBuilderFromDet_H
00003
00004 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
00005 #include "DataFormats/GeometrySurface/interface/Plane.h"
00006
00007 #include <utility>
00008 #include <vector>
00009
00010 class RectangularPlaneBounds;
00011
00015 class RodPlaneBuilderFromDet {
00016 public:
00017 typedef GeomDet Det;
00018
00021 Plane* operator()( const std::vector<const Det*>& dets) const;
00022
00023 std::pair<RectangularPlaneBounds*, GlobalVector>
00024 computeBounds( const std::vector<const Det*>& dets, const Plane& plane) const;
00025
00026 Surface::RotationType
00027 computeRotation( const std::vector<const Det*>& dets,
00028 const Surface::PositionType& meanPos) const;
00029
00030 };
00031
00032 #endif