Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:24

0001 //   COCOA class header file

0002 // Id:  CocoaSolidShapeBox.h

0003 //

0004 //   History: v1.0

0005 //   Pedro Arce

0006 
0007 #ifndef _CocoaSolidShapeBox_HH
0008 #define _CocoaSolidShapeBox_HH
0009 
0010 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShape.h"
0011 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0012 
0013 class CocoaSolidShapeBox : public CocoaSolidShape {
0014 public:
0015   //---------- Constructors / Destructor

0016   CocoaSolidShapeBox(ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim);
0017   ~CocoaSolidShapeBox() override{};
0018 
0019   ALIfloat getXHalfLength() const { return theXHalfLength; }
0020   ALIfloat getYHalfLength() const { return theYHalfLength; }
0021   ALIfloat getZHalfLength() const { return theZHalfLength; }
0022 
0023 private:
0024   ALIfloat theXHalfLength;
0025   ALIfloat theYHalfLength;
0026   ALIfloat theZHalfLength;
0027 };
0028 
0029 #endif