CMS 3D CMS Logo

PlaneBuilderFromGeometricDet Class Reference

Converts DDFilteredView volumes to Bounds. More...

#include <Geometry/TrackerGeometryBuilder/interface/PlaneBuilderFromGeometricDet.h>

List of all members.

Public Types

typedef
ReferenceCountingPointer
< BoundPlane
ResultType

Public Member Functions

ResultType plane (const GeometricDet *gd) const
 given a current detector node in the DDFilteredView, extract the global translation and rotation.


Detailed Description

Converts DDFilteredView volumes to Bounds.

Definition at line 11 of file PlaneBuilderFromGeometricDet.h.


Member Typedef Documentation

typedef ReferenceCountingPointer<BoundPlane> PlaneBuilderFromGeometricDet::ResultType

Definition at line 13 of file PlaneBuilderFromGeometricDet.h.


Member Function Documentation

PlaneBuilderFromGeometricDet::ResultType PlaneBuilderFromGeometricDet::plane ( const GeometricDet gd  )  const

given a current detector node in the DDFilteredView, extract the global translation and rotation.

Further apply ORCA semantics for the local reference frame in which each solid of a detector is defined, in order to get the 'correct' GlobalToLocal transforms. Further determine the boundaries of the current detector.

TODO: . The function should be part of a class. . The function currently only knows how to handle BarrelPixel detectors - should also know about other det-types. Maybe several classes, one per detector element?

Definition at line 24 of file PlaneBuilderFromGeometricDet.cc.

References GeometricDet::positionBounds(), and GeometricDet::rotationBounds().

Referenced by TrackerGeomBuilderFromGeometricDet::buildPlaneWithMaterial().

00024                                                                                                       {
00025   return ResultType( new BoundPlane( gd->positionBounds(), gd->rotationBounds(),gd-> bounds())); 
00026 }             


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:30:09 2009 for CMSSW by  doxygen 1.5.4