#include <DDSolid.h>
Public Member Functions | |
double | alpha (void) const |
DDParallelepiped (const DDSolid &s) | |
double | phi (void) const |
double | theta (void) const |
double | xHalf (void) const |
double | yHalf (void) const |
double | zHalf (void) const |
Private Member Functions | |
DDParallelepiped (void) |
DDParallelepiped::DDParallelepiped | ( | const DDSolid & | s | ) |
Definition at line 631 of file DDSolid.cc.
References ddparallelepiped, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
: DDSolid(s) { if (s.shape() != ddparallelepiped) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDParallelepiped.\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDParallelepiped::DDParallelepiped | ( | void | ) | [private] |
double DDParallelepiped::alpha | ( | void | ) | const |
Definition at line 646 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[3]; }
double DDParallelepiped::phi | ( | void | ) | const |
Definition at line 650 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[5]; }
double DDParallelepiped::theta | ( | void | ) | const |
Definition at line 648 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[4]; }
double DDParallelepiped::xHalf | ( | void | ) | const |
Definition at line 640 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[0]; }
double DDParallelepiped::yHalf | ( | void | ) | const |
Definition at line 642 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[1]; }
double DDParallelepiped::zHalf | ( | void | ) | const |
Definition at line 644 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[2]; }