#include <DDSolid.h>
Public Member Functions | |
DDTorus (const DDSolid &s) | |
double | deltaPhi (void) const |
double | rMax (void) const |
double | rMin (void) const |
double | rTorus (void) const |
double | startPhi (void) const |
Private Member Functions | |
DDTorus (void) |
DDTorus::DDTorus | ( | const DDSolid & | s | ) |
Definition at line 474 of file DDSolid.cc.
References ddtorus, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.
: DDSolid(s) { if (s.shape() != ddtorus) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDTorus.\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDTorus::DDTorus | ( | void | ) | [private] |
double DDTorus::deltaPhi | ( | void | ) | const |
Definition at line 491 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[4]; }
double DDTorus::rMax | ( | void | ) | const |
Definition at line 485 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[1]; }
double DDTorus::rMin | ( | void | ) | const |
Definition at line 483 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[0]; }
double DDTorus::rTorus | ( | void | ) | const |
Definition at line 487 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[2]; }
double DDTorus::startPhi | ( | void | ) | const |
Definition at line 489 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[3]; }