CMS 3D CMS Logo

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

#include <BoundDiskSector.h>

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

Public Member Functions

 BoundDiskSector (const PositionType &pos, const RotationType &rot, Bounds *bounds)
 
 BoundDiskSector (const PositionType &pos, const RotationType &rot, const Bounds &bounds)
 
DiskSectorBounds const & bounds () const
 
float innerRadius () const
 
float outerRadius () const
 
float phiExtension () const
 
virtual ~BoundDiskSector ()
 
- 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
 

Additional Inherited Members

- 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
 
- 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 inherited from BoundSurface
void computeSpan ()
 

Detailed Description

Definition at line 8 of file BoundDiskSector.h.

Constructor & Destructor Documentation

virtual BoundDiskSector::~BoundDiskSector ( )
inlinevirtual

Definition at line 12 of file BoundDiskSector.h.

12 {}
BoundDiskSector::BoundDiskSector ( const PositionType pos,
const RotationType rot,
Bounds bounds 
)
inline

Definition at line 14 of file BoundDiskSector.h.

16  : Surface( pos,rot),
17  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
BoundDiskSector::BoundDiskSector ( const PositionType pos,
const RotationType rot,
const Bounds bounds 
)
inline

Definition at line 19 of file BoundDiskSector.h.

21  : Surface( pos,rot),
22  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

Member Function Documentation

DiskSectorBounds const& BoundDiskSector::bounds ( ) const
inline

Definition at line 29 of file BoundDiskSector.h.

References BoundSurface::bounds().

Referenced by innerRadius(), outerRadius(), and phiExtension().

29  {
30  return static_cast<DiskSectorBounds const &>(BoundPlane::bounds());
31  }
const Bounds & bounds() const
Definition: BoundSurface.h:89
float BoundDiskSector::innerRadius ( void  ) const
inline

Definition at line 24 of file BoundDiskSector.h.

References bounds(), and DiskSectorBounds::innerRadius().

Referenced by TECLayer::computeDisk().

24 { return bounds().innerRadius();}
float innerRadius() const
DiskSectorBounds const & bounds() const
float BoundDiskSector::outerRadius ( void  ) const
inline

Definition at line 25 of file BoundDiskSector.h.

References bounds(), and DiskSectorBounds::outerRadius().

Referenced by TECLayer::computeDisk().

25 { return bounds().outerRadius();}
DiskSectorBounds const & bounds() const
float outerRadius() const
float BoundDiskSector::phiExtension ( ) const
inline

Definition at line 26 of file BoundDiskSector.h.

References bounds(), and DiskSectorBounds::phiExtension().

Referenced by TECLayer::overlap().

26 { return bounds().phiExtension();}
float phiExtension() const
DiskSectorBounds const & bounds() const