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

13 {
14 
15  theInnerRadius = pRMin;
16  theOuterRadius = pRMax;
17  theZHalfLength = pDz;
18  theStartPhiAngle = pSPhi;
19  theDeltaPhiAngle = pDPhi;
20 }
type
Definition: HCALResponse.h:21
CocoaSolidShape(ALIstring type)
CocoaSolidShapeTubs::~CocoaSolidShapeTubs ( )
inlineoverride

Definition at line 20 of file CocoaSolidShapeTubs.h.

20 { };

Member Function Documentation

ALIfloat CocoaSolidShapeTubs::getDeltaPhiAngle ( ) const
inline

Definition at line 29 of file CocoaSolidShapeTubs.h.

References theDeltaPhiAngle.

Referenced by CocoaToDDLMgr::so().

29  {
30  return theDeltaPhiAngle ; }
ALIfloat CocoaSolidShapeTubs::getInnerRadius ( ) const
inline

Definition at line 21 of file CocoaSolidShapeTubs.h.

References theInnerRadius.

Referenced by CocoaToDDLMgr::so().

21  {
22  return theInnerRadius; }
ALIfloat CocoaSolidShapeTubs::getOuterRadius ( ) const
inline

Definition at line 23 of file CocoaSolidShapeTubs.h.

References theOuterRadius.

Referenced by CocoaToDDLMgr::so().

23  {
24  return theOuterRadius ; }
ALIfloat CocoaSolidShapeTubs::getStartPhiAngle ( ) const
inline

Definition at line 27 of file CocoaSolidShapeTubs.h.

References theStartPhiAngle.

Referenced by CocoaToDDLMgr::so().

27  {
28  return theStartPhiAngle ; }
ALIfloat CocoaSolidShapeTubs::getZHalfLength ( ) const
inline

Definition at line 25 of file CocoaSolidShapeTubs.h.

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

25  {
26  return theZHalfLength ; }

Member Data Documentation

ALIfloat CocoaSolidShapeTubs::theDeltaPhiAngle
private

Definition at line 38 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getDeltaPhiAngle().

ALIfloat CocoaSolidShapeTubs::theInnerRadius
private

Definition at line 34 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getInnerRadius().

ALIfloat CocoaSolidShapeTubs::theOuterRadius
private

Definition at line 35 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getOuterRadius().

ALIfloat CocoaSolidShapeTubs::theStartPhiAngle
private

Definition at line 37 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getStartPhiAngle().

ALIfloat CocoaSolidShapeTubs::theZHalfLength
private

Definition at line 36 of file CocoaSolidShapeTubs.h.

Referenced by CocoaSolidShapeTubs(), and getZHalfLength().