#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 computeRotation(), BoundingBox::corners(), mps_fire::i, PFRecoTauDiscriminationByIsolation_cfi::offset, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), PV3DBase< T, PVType, FrameType >::x(), TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, PV3DBase< T, PVType, FrameType >::y(), Phase2TrackerMonitorDigi_cff::ymax, Phase2TrackerMonitorDigi_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 82 of file RodPlaneBuilderFromDet.cc.
References Vector3DBase< T, FrameTag >::cross(), gen::n, Surface::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), MuonErrorMatrixValues_cff::xAxis, PV3DBase< T, PVType, FrameType >::y(), MuonErrorMatrixValues_cff::yAxis, and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeBounds().
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 mps_fire::i, and idealTransformation::rotation.