Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
23
PlaneBuilderFromGeometricDet::ResultType
PlaneBuilderFromGeometricDet::plane
(
const
GeometricDet
* gd)
const
{
24
// gd->bounds() returns a pointer owned by the caller!
25
return
ResultType
(
new
Plane
( gd->
positionBounds
(), gd->
rotationBounds
(), gd->
bounds
().release()));
26
}
27
28
29
Plane
Definition:
Plane.h:17
ReferenceCountingPointer
Definition:
ReferenceCounted.h:73
GeometricDet::positionBounds
Position positionBounds() const
Definition:
GeometricDet.cc:320
GeometricDet.h
GeometricDet
Definition:
GeometricDet.h:30
PlaneBuilderFromGeometricDet::plane
ResultType plane(const GeometricDet *gd) const
Definition:
PlaneBuilderFromGeometricDet.cc:23
GeometricDet::bounds
std::unique_ptr< Bounds > bounds() const
Definition:
GeometricDet.cc:338
PlaneBuilderFromGeometricDet::ResultType
ReferenceCountingPointer< BoundPlane > ResultType
Definition:
PlaneBuilderFromGeometricDet.h:13
PlaneBuilderFromGeometricDet.h
GeometricDet::rotationBounds
Rotation rotationBounds() const
Definition:
GeometricDet.cc:328
Generated for CMSSW Reference Manual by
1.8.5