#include <PlaneBuilderForGluedDet.h>
Public Types | |
typedef ReferenceCountingPointer< Plane > | ResultType |
Public Member Functions | |
ResultType | plane (const std::vector< const GeomDetUnit * > &dets) const |
Private Member Functions | |
std::pair< RectangularPlaneBounds *, GlobalVector > | computeRectBounds (const std::vector< const GeomDetUnit * > &dets, const Plane &plane) const |
Surface::RotationType | computeRotation (const std::vector< const GeomDetUnit * > &dets, const Surface::PositionType &meanPos) const |
Builds the minimal rectangular box that contains all input GeomDetUnits fully.
Definition at line 16 of file PlaneBuilderForGluedDet.h.
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundPlane>
Definition at line 21 of file PlaneBuilderForGluedDet.h.
|
private |
Definition at line 36 of file PlaneBuilderForGluedDet.cc.
References 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().
Referenced by plane().
|
private |
Definition at line 70 of file PlaneBuilderForGluedDet.cc.
References Vector3DBase< T, FrameTag >::cross(), gen::n, plane(), PV3DBase< T, PVType, FrameType >::x(), MuonErrorMatrixValues_cff::xAxis, PV3DBase< T, PVType, FrameType >::y(), MuonErrorMatrixValues_cff::yAxis, and PV3DBase< T, PVType, FrameType >::z().
PlaneBuilderForGluedDet::ResultType PlaneBuilderForGluedDet::plane | ( | const std::vector< const GeomDetUnit * > & | dets | ) | const |
Definition at line 11 of file PlaneBuilderForGluedDet.cc.
References computeRectBounds(), end, mps_fire::i, MediumProperties::radLen(), idealTransformation::rotation, and MediumProperties::xi().
Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), and computeRotation().