#include <DDSolid.h>
Public Member Functions | |
bool | atMinusZ (void) const |
true, if cut-out or rounding is on the -z side | |
DDPseudoTrap (const DDSolid &s) | |
double | halfZ (void) const |
half of the z-Axis | |
double | radius (void) const |
radius of the cut-out (neg.) or rounding (pos.) | |
double | x1 (void) const |
half length along x on -z | |
double | x2 (void) const |
half length along x on +z | |
double | y1 (void) const |
half length along y on -z | |
double | y2 (void) const |
half length along y on +z | |
Private Member Functions | |
DDPseudoTrap (void) |
DDPseudoTrap::DDPseudoTrap | ( | const DDSolid & | s | ) |
Definition at line 219 of file DDSolid.cc.
References ddpseudotrap, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.
: DDSolid(s) { if (s.shape() != ddpseudotrap) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is no DDPseudoTrap\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDPseudoTrap::DDPseudoTrap | ( | void | ) | [private] |
bool DDPseudoTrap::atMinusZ | ( | void | ) | const |
true, if cut-out or rounding is on the -z side
Definition at line 240 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[6]; }
double DDPseudoTrap::halfZ | ( | void | ) | const |
half of the z-Axis
Definition at line 228 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[4]; }
double DDPseudoTrap::radius | ( | void | ) | const |
radius of the cut-out (neg.) or rounding (pos.)
Definition at line 238 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[5]; }
double DDPseudoTrap::x1 | ( | void | ) | const |
half length along x on -z
Definition at line 230 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[0]; }
double DDPseudoTrap::x2 | ( | void | ) | const |
half length along x on +z
Definition at line 232 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[1]; }
double DDPseudoTrap::y1 | ( | void | ) | const |
half length along y on -z
Definition at line 234 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[2]; }
double DDPseudoTrap::y2 | ( | void | ) | const |
half length along y on +z
Definition at line 236 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), TGeoFromDddService::createShape(), DDG4SolidConverter::pseudotrap(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[3]; }