CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
BoundDisk Class Reference

#include <BoundDisk.h>

Inheritance diagram for BoundDisk:
BoundPlane Plane BoundSurface Surface Surface GloballyPositioned< float > BasicReferenceCounted GloballyPositioned< float > BasicReferenceCounted

Public Types

typedef
ReferenceCountingPointer
< BoundDisk
BoundDiskPointer
 
typedef
ConstReferenceCountingPointer
< BoundDisk
ConstBoundDiskPointer
 
- Public Types inherited from BoundPlane
typedef
ReferenceCountingPointer
< BoundPlane
BoundPlanePointer
 
typedef
ConstReferenceCountingPointer
< BoundPlane
ConstBoundPlanePointer
 
- Public Types inherited from Plane
typedef
ConstReferenceCountingPointer
< Plane
ConstPlanePointer
 
typedef
ReferenceCountingPointer
< Plane
PlanePointer
 
- Public Types inherited from Surface
typedef GloballyPositioned< float > Base
 
typedef SurfaceOrientation::Side Side
 
- Public Types inherited from GloballyPositioned< float >
typedef Point3DBase< float,
GlobalTag
GlobalPoint
 
typedef Vector3DBase< float,
GlobalTag
GlobalVector
 
typedef Point3DBase< float,
LocalTag
LocalPoint
 
typedef Vector3DBase< float,
LocalTag
LocalVector
 
typedef Point3DBase< float,
GlobalTag
PositionType
 
typedef TkRotation< float > RotationType
 
typedef float Scalar
 

Public Member Functions

 BoundDisk (const PositionType &pos, const RotationType &rot, Bounds *bounds)
 
 BoundDisk (const PositionType &pos, const RotationType &rot, const Bounds &bounds)
 
float innerRadius () const
 The inner radius of the disk. More...
 
float outerRadius () const
 The outer radius of the disk. More...
 
virtual ~BoundDisk ()
 
- Public Member Functions inherited from BoundPlane
 BoundPlane (const PositionType &pos, const RotationType &rot, const Bounds *bounds)
 
 BoundPlane (const PositionType &pos, const RotationType &rot, const Bounds &bounds)
 
 BoundPlane (const PositionType &pos, const RotationType &rot, const Bounds *bounds, MediumProperties *mp)
 
 BoundPlane (const PositionType &pos, const RotationType &rot, const Bounds &bounds, MediumProperties *mp)
 
 BoundPlane (const PositionType &pos, const RotationType &rot)
 
virtual ~BoundPlane ()
 
- Public Member Functions inherited from Plane
float localZ (const GlobalPoint &gp) const
 Fast access to distance from plane for a point. More...
 
float localZ (const GlobalVector &gv) const
 Fast access to component perpendicular to plane for a vector. More...
 
GlobalVector normalVector () const
 
 Plane (const PositionType &pos, const RotationType &rot)
 
 Plane (const PositionType &pos, const RotationType &rot, MediumProperties *mp)
 
virtual SurfaceOrientation::Side side (const LocalPoint &p, Scalar toler) const
 
virtual SurfaceOrientation::Side side (const GlobalPoint &p, Scalar toler) const
 
virtual
ReferenceCountingPointer
< TangentPlane
tangentPlane (const GlobalPoint &) const
 tangent plane to surface from global point More...
 
virtual
ReferenceCountingPointer
< TangentPlane
tangentPlane (const LocalPoint &) const
 tangent plane to surface from local point More...
 
- Public Member Functions inherited from Surface
const MediumPropertiesmediumProperties () const
 
void setMediumProperties (const MediumProperties &mp)
 
void setMediumProperties (MediumProperties *mp)
 
 Surface (const PositionType &pos, const RotationType &rot)
 
 Surface (const PositionType &pos, const RotationType &rot, MediumProperties *mp)
 
 Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp)
 
 Surface (const Surface &iSurface)
 
GlobalPoint toGlobal (const Point2DBase< Scalar, LocalTag > lp) const
 
virtual ~Surface ()=0
 
- Public Member Functions inherited from GloballyPositioned< float >
float eta () const
 
 GloballyPositioned (const PositionType &pos, const RotationType &rot)
 
void move (const GlobalVector &displacement)
 
float phi () const
 
const PositionTypeposition () const
 
void rotate (const RotationType &rotation)
 
const RotationTyperotation () const
 
GlobalPoint toGlobal (const LocalPoint &lp) const
 
Point3DBase< U, GlobalTagtoGlobal (const Point3DBase< U, LocalTag > &lp) const
 
GlobalVector toGlobal (const LocalVector &lv) const
 
Vector3DBase< U, GlobalTagtoGlobal (const Vector3DBase< U, LocalTag > &lv) const
 
LocalPoint toLocal (const GlobalPoint &gp) const
 
Point3DBase< U, LocalTagtoLocal (const Point3DBase< U, GlobalTag > &gp) const
 
LocalVector toLocal (const GlobalVector &gv) const
 
Vector3DBase< U, LocalTagtoLocal (const Vector3DBase< U, GlobalTag > &gv) const
 
virtual ~GloballyPositioned ()
 
- Public Member Functions inherited from BasicReferenceCounted
void addReference () const
 
 BasicReferenceCounted ()
 
 BasicReferenceCounted (const BasicReferenceCounted &iRHS)
 
const BasicReferenceCountedoperator= (const BasicReferenceCounted &)
 
unsigned int references () const
 
void removeReference () const
 
virtual ~BasicReferenceCounted ()
 
- Public Member Functions inherited from BoundSurface
const Boundsbounds () const
 
 BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds *bounds)
 
 BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds &bounds)
 
 BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds *bounds, MediumProperties *mp)
 
 BoundSurface (const PositionType &pos, const RotationType &rot, const Bounds &bounds, MediumProperties *mp)
 
 BoundSurface (const BoundSurface &iToCopy)
 
const BoundSurfaceoperator= (const BoundSurface &iRHS)
 
std::pair< float, float > const & phiSpan () const
 
std::pair< float, float > const & rSpan () const
 
std::pair< float, float > const & zSpan () const
 

Static Public Member Functions

static BoundDiskPointer build (const PositionType &pos, const RotationType &rot, Bounds *bounds, MediumProperties *mp=0)
 
static BoundDiskPointer build (const PositionType &pos, const RotationType &rot, Bounds &bounds, MediumProperties *mp=0)
 
- Static Public Member Functions inherited from BoundPlane
static BoundPlanePointer build (const PositionType &pos, const RotationType &rot, const Bounds *bounds, MediumProperties *mp=0)
 
static BoundPlanePointer build (const PositionType &pos, const RotationType &rot, const Bounds &bounds, MediumProperties *mp=0)
 
- Static Public Member Functions inherited from Plane
static PlanePointer build (const PositionType &pos, const RotationType &rot, MediumProperties *mp=0)
 
- Static Public Member Functions inherited from GloballyPositioned< float >
static float iniEta ()
 
static float iniPhi ()
 

Protected Member Functions

 BoundDisk (const PositionType &pos, const RotationType &rot, Bounds *bounds, MediumProperties *mp=0)
 
- Protected Member Functions inherited from BoundSurface
void computeSpan ()
 

Detailed Description

A BoundDisk is a special BoundPlane that is additionally limited by an inner and outer radius.

Warning
Surfaces are reference counted, so only ReferenceCountingPointer should be used to point to them. For this reason, they should be using the static build() method. (The normal constructor will become private in the future).
Date:
2006/08/18 11:02:36
Revision:
1.4

Definition at line 20 of file BoundDisk.h.

Member Typedef Documentation

Definition at line 23 of file BoundDisk.h.

Definition at line 24 of file BoundDisk.h.

Constructor & Destructor Documentation

virtual BoundDisk::~BoundDisk ( )
inlinevirtual

Definition at line 46 of file BoundDisk.h.

46 {}
BoundDisk::BoundDisk ( const PositionType pos,
const RotationType rot,
Bounds bounds 
)
inline

Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer. This constructor will soon become private

Definition at line 54 of file BoundDisk.h.

Referenced by build().

56  :
57  Surface(pos,rot), BoundPlane( pos, rot, bounds) {}
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds *bounds)
Definition: BoundPlane.h:50
Surface(const PositionType &pos, const RotationType &rot)
Definition: Surface.h:40
BoundDisk::BoundDisk ( const PositionType pos,
const RotationType rot,
const Bounds bounds 
)
inline

Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer. This constructor will soon become private

Definition at line 62 of file BoundDisk.h.

64  :
65  Surface(pos,rot), BoundPlane( pos, rot, bounds) {}
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds *bounds)
Definition: BoundPlane.h:50
Surface(const PositionType &pos, const RotationType &rot)
Definition: Surface.h:40
BoundDisk::BoundDisk ( const PositionType pos,
const RotationType rot,
Bounds bounds,
MediumProperties mp = 0 
)
inlineprotected

Definition at line 78 of file BoundDisk.h.

81  :
82  Surface(pos, rot, mp), BoundPlane(pos, rot, bounds, mp) {}
BoundPlane(const PositionType &pos, const RotationType &rot, const Bounds *bounds)
Definition: BoundPlane.h:50
Surface(const PositionType &pos, const RotationType &rot)
Definition: Surface.h:40

Member Function Documentation

static BoundDiskPointer BoundDisk::build ( const PositionType pos,
const RotationType rot,
Bounds bounds,
MediumProperties mp = 0 
)
inlinestatic

Construct a disk with origin at pos and with rotation matrix rot, with bounds. The bounds you provide are cloned.

Definition at line 29 of file BoundDisk.h.

References BoundDisk().

32  {
33  return BoundDiskPointer(new BoundDisk(pos, rot, bounds, mp));
34  }
ReferenceCountingPointer< BoundDisk > BoundDiskPointer
Definition: BoundDisk.h:23
BoundDisk(const PositionType &pos, const RotationType &rot, Bounds *bounds)
Definition: BoundDisk.h:54
static BoundDiskPointer BoundDisk::build ( const PositionType pos,
const RotationType rot,
Bounds bounds,
MediumProperties mp = 0 
)
inlinestatic

Construct a disk with origin at pos and with rotation matrix rot, with bounds. The bounds you provide are cloned.

Definition at line 39 of file BoundDisk.h.

References BoundDisk().

42  {
43  return BoundDiskPointer(new BoundDisk(pos, rot, &bounds, mp));
44  }
ReferenceCountingPointer< BoundDisk > BoundDiskPointer
Definition: BoundDisk.h:23
BoundDisk(const PositionType &pos, const RotationType &rot, Bounds *bounds)
Definition: BoundDisk.h:54
float BoundDisk::innerRadius ( ) const

The inner radius of the disk.

Definition at line 6 of file BoundDisk.cc.

References BoundSurface::bounds().

Referenced by MuonNavigationSchool::addEndcapLayer(), MuonTkNavigationSchool::addEndcapLayer(), MuonCSCDetLayerGeometryBuilder::buildLayer(), DirectMuonNavigation::checkCompatible(), DirectTrackerNavigation::checkCompatible(), MuDetRing::compatible(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), TIDLayer::computeDisk(), MuRingForwardDoubleLayer::computeSurface(), MultipleScatteringGeometry::detLayers(), RectangularEtaPhiTrackingRegion::estimator(), TIDLayer::findClosest(), TIDLayer::findNextIndex(), PropagateToMuon::init(), InnerDeltaPhi::initForwardLayer(), ConvBremSeedProducer::initializeLayerMap(), TrajectoryManager::initializeLayerMap(), MuRingForwardDoubleLayer::isCrack(), OutInConversionSeedFinder::makeEstimator(), MSLayer::MSLayer(), MuRingForwardDoubleLayer::MuRingForwardDoubleLayer(), MuRingForwardLayer::MuRingForwardLayer(), DiskLessInnerRadius::operator()(), ForwardLayerMirrorImage::operator()(), TIDLayer::overlapInR(), PixelForwardLayer::PixelForwardLayer(), TECLayer::TECLayer(), TIDLayer::TIDLayer(), TrackerLayer::TrackerLayer(), and SimpleNavigableLayer::wellInside().

6  {
7  return dynamic_cast<const SimpleDiskBounds&>(bounds()).innerRadius();
8 }
const Bounds & bounds() const
Definition: BoundSurface.h:89
float innerRadius() const
The inner radius of the disk.
Definition: BoundDisk.cc:6
float BoundDisk::outerRadius ( ) const