CMS 3D CMS Logo

PlaneBuilderFromGeometricDet.cc
Go to the documentation of this file.
1 
4 
5 #include <algorithm>
6 
7 //#define DEBUG
8 
24  // gd->bounds() returns a pointer owned by the caller!
25  return ResultType(new Plane(gd->positionBounds(), gd->rotationBounds(), gd->bounds().release()));
26 }
GeometricDet::positionBounds
Position positionBounds() const
Definition: GeometricDet.cc:230
PlaneBuilderFromGeometricDet.h
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
GeometricDet::rotationBounds
Rotation rotationBounds() const
Definition: GeometricDet.cc:237
PlaneBuilderFromGeometricDet::ResultType
ReferenceCountingPointer< BoundPlane > ResultType
Definition: PlaneBuilderFromGeometricDet.h:13
GeometricDet
Definition: GeometricDet.h:31
PlaneBuilderFromGeometricDet::plane
ResultType plane(const GeometricDet *gd) const
Definition: PlaneBuilderFromGeometricDet.cc:23
GeometricDet.h
GeometricDet::bounds
std::unique_ptr< Bounds > bounds() const
Definition: GeometricDet.cc:225
Plane
Definition: Plane.h:16