1 #ifndef DDI_Ellipsoid_h 2 #define DDI_Ellipsoid_h 24 p_.emplace_back(xSemiAxis);
25 p_.emplace_back(ySemiAxis);
26 p_.emplace_back(zSemiAxis);
27 p_.emplace_back(zBottomCut);
28 p_.emplace_back(zTopCut);
33 double volume()
const override ;
34 double halfVol (
double dz,
double maxz)
const;
35 void stream(std::ostream & os)
const override;
39 #endif // DDI_Ellipsoid_h void stream(std::ostream &os) const override
double halfVol(double dz, double maxz) const
Ellipsoid(double xSemiAxis, double ySemiAxis, double zSemiAxis, double zBottomCut=0, double zTopCut=0)
double volume() const override
Not as flexible and possibly less accurate than G4 volume.