#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(), TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, L1TOccupancyClient_cfi::ymin, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
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(), HLT_2024v14_cff::xAxis, PV3DBase< T, PVType, FrameType >::y(), HLT_2024v14_cff::yAxis, 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.