CMS 3D CMS Logo

BoundDisk Class Reference

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

#include <DataFormats/GeometrySurface/interface/BoundDisk.h>

Inheritance diagram for BoundDisk:

BoundPlane Plane BoundSurface Surface Surface GloballyPositioned< float > ReferenceCounted GloballyPositioned< float > ReferenceCounted

List of all members.

Public Types

typedef
ReferenceCountingPointer
< BoundDisk
BoundDiskPointer
typedef
ConstReferenceCountingPointer
< BoundDisk
ConstBoundDiskPointer

Public Member Functions

 BoundDisk (const PositionType &pos, const RotationType &rot, const Bounds &bounds)
 Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer.
 BoundDisk (const PositionType &pos, const RotationType &rot, Bounds *bounds)
 Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer.
float innerRadius () const
 The inner radius of the disk.
float outerRadius () const
 The outer radius of the disk.
virtual ~BoundDisk ()

Static Public Member Functions

static BoundDiskPointer build (const PositionType &pos, const RotationType &rot, Bounds &bounds, MediumProperties *mp=0)
 Construct a disk with origin at pos and with rotation matrix rot, with bounds.
static BoundDiskPointer build (const PositionType &pos, const RotationType &rot, Bounds *bounds, MediumProperties *mp=0)
 Construct a disk with origin at pos and with rotation matrix rot, with bounds.

Protected Member Functions

 BoundDisk (const PositionType &pos, const RotationType &rot, Bounds *bounds, MediumProperties *mp=0)


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
2007/01/17 20:58:43
Revision
1.1

Definition at line 20 of file BoundDisk.h.


Member Typedef Documentation

typedef ReferenceCountingPointer<BoundDisk> BoundDisk::BoundDiskPointer

Definition at line 23 of file BoundDisk.h.

typedef ConstReferenceCountingPointer<BoundDisk> BoundDisk::ConstBoundDiskPointer

Definition at line 24 of file BoundDisk.h.


Constructor & Destructor Documentation

virtual BoundDisk::~BoundDisk (  )  [inline, virtual]

Definition at line 46 of file BoundDisk.h.

00046 {}

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

00056                             :
00057     Surface(pos,rot), BoundPlane( pos, rot, bounds) {}

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.

00064                                   :
00065     Surface(pos,rot), BoundPlane( pos, rot, bounds) {}

BoundDisk::BoundDisk ( const PositionType pos,
const RotationType rot,
Bounds bounds,
MediumProperties mp = 0 
) [inline, protected]

Definition at line 78 of file BoundDisk.h.

00081                                     :
00082     Surface(pos, rot, mp), BoundPlane(pos, rot, bounds, mp) {}


Member Function Documentation

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

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(), and mp.

00042                                                         {
00043     return BoundDiskPointer(new BoundDisk(pos, rot, &bounds, mp));
00044   }

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

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(), and mp.

00032                                                         {
00033     return BoundDiskPointer(new BoundDisk(pos, rot, bounds, mp));
00034   }

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(), DirectTrackerNavigation::checkCompatible(), DirectMuonNavigation::checkCompatible(), MuDetRing::compatible(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), MuRingForwardDoubleLayer::computeSurface(), MultipleScatteringGeometry::detLayers(), RectangularEtaPhiTrackingRegion::estimator(), TIDLayer::findClosest(), TIDLayer::findNextIndex(), InnerDeltaPhi::initForwardLayer(), TrajectoryManager::initializeLayerMap(), ConvBremSeedProducer::initializeLayerMap(), MuRingForwardDoubleLayer::isCrack(), OutInConversionSeedFinder::makeEstimator(), MSLayer::MSLayer(), ForwardLayerMirrorImage::operator()(), DiskLessInnerRadius::operator()(), TIDLayer::overlapInR(), TrackerLayer::TrackerLayer(), and SimpleNavigableLayer::wellInside().

00006                                    {
00007   return dynamic_cast<const SimpleDiskBounds&>(bounds()).innerRadius();
00008 }

float BoundDisk::outerRadius (  )  const

The outer radius of the disk.

Definition at line 10 of file BoundDisk.cc.

References BoundSurface::bounds().

Referenced by MuonNavigationSchool::addEndcapLayer(), MuonTkNavigationSchool::addEndcapLayer(), DirectTrackerNavigation::checkCompatible(), DirectMuonNavigation::checkCompatible(), MuDetRing::compatible(), MuRingForwardLayer::compatibleDets(), MuDetRing::compatibleDets(), MuRingForwardDoubleLayer::computeSurface(), MultipleScatteringGeometry::detLayers(), RectangularEtaPhiTrackingRegion::estimator(), TIDLayer::findClosest(), TIDLayer::findNextIndex(), TrajectoryManager::initializeLayerMap(), ConvBremSeedProducer::initializeLayerMap(), MuRingForwardDoubleLayer::isCrack(), HICSimpleNavigationSchool::linkNextBarrelLayer(), SimpleNavigationSchool::linkNextBarrelLayer(), OutInConversionSeedFinder::makeEstimator(), MSLayer::MSLayer(), TIDLayer::overlapInR(), TrackerLayer::TrackerLayer(), and SimpleNavigableLayer::wellInside().

00010                                    {
00011   return dynamic_cast<const SimpleDiskBounds&>(bounds()).outerRadius();
00012 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:15:02 2009 for CMSSW by  doxygen 1.5.4