#include <PlaneBuilderForGluedDet.h>
Public Types | |
typedef ReferenceCountingPointer < BoundPlane > | ResultType |
Public Member Functions | |
std::pair < RectangularPlaneBounds, GlobalVector > | computeRectBounds (const std::vector< const GeomDetUnit * > &dets, const BoundPlane &plane) const |
Surface::RotationType | computeRotation (const std::vector< GeomDetUnit * > &dets, const Surface::PositionType &meanPos) const |
ResultType | plane (const std::vector< const GeomDetUnit * > &dets) 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.
std::pair< RectangularPlaneBounds, GlobalVector > PlaneBuilderForGluedDet::computeRectBounds | ( | const std::vector< const GeomDetUnit * > & | dets, |
const BoundPlane & | plane | ||
) | const |
Definition at line 34 of file PlaneBuilderForGluedDet.cc.
References BoundingBox::corners(), i, evf::evtn::offset(), L1TEmulatorMonitor_cff::p, query::result, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by plane().
Surface::RotationType PlaneBuilderForGluedDet::computeRotation | ( | const std::vector< GeomDetUnit * > & | dets, |
const Surface::PositionType & | meanPos | ||
) | const |
Definition at line 64 of file PlaneBuilderForGluedDet.cc.
References Vector3DBase< T, FrameTag >::cross(), n, plane(), Surface::toGlobal(), 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 BoundPlane::build(), computeRectBounds(), i, MediumProperties::radLen(), and MediumProperties::xi().
Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), and computeRotation().