|
||||
File indexing completed on 2024-04-06 12:15:16
0001 0002 #include "Geometry/MTDGeometryBuilder/interface/PlaneBuilderFromGeometricTimingDet.h" 0003 #include "Geometry/MTDNumberingBuilder/interface/GeometricTimingDet.h" 0004 0005 #include <algorithm> 0006 0007 //#define DEBUG 0008 0009 /** 0010 given a current detector node in the DDFilteredView, 0011 extract the global translation and rotation. 0012 Further apply ORCA semantics for the local reference frame in which each 0013 solid of a detector is defined, in order to get the 'correct' GlobalToLocal 0014 transforms. 0015 Further determine the boundaries of the current detector. 0016 0017 TODO: 0018 . The function currently only knows how to handle BarrelPixel detectors - 0019 should also know about other det-types. Maybe several classes, one per 0020 detector element? 0021 */ 0022 0023 PlaneBuilderFromGeometricTimingDet::ResultType PlaneBuilderFromGeometricTimingDet::plane( 0024 const GeometricTimingDet* gd) const { 0025 // gd->bounds() returns a pointer owned by the caller! 0026 return ResultType(new Plane(gd->positionBounds(), gd->rotationBounds(), gd->bounds().release())); 0027 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |