#include <DDSolid.h>
Public Member Functions | |
DDSphere (const DDSolid &s) | |
double | deltaPhi (void) const |
double | deltaTheta (void) const |
double | innerRadius (void) const |
double | outerRadius (void) const |
double | startPhi (void) const |
double | startTheta (void) const |
Private Member Functions | |
DDSphere (void) |
DDSphere::DDSphere | ( | const DDSolid & | s | ) |
Definition at line 557 of file DDSolid.cc.
References ddsphere, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.
: DDSolid(s) { if (s.shape() != ddsphere) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDSphere (or sphere section).\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDSphere::DDSphere | ( | void | ) | [private] |
double DDSphere::deltaPhi | ( | void | ) | const |
Definition at line 572 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::sphere().
{ return rep().parameters()[3]; }
double DDSphere::deltaTheta | ( | void | ) | const |
Definition at line 576 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::sphere().
{ return rep().parameters()[5]; }
double DDSphere::innerRadius | ( | void | ) | const |
Definition at line 566 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::sphere().
{ return rep().parameters()[0]; }
double DDSphere::outerRadius | ( | void | ) | const |
Definition at line 568 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::sphere().
{ return rep().parameters()[1]; }
double DDSphere::startPhi | ( | void | ) | const |
Definition at line 570 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::sphere().
{ return rep().parameters()[2]; }
double DDSphere::startTheta | ( | void | ) | const |
Definition at line 574 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::sphere().
{ return rep().parameters()[4]; }