CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DetectorDescription/Core/src/Torus.h

Go to the documentation of this file.
00001 #ifndef DDI_Torus_h
00002 #define DDI_Torus_h
00003 
00004 #include <iostream>
00005 #include "Solid.h"
00006 
00007 namespace DDI {
00008 
00009   class Torus : public Solid
00010   {
00011   public:
00012     Torus(double pRMin,
00013           double pRMax,
00014           double pRTor,
00015           double pSPhi,
00016           double pDPhi
00017           );
00018     
00019     double volume() const;
00020     
00021     void stream(std::ostream &) const;
00022   };
00023 
00024 }
00025 
00026 #endif