00001 // COCOA class header file 00002 //Id: CocoaSolidShapeTubs.h 00003 // 00004 // History: v1.0 00005 // Pedro Arce 00006 00007 #ifndef _CocoaSolidShapeTubs_HH 00008 #define _CocoaSolidShapeTubs_HH 00009 00010 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShape.h" 00011 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h" 00012 #include "CLHEP/Units/GlobalSystemOfUnits.h" 00013 00014 class CocoaSolidShapeTubs : public CocoaSolidShape 00015 { 00016 00017 public: 00018 //---------- Constructors / Destructor 00019 CocoaSolidShapeTubs( const ALIstring pType, ALIfloat pRMin, ALIfloat pRMax, ALIfloat pDz, ALIfloat pSPhi = 0.*deg, ALIfloat pDPhi = 360.*deg ); 00020 ~CocoaSolidShapeTubs(){ }; 00021 ALIfloat getInnerRadius() const { 00022 return theInnerRadius; } 00023 ALIfloat getOuterRadius() const { 00024 return theOuterRadius ; } 00025 ALIfloat getZHalfLength() const { 00026 return theZHalfLength ; } 00027 ALIfloat getStartPhiAngle() const { 00028 return theStartPhiAngle ; } 00029 ALIfloat getDeltaPhiAngle() const { 00030 return theDeltaPhiAngle ; } 00031 00032 private: 00033 00034 ALIfloat theInnerRadius; 00035 ALIfloat theOuterRadius; 00036 ALIfloat theZHalfLength; 00037 ALIfloat theStartPhiAngle; 00038 ALIfloat theDeltaPhiAngle; 00039 00040 }; 00041 00042 #endif 00043