CMS 3D CMS Logo

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

#include <CocoaSolidShapeBox.h>

Inheritance diagram for CocoaSolidShapeBox:
CocoaSolidShape

Public Member Functions

 CocoaSolidShapeBox (ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim)
 
ALIfloat getXHalfLength () const
 
ALIfloat getYHalfLength () const
 
ALIfloat getZHalfLength () const
 
 ~CocoaSolidShapeBox () override
 
- Public Member Functions inherited from CocoaSolidShape
 CocoaSolidShape (ALIstring type)
 
ALIstring getType () const
 
virtual ~CocoaSolidShape ()
 

Private Attributes

ALIfloat theXHalfLength
 
ALIfloat theYHalfLength
 
ALIfloat theZHalfLength
 

Detailed Description

Definition at line 13 of file CocoaSolidShapeBox.h.

Constructor & Destructor Documentation

◆ CocoaSolidShapeBox()

CocoaSolidShapeBox::CocoaSolidShapeBox ( ALIstring  type,
ALIfloat  xdim,
ALIfloat  ydim,
ALIfloat  zdim 
)

Definition at line 12 of file CocoaSolidShapeBox.cc.

14  theXHalfLength = xdim;
15  theYHalfLength = ydim;
16  theZHalfLength = zdim;
17 }

References theXHalfLength, theYHalfLength, and theZHalfLength.

◆ ~CocoaSolidShapeBox()

CocoaSolidShapeBox::~CocoaSolidShapeBox ( )
inlineoverride

Definition at line 17 of file CocoaSolidShapeBox.h.

17 {};

Member Function Documentation

◆ getXHalfLength()

ALIfloat CocoaSolidShapeBox::getXHalfLength ( ) const
inline

Definition at line 19 of file CocoaSolidShapeBox.h.

19 { return theXHalfLength; }

References theXHalfLength.

Referenced by CocoaToDDLMgr::so().

◆ getYHalfLength()

ALIfloat CocoaSolidShapeBox::getYHalfLength ( ) const
inline

Definition at line 20 of file CocoaSolidShapeBox.h.

20 { return theYHalfLength; }

References theYHalfLength.

Referenced by CocoaToDDLMgr::so().

◆ getZHalfLength()

ALIfloat CocoaSolidShapeBox::getZHalfLength ( ) const
inline

Definition at line 21 of file CocoaSolidShapeBox.h.

21 { return theZHalfLength; }

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

Member Data Documentation

◆ theXHalfLength

ALIfloat CocoaSolidShapeBox::theXHalfLength
private

Definition at line 24 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getXHalfLength().

◆ theYHalfLength

ALIfloat CocoaSolidShapeBox::theYHalfLength
private

Definition at line 25 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getYHalfLength().

◆ theZHalfLength

ALIfloat CocoaSolidShapeBox::theZHalfLength
private

Definition at line 26 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getZHalfLength().

CocoaSolidShape::CocoaSolidShape
CocoaSolidShape(ALIstring type)
Definition: CocoaSolidShape.cc:12
CocoaSolidShapeBox::theYHalfLength
ALIfloat theYHalfLength
Definition: CocoaSolidShapeBox.h:25
CocoaSolidShapeBox::theZHalfLength
ALIfloat theZHalfLength
Definition: CocoaSolidShapeBox.h:26
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
CocoaSolidShapeBox::theXHalfLength
ALIfloat theXHalfLength
Definition: CocoaSolidShapeBox.h:24