CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ()
 
- 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 14 of file CocoaSolidShapeBox.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file CocoaSolidShapeBox.cc.

References theXHalfLength, theYHalfLength, and theZHalfLength.

14 {
15 
16  theXHalfLength = xdim;
17  theYHalfLength = ydim;
18  theZHalfLength = zdim;
19 }
type
Definition: HCALResponse.h:21
CocoaSolidShape(ALIstring type)
CocoaSolidShapeBox::~CocoaSolidShapeBox ( )
inline

Definition at line 20 of file CocoaSolidShapeBox.h.

20 { };

Member Function Documentation

ALIfloat CocoaSolidShapeBox::getXHalfLength ( ) const
inline

Definition at line 22 of file CocoaSolidShapeBox.h.

References theXHalfLength.

Referenced by CocoaToDDLMgr::so().

22  {
23  return theXHalfLength; }
ALIfloat CocoaSolidShapeBox::getYHalfLength ( ) const
inline

Definition at line 24 of file CocoaSolidShapeBox.h.

References theYHalfLength.

Referenced by CocoaToDDLMgr::so().

24  {
25  return theYHalfLength; }
ALIfloat CocoaSolidShapeBox::getZHalfLength ( ) const
inline

Definition at line 26 of file CocoaSolidShapeBox.h.

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

26  {
27  return theZHalfLength; }

Member Data Documentation

ALIfloat CocoaSolidShapeBox::theXHalfLength
private

Definition at line 31 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getXHalfLength().

ALIfloat CocoaSolidShapeBox::theYHalfLength
private

Definition at line 32 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getYHalfLength().

ALIfloat CocoaSolidShapeBox::theZHalfLength
private

Definition at line 33 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getZHalfLength().