#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 15 of file PlaneBuilderForGluedDet.h.
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundPlane>
Definition at line 19 of file PlaneBuilderForGluedDet.h.
|
private |
Definition at line 31 of file PlaneBuilderForGluedDet.cc.
References BoundingBox::corners(), mps_fire::i, hltrates_dqm_sourceclient-live_cfg::offset, AlCaHLTBitMon_ParallelJobs::p, plane(), mps_fire::result, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, L1TOccupancyClient_cfi::ymin, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
Referenced by plane().
|
private |
Definition at line 67 of file PlaneBuilderForGluedDet.cc.
References Vector3DBase< T, FrameTag >::cross(), dqmiodumpmetadata::n, plane(), HLT_2023v12_cff::xAxis, HLT_2023v12_cff::yAxis, and PV3DBase< T, PVType, FrameType >::z().
PlaneBuilderForGluedDet::ResultType PlaneBuilderForGluedDet::plane | ( | const std::vector< const GeomDetUnit *> & | dets | ) | const |
Definition at line 10 of file PlaneBuilderForGluedDet.cc.
References computeRectBounds(), MediumProperties::radLen(), idealTransformation::rotation, and MediumProperties::xi().
Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), computeRectBounds(), and computeRotation().