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.

15  theInnerRadius = pRMin;
16  theOuterRadius = pRMax;
17  theZHalfLength = pDz;
18  theStartPhiAngle = pSPhi;
19  theDeltaPhiAngle = pDPhi;
20 }

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

◆ ~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.

28 { return theDeltaPhiAngle; }

References theDeltaPhiAngle.

Referenced by CocoaToDDLMgr::so().

◆ getInnerRadius()

ALIfloat CocoaSolidShapeTubs::getInnerRadius ( ) const
inline

Definition at line 24 of file CocoaSolidShapeTubs.h.

24 { return theInnerRadius; }

References theInnerRadius.

Referenced by CocoaToDDLMgr::so().

◆ getOuterRadius()

ALIfloat CocoaSolidShapeTubs::getOuterRadius ( ) const
inline

Definition at line 25 of file CocoaSolidShapeTubs.h.

25 { return theOuterRadius; }

References theOuterRadius.

Referenced by CocoaToDDLMgr::so().

◆ getStartPhiAngle()

ALIfloat CocoaSolidShapeTubs::getStartPhiAngle ( ) const
inline

Definition at line 27 of file CocoaSolidShapeTubs.h.

27 { return theStartPhiAngle; }

References theStartPhiAngle.

Referenced by CocoaToDDLMgr::so().

◆ getZHalfLength()

ALIfloat CocoaSolidShapeTubs::getZHalfLength ( ) const
inline

Definition at line 26 of file CocoaSolidShapeTubs.h.

26 { return theZHalfLength; }

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

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().

CocoaSolidShapeTubs::theStartPhiAngle
ALIfloat theStartPhiAngle
Definition: CocoaSolidShapeTubs.h:34
CocoaSolidShape::CocoaSolidShape
CocoaSolidShape(ALIstring type)
Definition: CocoaSolidShape.cc:12
type
type
Definition: HCALResponse.h:21
CocoaSolidShapeTubs::theZHalfLength
ALIfloat theZHalfLength
Definition: CocoaSolidShapeTubs.h:33
CocoaSolidShapeTubs::theDeltaPhiAngle
ALIfloat theDeltaPhiAngle
Definition: CocoaSolidShapeTubs.h:35
CocoaSolidShapeTubs::theInnerRadius
ALIfloat theInnerRadius
Definition: CocoaSolidShapeTubs.h:31
CocoaSolidShapeTubs::theOuterRadius
ALIfloat theOuterRadius
Definition: CocoaSolidShapeTubs.h:32