Geometry
MTDGeometryBuilder
src
PlaneBuilderFromGeometricTimingDet.cc
Go to the documentation of this file.
1
2
#include "
Geometry/MTDGeometryBuilder/interface/PlaneBuilderFromGeometricTimingDet.h
"
3
#include "
Geometry/MTDNumberingBuilder/interface/GeometricTimingDet.h
"
4
5
#include <algorithm>
6
7
//#define DEBUG
8
23
PlaneBuilderFromGeometricTimingDet::ResultType
PlaneBuilderFromGeometricTimingDet::plane
(
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
Generated for CMSSW Reference Manual by
1.8.16