CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PlaneBuilderFromGeometricDet.cc
Go to the documentation of this file.
1 
4 
5 #include <algorithm>
6 
7 //#define DEBUG
8 
25  std::auto_ptr<const Bounds> bounds(gd->bounds()); // gd->bounds() returns a pointer owned by the caller!
26  // BoundSurface's constructor clones, does *not* take ownership
27  return ResultType( new BoundPlane( gd->positionBounds(), gd->rotationBounds(), *bounds));
28 }
29 
30 
31 
const Bounds * bounds() const
Position positionBounds() const
ResultType plane(const GeometricDet *gd) const
ReferenceCountingPointer< BoundPlane > ResultType
Rotation rotationBounds() const