#include <ForwardDiskSectorBuilderFromWedges.h>
Public Member Functions | |
BoundDiskSector * | operator() (const std::vector< const TECWedge * > &wedges) const |
Private Member Functions | |
std::pair< DiskSectorBounds, GlobalVector > | computeBounds (const std::vector< const TECWedge * > &wedges) const |
Surface::RotationType | computeRotation (const std::vector< const TECWedge * > &wedges, Surface::PositionType pos) const |
As it's name indicates, it's a builder of a BoundDiskSector from a collection of Wedges (of one petal). The disk sector has the minimal size fully containing all wedges.
Definition at line 14 of file ForwardDiskSectorBuilderFromWedges.h.
|
private |
Definition at line 47 of file ForwardDiskSectorBuilderFromWedges.cc.
References funct::cos(), max(), min, Geom::pi(), pos, funct::sin(), and zPos.
|
private |
Definition at line 98 of file ForwardDiskSectorBuilderFromWedges.cc.
References Vector3DBase< T, FrameTag >::cross(), csvLumiCalc::unit, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
BoundDiskSector * ForwardDiskSectorBuilderFromWedges::operator() | ( | const std::vector< const TECWedge * > & | wedges | ) | const |
Warning, remember to assign this pointer to a ReferenceCountingPointer! Should be changed to return a ReferenceCountingPointer<BoundDisk>
Definition at line 11 of file ForwardDiskSectorBuilderFromWedges.cc.
References i, PV3DBase< T, PVType, FrameType >::phi(), Geom::pi(), pos, and GloballyPositioned< T >::position().