#include <Sphere.h>
Public Member Functions | |
Sphere (double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ) | |
void | stream (std::ostream &) const override |
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::Sphere::Sphere | ( | double | innerRadius, |
double | outerRadius, | ||
double | startPhi, | ||
double | deltaPhi, | ||
double | startZ, | ||
double | deltaZ | ||
) |
Definition at line 14 of file Sphere.cc.
References ddsphere, SiPixelRawToDigiRegional_cfi::deltaPhi, interestingEgammaIsoDetIdsSequence_cff::innerRadius, interestingEgammaIsoDetIdsSequence_cff::outerRadius, and DDI::Solid::p_.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 25 of file Sphere.cc.
References geant_units::operators::convertMmToCm(), and angle_units::operators::convertRadToDeg().
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 31 of file Sphere.cc.
References funct::cos(), and angle_units::piRadians().