#include <DDSolid.h>
Public Member Functions | |
DDOrb (const DDSolid &s) | |
double | radius (void) const |
Private Member Functions | |
DDOrb (void) |
DDOrb::DDOrb | ( | const DDSolid & | s | ) |
Definition at line 580 of file DDSolid.cc.
References ddorb, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.
: DDSolid(s) { if (s.shape() != ddorb) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDOrb.\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDOrb::DDOrb | ( | void | ) | [private] |
double DDOrb::radius | ( | void | ) | const |
Definition at line 589 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::orb().
{ return rep().parameters()[0]; }