#include <RodPlaneBuilderFromDet.h>
Public Types | |
typedef GeomDet | Det |
Public Member Functions | |
std::pair < RectangularPlaneBounds *, GlobalVector > | computeBounds (const std::vector< const Det * > &dets, const Plane &plane) const |
Surface::RotationType | computeRotation (const std::vector< const Det * > &dets, const Surface::PositionType &meanPos) const |
Plane * | 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 Plane & | plane | ||
) | const |
Definition at line 33 of file RodPlaneBuilderFromDet.cc.
References BoundingBox::corners(), mps_fire::i, hltrates_dqm_sourceclient-live_cfg::offset, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), hlt_dqm_clientPB-live_cfg::xmax, hlt_dqm_clientPB-live_cfg::xmin, PV3DBase< T, PVType, FrameType >::y(), SiStrip_OfflineMonitoring_cff::ymax, SiStrip_OfflineMonitoring_cff::ymin, and PV3DBase< T, PVType, FrameType >::z().
Surface::RotationType RodPlaneBuilderFromDet::computeRotation | ( | const std::vector< const Det * > & | dets, |
const Surface::PositionType & | meanPos | ||
) | const |
Definition at line 80 of file RodPlaneBuilderFromDet.cc.
References Vector3DBase< T, FrameTag >::cross(), dqmiodumpmetadata::n, Surface::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<Plane>
Definition at line 10 of file RodPlaneBuilderFromDet.cc.
References mps_fire::i, and idealTransformation::rotation.