Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:34:25

0001 //   COCOA class header file

0002 // Id:  CocoaSolidShapeTubs.h

0003 //

0004 //   History: v1.0

0005 //   Pedro Arce

0006 
0007 #ifndef _CocoaSolidShapeTubs_HH
0008 #define _CocoaSolidShapeTubs_HH
0009 
0010 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShape.h"
0011 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0012 #include <CLHEP/Units/SystemOfUnits.h>
0013 
0014 class CocoaSolidShapeTubs : public CocoaSolidShape {
0015 public:
0016   //---------- Constructors / Destructor

0017   CocoaSolidShapeTubs(const ALIstring pType,
0018                       ALIfloat pRMin,
0019                       ALIfloat pRMax,
0020                       ALIfloat pDz,
0021                       ALIfloat pSPhi = 0. * CLHEP::deg,
0022                       ALIfloat pDPhi = 360. * CLHEP::deg);
0023   ~CocoaSolidShapeTubs() override {}
0024   ALIfloat getInnerRadius() const { return theInnerRadius; }
0025   ALIfloat getOuterRadius() const { return theOuterRadius; }
0026   ALIfloat getZHalfLength() const { return theZHalfLength; }
0027   ALIfloat getStartPhiAngle() const { return theStartPhiAngle; }
0028   ALIfloat getDeltaPhiAngle() const { return theDeltaPhiAngle; }
0029 
0030 private:
0031   ALIfloat theInnerRadius;
0032   ALIfloat theOuterRadius;
0033   ALIfloat theZHalfLength;
0034   ALIfloat theStartPhiAngle;
0035   ALIfloat theDeltaPhiAngle;
0036 };
0037 
0038 #endif