Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Geometry
TrackerGeometryBuilder
src
PlaneBuilderFromGeometricDet.cc
Go to the documentation of this file.
1
2
#include "
Geometry/TrackerGeometryBuilder/interface/PlaneBuilderFromGeometricDet.h
"
3
#include "
Geometry/TrackerNumberingBuilder/interface/GeometricDet.h
"
4
5
#include <algorithm>
6
7
//#define DEBUG
8
24
PlaneBuilderFromGeometricDet::ResultType
PlaneBuilderFromGeometricDet::plane
(
const
GeometricDet
* gd)
const
{
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
BoundPlane
Definition:
BoundPlane.h:19
GeometricDet::bounds
const Bounds * bounds() const
Definition:
GeometricDet.cc:336
ReferenceCountingPointer< BoundPlane >
GeometricDet::positionBounds
Position positionBounds() const
Definition:
GeometricDet.cc:318
GeometricDet.h
GeometricDet
Definition:
GeometricDet.h:29
PlaneBuilderFromGeometricDet::plane
ResultType plane(const GeometricDet *gd) const
Definition:
PlaneBuilderFromGeometricDet.cc:24
PlaneBuilderFromGeometricDet::ResultType
ReferenceCountingPointer< BoundPlane > ResultType
Definition:
PlaneBuilderFromGeometricDet.h:13
PlaneBuilderFromGeometricDet.h
GeometricDet::rotationBounds
Rotation rotationBounds() const
Definition:
GeometricDet.cc:326
Generated for CMSSW Reference Manual by
1.8.5