#include <Ellipsoid.h>
Public Member Functions | |
Ellipsoid (double xSemiAxis, double ySemiAxis, double zSemiAxis, double zBottomCut=0, double zTopCut=0) | |
double | halfVol (double dz, double maxz) const |
void | stream (std::ostream &os) const override |
double | volume () const override |
Not as flexible and possibly less accurate than G4 volume. More... | |
~Ellipsoid () override | |
Public Member Functions inherited from DDI::Solid | |
const std::vector< double > & | parameters () const |
void | setParameters (std::vector< double > const &p) |
DDSolidShape | shape () const |
Solid () | |
Solid (DDSolidShape shape) | |
virtual | ~Solid () |
Additional Inherited Members | |
Protected Attributes inherited from DDI::Solid | |
std::vector< double > | p_ |
DDSolidShape | shape_ |
Definition at line 13 of file Ellipsoid.h.
|
inline |
Definition at line 16 of file Ellipsoid.h.
References DDI::Solid::p_.
|
inlineoverride |
Definition at line 30 of file Ellipsoid.h.
References PVValHelper::dz, halfVol(), stream(), and volume().
double DDI::Ellipsoid::halfVol | ( | double | dz, |
double | maxz | ||
) | const |
Definition at line 20 of file Ellipsoid.cc.
References gather_cfg::cout, PVValHelper::dz, cmsRelvalreport::exit, DDI::Solid::p_, Geom::pi(), mathSSE::sqrt(), and volume().
Referenced by volume(), and ~Ellipsoid().
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 11 of file Ellipsoid.cc.
References DDI::Solid::p_.
Referenced by ~Ellipsoid().
|
overridevirtual |
Not as flexible and possibly less accurate than G4 volume.
Reimplemented from DDI::Solid.
Definition at line 50 of file Ellipsoid.cc.
References gather_cfg::cout, halfVol(), DDI::Solid::p_, and Geom::pi().
Referenced by halfVol(), and ~Ellipsoid().