CMS 3D CMS Logo

Public Member Functions | Private Member Functions

ForwardDiskSectorBuilderFromWedges Class Reference

#include <ForwardDiskSectorBuilderFromWedges.h>

List of all members.

Public Member Functions

BoundDiskSectoroperator() (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

Detailed Description

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 15 of file ForwardDiskSectorBuilderFromWedges.h.


Member Function Documentation

std::pair<DiskSectorBounds, GlobalVector> ForwardDiskSectorBuilderFromWedges::computeBounds ( const std::vector< const TECWedge * > &  wedges) const [private]
Surface::RotationType ForwardDiskSectorBuilderFromWedges::computeRotation ( const std::vector< const TECWedge * > &  wedges,
Surface::PositionType  pos 
) const [private]
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>