#include <Torus.h>
Public Member Functions | |
void | stream (std::ostream &) const override |
Torus (double pRMin, double pRMax, double pRTor, double pSPhi, double pDPhi) | |
double | volume () const 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_ |
DDI::Torus::Torus | ( | double | pRMin, |
double | pRMax, | ||
double | pRTor, | ||
double | pSPhi, | ||
double | pDPhi | ||
) |
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 30 of file Torus.cc.
References geant_units::operators::convertMmToCm(), geant_units::operators::convertRadToDeg(), and DDI::Solid::p_.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 39 of file Torus.cc.
References DDI::Solid::p_, and geant_units::piRadians().