CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions
Disk Class Referencefinal

#include <BoundDisk.h>

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

Public Types

typedef ReferenceCountingPointer< DiskBoundDiskPointer
 
typedef ConstReferenceCountingPointer< DiskConstBoundDiskPointer
 
typedef ConstReferenceCountingPointer< DiskConstDiskPointer
 
typedef ReferenceCountingPointer< DiskDiskPointer
 
- 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
 

Public Member Functions

 Disk (const PositionType &pos, const RotationType &rot, SimpleDiskBounds *bounds)
 
 Disk (const PositionType &pos, const RotationType &rot, SimpleDiskBounds const &bounds)
 
float innerRadius () const
 The inner radius of the disk. More...
 
float outerRadius () const
 The outer radius of the disk. More...
 
 ~Disk () override
 
- 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
 
SurfaceOrientation::Side side (const LocalPoint &p, Scalar toler) const final
 
SurfaceOrientation::Side side (const GlobalPoint &p, Scalar toler) const final
 
ConstReferenceCountingPointer< TangentPlanetangentPlane (const GlobalPoint &) const final
 tangent plane to surface from global point More...
 
ConstReferenceCountingPointer< TangentPlanetangentPlane (const LocalPoint &) const final
 tangent plane to surface from local point More...
 
 ~Plane () override
 
- 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
 
 ~Surface () override
 
- Public Member Functions inherited from BasicReferenceCounted
void addReference () const
 
 BasicReferenceCounted ()
 
 BasicReferenceCounted (const BasicReferenceCounted &)
 
 BasicReferenceCounted (BasicReferenceCounted &&)
 
BasicReferenceCountedoperator= (BasicReferenceCounted &&)
 
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 ()
 

Static Public Member Functions

template<typename... Args>
static DiskPointer build (Args &&... args)
 
- 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 ()
 

Additional Inherited Members

- 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 19 of file BoundDisk.h.

Member Typedef Documentation

◆ BoundDiskPointer

Definition at line 34 of file BoundDisk.h.

◆ ConstBoundDiskPointer

Definition at line 35 of file BoundDisk.h.

◆ ConstDiskPointer

Definition at line 33 of file BoundDisk.h.

◆ DiskPointer

Definition at line 32 of file BoundDisk.h.

Constructor & Destructor Documentation

◆ Disk() [1/2]

Disk::Disk ( const PositionType pos,
const RotationType rot,
SimpleDiskBounds bounds 
)
inline

Definition at line 27 of file BoundDisk.h.

Referenced by build().

◆ Disk() [2/2]

Disk::Disk ( const PositionType pos,
const RotationType rot,
SimpleDiskBounds const &  bounds 
)
inline

Definition at line 29 of file BoundDisk.h.

◆ ~Disk()

Disk::~Disk ( )
inlineoverride

Definition at line 42 of file BoundDisk.h.

42 {}

Member Function Documentation

◆ build()

template<typename... Args>
static DiskPointer Disk::build ( Args &&...  args)
inlinestatic

◆ innerRadius()

float Disk::innerRadius ( ) const
inline

The inner radius of the disk.

Definition at line 49 of file BoundDisk.h.

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

Referenced by innerRadius().

49 { return static_cast<const SimpleDiskBounds&>(bounds()).innerRadius(); }
float innerRadius() const
The inner radius of the disk.
Definition: BoundDisk.h:49
const Bounds & bounds() const
Definition: Surface.h:87

◆ outerRadius()

float Disk::outerRadius ( ) const
inline

The outer radius of the disk.

Definition at line 52 of file BoundDisk.h.

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

Referenced by outerRadius().

52 { return static_cast<const SimpleDiskBounds&>(bounds()).outerRadius(); }
float outerRadius() const
The outer radius of the disk.
Definition: BoundDisk.h:52
const Bounds & bounds() const
Definition: Surface.h:87