#include <ForwardRingDiskBuilderFromDet.h>
Public Member Functions | |
std::pair< SimpleDiskBounds, float > | computeBounds (const std::vector< const GeomDet * > &dets) const |
BoundDisk * | operator() (const std::vector< const GeomDet * > &dets) const |
As it's name indicates, it's a builder of BoundDisk from a collection of Dets. The disk has the minimal size fully containing all Dets.
Definition at line 21 of file ForwardRingDiskBuilderFromDet.h.
pair< SimpleDiskBounds, float > ForwardRingDiskBuilderFromDet::computeBounds | ( | const std::vector< const GeomDet * > & | dets | ) | const |
Definition at line 35 of file ForwardRingDiskBuilderFromDet.cc.
References BoundingBox::corners(), Vector3DBase< T, FrameTag >::dot(), F(), i, max(), min, alignCSCRings::r, Vector3DBase< T, FrameTag >::unit(), tablePrinter::width, detailsBasic3DVector::z, and zPos.
BoundDisk * ForwardRingDiskBuilderFromDet::operator() | ( | const std::vector< const GeomDet * > & | dets | ) | const |
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundDisk>
Definition at line 9 of file ForwardRingDiskBuilderFromDet.cc.
References pos, and makeMuonMisalignmentScenario::rot.