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
Disk Class Reference

#include <BoundDisk.h>

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

Public Types

typedef
ReferenceCountingPointer< Disk
BoundDiskPointer
 
typedef
ConstReferenceCountingPointer
< Disk
ConstBoundDiskPointer
 
typedef
ConstReferenceCountingPointer
< Disk
ConstDiskPointer
 
typedef
ReferenceCountingPointer< Disk
DiskPointer
 
- Public Types inherited from Plane
typedef
ReferenceCountingPointer
< Plane
BoundPlanePointer
 
typedef
ConstReferenceCountingPointer
< Plane
ConstBoundPlanePointer
 
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

 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...
 
virtual ~Disk ()
 
- 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...
 
GlobalVector normalVector () const
 
float posPrec () const
 
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...
 
 ~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 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 ()
 
- 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 ()
 

Static Public Member Functions

template<typename... Args>
static DiskPointer 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)
 
- Protected Attributes inherited from Surface
BoundstheBounds
 
MediumProperties theMediumProperties
 

Detailed Description

Definition at line 19 of file BoundDisk.h.

Member Typedef Documentation

Definition at line 36 of file BoundDisk.h.

Definition at line 37 of file BoundDisk.h.

Definition at line 35 of file BoundDisk.h.

Definition at line 34 of file BoundDisk.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file BoundDisk.h.

Referenced by build().

28  :
29  Plane(pos,rot, bounds){}
Definition: Plane.h:17
Disk::Disk ( const PositionType pos,
const RotationType rot,
SimpleDiskBounds const &  bounds 
)
inline

Definition at line 31 of file BoundDisk.h.

31  :
32  Plane(pos,rot, bounds.clone()){}
const Bounds & bounds() const
Definition: Surface.h:128
Definition: Plane.h:17
virtual Bounds * clone() const =0
virtual Disk::~Disk ( )
inlinevirtual

Definition at line 45 of file BoundDisk.h.

45 {}

Member Function Documentation

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

Definition at line 40 of file BoundDisk.h.

References ExtractAppInfoFromXML::args, and Disk().

Referenced by psClasses.BuildThread::run().

40  {
41  return DiskPointer(new Disk(std::forward<Args>(args)...));
42  }
ReferenceCountingPointer< Disk > DiskPointer
Definition: BoundDisk.h:34
Disk(const PositionType &pos, const RotationType &rot, SimpleDiskBounds *bounds)
Definition: BoundDisk.h:28
float Disk::innerRadius ( ) const
inline

The inner radius of the disk.

Definition at line 55 of file BoundDisk.h.

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

Referenced by innerRadius().

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

The outer radius of the disk.

Definition at line 58 of file BoundDisk.h.

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

Referenced by outerRadius().

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