CMS 3D CMS Logo

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