#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 |
double | volume () const |
Not as flexible and possibly less accurate than G4 volume. More... | |
~Ellipsoid () | |
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 10 of file Ellipsoid.h.
|
inline |
Definition at line 13 of file Ellipsoid.h.
References DDI::Solid::p_.
|
inline |
Definition at line 27 of file Ellipsoid.h.
double DDI::Ellipsoid::halfVol | ( | double | dz, |
double | maxz | ||
) | const |
Definition at line 15 of file Ellipsoid.cc.
References counter::c2, gather_cfg::cout, cmsRelvalreport::exit, Geom::pi(), mathSSE::sqrt(), and x().
|
virtual |
Reimplemented from DDI::Solid.
Definition at line 6 of file Ellipsoid.cc.
References DDI::Solid::p_.
|
virtual |
Not as flexible and possibly less accurate than G4 volume.
Reimplemented from DDI::Solid.
Definition at line 45 of file Ellipsoid.cc.
References gather_cfg::cout, and Geom::pi().