00001 #ifndef DDI_Tubs_h 00002 #define DDI_Tubs_h 00003 00004 #include <iostream> 00005 #include "Solid.h" 00006 00007 namespace DDI { 00008 00009 class Tubs : public Solid 00010 { 00011 public: 00012 Tubs(double zhalf, 00013 double rIn, double rOut, 00014 double startPhi, 00015 double deltaPhi); 00016 00017 double volume() const; 00018 00019 void stream(std::ostream &) const; 00020 }; 00021 00022 } 00023 #endif // DDI_Tubs_h