00001 // COCOA class header file 00002 //Id: CocoaSolidShapeBox.h 00003 // 00004 // History: v1.0 00005 // Pedro Arce 00006 00007 #ifndef _CocoaSolidShapeBox_HH 00008 #define _CocoaSolidShapeBox_HH 00009 00010 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShape.h" 00011 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h" 00012 00013 00014 class CocoaSolidShapeBox : public CocoaSolidShape 00015 { 00016 00017 public: 00018 //---------- Constructors / Destructor 00019 CocoaSolidShapeBox( ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim ); 00020 ~CocoaSolidShapeBox(){ }; 00021 00022 ALIfloat getXHalfLength() const { 00023 return theXHalfLength; } 00024 ALIfloat getYHalfLength() const { 00025 return theYHalfLength; } 00026 ALIfloat getZHalfLength() const { 00027 return theZHalfLength; } 00028 00029 private: 00030 00031 ALIfloat theXHalfLength; 00032 ALIfloat theYHalfLength; 00033 ALIfloat theZHalfLength; 00034 }; 00035 00036 #endif 00037