CMS 3D CMS Logo

List of all members | Public Member Functions
BoundDiskSector Class Referencefinal

#include <BoundDiskSector.h>

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

Public Member Functions

 BoundDiskSector (const PositionType &pos, const RotationType &rot, Bounds *bounds)
 
DiskSectorBounds const & bounds () const
 
float innerRadius () const
 
float outerRadius () const
 
float phiHalfExtension () const
 
virtual ~BoundDiskSector ()
 
- Public Member Functions inherited from Plane
void computeSpan ()
 
float localZ (const GlobalPoint &gp) const
 
float localZ (const GlobalVector &gv) const
 Fast access to component perpendicular to plane for a vector. More...
 
float localZclamped (const GlobalPoint &gp) const
 
GlobalVector normalVector () const
 
template<typename... Args>
 Plane (Args &&...args)
 
float posPrec () const
 
virtual SurfaceOrientation::Side side (const LocalPoint &p, Scalar toler) const final
 
virtual SurfaceOrientation::Side side (const GlobalPoint &p, Scalar toler) const final
 
virtual ConstReferenceCountingPointer< TangentPlanetangentPlane (const GlobalPoint &) const final
 tangent plane to surface from global point More...
 
virtual ConstReferenceCountingPointer< TangentPlanetangentPlane (const LocalPoint &) const final
 tangent plane to surface from local point More...
 
 ~Plane ()
 
- Public Member Functions inherited from Surface
const Boundsbounds () const
 
const MediumPropertiesmediumProperties () const
 
std::pair< float, float > const & phiSpan () const
 
std::pair< float, float > const & rSpan () const
 
void setMediumProperties (const MediumProperties &mp)
 
GlobalPoint toGlobal (const Point2DBase< Scalar, LocalTag > lp) const
 
std::pair< float, float > const & zSpan () const
 
virtual ~Surface ()
 
- Public Member Functions inherited from BasicReferenceCounted
void addReference () const
 
 BasicReferenceCounted ()
 
 BasicReferenceCounted (const BasicReferenceCounted &)
 
 BasicReferenceCounted (BasicReferenceCounted &&)=default
 
BasicReferenceCountedoperator= (BasicReferenceCounted &&)=default
 
BasicReferenceCountedoperator= (const BasicReferenceCounted &)
 
unsigned int references () const
 
void removeReference () const
 
virtual ~BasicReferenceCounted ()
 
- Public Member Functions inherited from GloballyPositioned< float >
float eta () const
 
 GloballyPositioned ()
 
 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 ()
 

Additional Inherited Members

- Public Types inherited from Plane
using BoundPlanePointer = ReferenceCountingPointer< Plane >
 
using ConstBoundPlanePointer = ConstReferenceCountingPointer< Plane >
 
using ConstPlanePointer = ConstReferenceCountingPointer< Plane >
 
using PlanePointer = ReferenceCountingPointer< Plane >
 
- Public Types inherited from Surface
using Base = GloballyPositioned< float >
 
using Side = SurfaceOrientation::Side
 
- Public Types inherited from GloballyPositioned< float >
typedef Point3DBase< float, GlobalTagGlobalPoint
 
typedef Vector3DBase< float, GlobalTagGlobalVector
 
typedef Point3DBase< float, LocalTagLocalPoint
 
typedef Vector3DBase< float, LocalTagLocalVector
 
typedef Point3DBase< float, GlobalTagPositionType
 
typedef TkRotation< float > RotationType
 
typedef float Scalar
 
- Static Public Member Functions inherited from Plane
template<typename... Args>
static PlanePointer build (Args &&...args)
 
- Static Public Member Functions inherited from GloballyPositioned< float >
static float iniEta ()
 
static float iniPhi ()
 
- Protected Member Functions inherited from Surface
 Surface ()
 
 Surface (const PositionType &pos, const RotationType &rot)
 
 Surface (const PositionType &pos, const RotationType &rot, Bounds *bounds)
 
 Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp)
 
 Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp, Bounds *bounds)
 
 Surface (const Surface &iSurface)
 
 Surface (Surface &&iSurface)
 
- Protected Attributes inherited from Surface
extstd::clone_ptr< BoundstheBounds
 
MediumProperties theMediumProperties
 

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  :
17  Plane( pos, rot, bounds) {}
Plane(Args &&...args)
Definition: Plane.h:20

Member Function Documentation

DiskSectorBounds const& BoundDiskSector::bounds ( ) const
inline

Definition at line 25 of file BoundDiskSector.h.

References Surface::bounds().

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

25  {
26  return static_cast<DiskSectorBounds const &>(Plane::bounds());
27  }
const Bounds & bounds() const
Definition: Surface.h:120
float BoundDiskSector::innerRadius ( void  ) const
inline

Definition at line 20 of file BoundDiskSector.h.

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

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

Definition at line 21 of file BoundDiskSector.h.

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

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

Definition at line 22 of file BoundDiskSector.h.

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

Referenced by TECLayer::addClosest().

22 { return bounds().phiHalfExtension();}
DiskSectorBounds const & bounds() const
float phiHalfExtension() const