Go to the documentation of this file.00001 #ifndef DDI_EllipticalTube_h
00002 #define DDI_EllipticalTube_h
00003
00004 #include <iosfwd>
00005 #include "Solid.h"
00006 #include <DataFormats/GeometryVector/interface/Pi.h>
00007
00008 namespace DDI {
00009
00010 class EllipticalTube : public Solid
00011 {
00012 public:
00013 EllipticalTube(double xSemiAxis, double ySemiAxis, double zHeight)
00014 : Solid(ddellipticaltube)
00015 {
00016 p_.push_back(xSemiAxis);
00017 p_.push_back(ySemiAxis);
00018 p_.push_back(zHeight);
00019 }
00020 ~EllipticalTube() { }
00021
00023 double volume() const ;
00024 void stream(std::ostream & os) const;
00025 };
00026
00027 }
00028 #endif // DDI_EllipticalTube_h