CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CocoaSolidShapeTubs Class Reference

#include <CocoaSolidShapeTubs.h>

Inheritance diagram for CocoaSolidShapeTubs:
CocoaSolidShape

Public Member Functions

 CocoaSolidShapeTubs (const ALIstring pType, ALIfloat pRMin, ALIfloat pRMax, ALIfloat pDz, ALIfloat pSPhi=0. *deg, ALIfloat pDPhi=360. *deg)
 
ALIfloat getDeltaPhiAngle () const
 
ALIfloat getInnerRadius () const
 
ALIfloat getOuterRadius () const
 
ALIfloat getStartPhiAngle () const
 
ALIfloat getZHalfLength () const
 
 ~CocoaSolidShapeTubs () override
 
- Public Member Functions inherited from CocoaSolidShape
 CocoaSolidShape (ALIstring type)
 
ALIstring getType () const
 
virtual ~CocoaSolidShape ()
 

Private Attributes

ALIfloat theDeltaPhiAngle
 
ALIfloat theInnerRadius
 
ALIfloat theOuterRadius
 
ALIfloat theStartPhiAngle
 
ALIfloat theZHalfLength
 

Detailed Description

Definition at line 14 of file CocoaSolidShapeTubs.h.

Constructor & Destructor Documentation

◆ CocoaSolidShapeTubs()

CocoaSolidShapeTubs::CocoaSolidShapeTubs ( const ALIstring  pType,
ALIfloat  pRMin,
ALIfloat  pRMax,
ALIfloat  pDz,
ALIfloat  pSPhi = 0. * deg,
ALIfloat  pDPhi = 360. * deg 
)

Definition at line 12 of file CocoaSolidShapeTubs.cc.

References theDeltaPhiAngle, theInnerRadius, theOuterRadius, theStartPhiAngle, and theZHalfLength.

15  theInnerRadius = pRMin;
16  theOuterRadius = pRMax;
17  theZHalfLength = pDz;
18  theStartPhiAngle = pSPhi;
19  theDeltaPhiAngle = pDPhi;
20 }
CocoaSolidShape(ALIstring type)

◆ ~CocoaSolidShapeTubs()

CocoaSolidShapeTubs::~CocoaSolidShapeTubs ( )
inlineoverride

Definition at line 23 of file CocoaSolidShapeTubs.h.

23 {};

Member Function Documentation

◆ getDeltaPhiAngle()

ALIfloat CocoaSolidShapeTubs::getDeltaPhiAngle ( ) const
inline

Definition at line 28 of file CocoaSolidShapeTubs.h.

References theDeltaPhiAngle.

Referenced by CocoaToDDLMgr::so().

28 { return theDeltaPhiAngle; }

◆ getInnerRadius()

ALIfloat CocoaSolidShapeTubs::getInnerRadius ( ) const
inline

Definition at line 24 of file CocoaSolidShapeTubs.h.

References theInnerRadius.

Referenced by CocoaToDDLMgr::so().

24 { return theInnerRadius; }

◆ getOuterRadius()

ALIfloat CocoaSolidShapeTubs::getOuterRadius ( ) const
inline

Definition at line 25 of file CocoaSolidShapeTubs.h.

References theOuterRadius.

Referenced by CocoaToDDLMgr::so().

25 { return theOuterRadius; }

◆ getStartPhiAngle()

ALIfloat CocoaSolidShapeTubs::getStartPhiAngle ( ) const
inline

Definition at line 27 of file CocoaSolidShapeTubs.h.

References theStartPhiAngle.

Referenced by CocoaToDDLMgr::so().

27 { return theStartPhiAngle; }

◆ getZHalfLength()

ALIfloat CocoaSolidShapeTubs::getZHalfLength ( ) const
inline

Definition at line 26 of file CocoaSolidShapeTubs.h.

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

26 { return theZHalfLength; }

Member Data Documentation

◆ theDeltaPhiAngle

ALIfloat CocoaSolidShapeTubs::theDeltaPhiAngle
private

Definition at line 35 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getDeltaPhiAngle().

◆ theInnerRadius

ALIfloat CocoaSolidShapeTubs::theInnerRadius
private

Definition at line 31 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getInnerRadius().

◆ theOuterRadius

ALIfloat CocoaSolidShapeTubs::theOuterRadius
private

Definition at line 32 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getOuterRadius().

◆ theStartPhiAngle

ALIfloat CocoaSolidShapeTubs::theStartPhiAngle
private

Definition at line 34 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getStartPhiAngle().

◆ theZHalfLength

ALIfloat CocoaSolidShapeTubs::theZHalfLength
private

Definition at line 33 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getZHalfLength().