#include <RodPlaneBuilderFromDet.h>
Public Types | |
typedef GeomDet | Det |
Public Member Functions | |
std::pair < RectangularPlaneBounds, GlobalVector > | computeBounds (const std::vector< const Det * > &dets, const BoundPlane &plane) const |
Surface::RotationType | computeRotation (const std::vector< const Det * > &dets, const Surface::PositionType &meanPos) const |
BoundPlane * | operator() (const std::vector< const Det * > &dets) const |
Builds the minimal rectangular box that contains all input Dets fully.
Definition at line 15 of file RodPlaneBuilderFromDet.h.
typedef GeomDet RodPlaneBuilderFromDet::Det |
Definition at line 17 of file RodPlaneBuilderFromDet.h.
pair< RectangularPlaneBounds, GlobalVector > RodPlaneBuilderFromDet::computeBounds | ( | const std::vector< const Det * > & | dets, |
const BoundPlane & | plane | ||
) | const |
Definition at line 37 of file RodPlaneBuilderFromDet.cc.
References BoundingBox::corners(), i, evf::evtn::offset(), AlCaHLTBitMon_ParallelJobs::p, query::result, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Surface::RotationType RodPlaneBuilderFromDet::computeRotation | ( | const std::vector< const Det * > & | dets, |
const Surface::PositionType & | meanPos | ||
) | const |
Definition at line 83 of file RodPlaneBuilderFromDet.cc.
References Vector3DBase< T, FrameTag >::cross(), n, Surface::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
BoundPlane * RodPlaneBuilderFromDet::operator() | ( | const std::vector< const Det * > & | dets | ) | const |
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundPlane>
Definition at line 11 of file RodPlaneBuilderFromDet.cc.
References i, and idealTransformation::rotation.