#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 36 of file RodPlaneBuilderFromDet.cc.
References BoundingBox::corners(), i, hltrates_dqm_sourceclient-live_cfg::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.
Surface::RotationType RodPlaneBuilderFromDet::computeRotation | ( | const std::vector< const Det * > & | dets, |
const Surface::PositionType & | meanPos | ||
) | const |
Definition at line 82 of file RodPlaneBuilderFromDet.cc.
References Vector3DBase< T, FrameTag >::cross(), gen::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 11 of file RodPlaneBuilderFromDet.cc.
References i, and idealTransformation::rotation.