#include <PlaneBuilderForGluedDet.h>
Public Types | |
typedef ReferenceCountingPointer < Plane > | ResultType |
Public Member Functions | |
ResultType | plane (const std::vector< const GeomDetUnit * > &dets) const |
Private Member Functions | |
std::pair < RectangularPlaneBounds *, GlobalVector > | computeRectBounds (const std::vector< const GeomDetUnit * > &dets, const Plane &plane) const |
Surface::RotationType | computeRotation (const std::vector< GeomDetUnit * > &dets, const Surface::PositionType &meanPos) const |
Builds the minimal rectangular box that contains all input GeomDetUnits fully.
Definition at line 16 of file PlaneBuilderForGluedDet.h.
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundPlane>
Definition at line 21 of file PlaneBuilderForGluedDet.h.
|
private |
Definition at line 36 of file PlaneBuilderForGluedDet.cc.
References BoundingBox::corners(), i, evf::evtn::offset(), AlCaHLTBitMon_ParallelJobs::p, query::result, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), SiStripMonitorClusterAlca_cfi::xmax, SiStripMonitorClusterAlca_cfi::xmin, PV3DBase< T, PVType, FrameType >::y(), SiStripMonitorClusterAlca_cfi::ymax, SiStripMonitorClusterAlca_cfi::ymin, PV3DBase< T, PVType, FrameType >::z(), SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
Referenced by plane().
|
private |
Definition at line 70 of file PlaneBuilderForGluedDet.cc.
References Vector3DBase< T, FrameTag >::cross(), n, plane(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
PlaneBuilderForGluedDet::ResultType PlaneBuilderForGluedDet::plane | ( | const std::vector< const GeomDetUnit * > & | dets | ) | const |
Definition at line 11 of file PlaneBuilderForGluedDet.cc.
References computeRectBounds(), end, i, MediumProperties::radLen(), idealTransformation::rotation, and MediumProperties::xi().
Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), and computeRotation().