CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_8_patch3/src/DetectorDescription/Core/src/Trap.h

Go to the documentation of this file.
00001 #ifndef DDI_Trap_h
00002 #define DDI_Trap_h
00003 
00004 #include <iostream>
00005 #include "Solid.h"
00006 
00007 namespace DDI {
00008 
00009   class Trap : public Solid
00010   {
00011   public:
00012     Trap(double pDz, 
00013          double pTheta,
00014          double pPhi,
00015          double pDy1, double pDx1,double pDx2,
00016          double pAlp1,
00017          double pDy2, double pDx3, double pDx4,
00018          double pAlp2);
00019     
00020     double volume() const;
00021     
00022     void stream(std::ostream &) const;
00023   };
00024 
00025 }
00026 
00027 #endif