#include <DetectorDescription/Core/interface/DDSolid.h>
Public Member Functions | |
DDCons (const DDSolid &s) | |
double | deltaPhi () const |
double | phiFrom () const |
double | rInMinusZ () const |
double | rInPlusZ () const |
double | rOutMinusZ () const |
double | rOutPlusZ () const |
double | zhalf () const |
Private Member Functions | |
DDCons () |
Definition at line 289 of file DDSolid.h.
DDCons::DDCons | ( | const DDSolid & | s | ) |
Definition at line 432 of file DDSolid.cc.
References ddcons, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
00433 : DDSolid(s) { 00434 if (s.shape() != ddcons) { 00435 std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDCons.\n"; 00436 ex = ex + "Use a different solid interface!"; 00437 throw DDException(ex); 00438 } 00439 }
DDCons::DDCons | ( | ) | [private] |
double DDCons::deltaPhi | ( | ) | const |
Definition at line 453 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), DDDividedConsPhi::DDDividedConsPhi(), and DDDividedConsPhi::getMaxParameter().
00453 { return rep().parameters()[6]; }
double DDCons::phiFrom | ( | ) | const |
Definition at line 451 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob().
00451 { return rep().parameters()[5]; }
double DDCons::rInMinusZ | ( | ) | const |
Definition at line 443 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), DDDividedConsRho::DDDividedConsRho(), and DDDividedConsRho::getMaxParameter().
00443 { return rep().parameters()[1]; }
double DDCons::rInPlusZ | ( | ) | const |
Definition at line 447 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDDividedConsRho::DDDividedConsRho().
00447 { return rep().parameters()[3]; }
double DDCons::rOutMinusZ | ( | ) | const |
Definition at line 445 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), DDDividedConsRho::DDDividedConsRho(), and DDDividedConsRho::getMaxParameter().
00445 { return rep().parameters()[2]; }
double DDCons::rOutPlusZ | ( | ) | const |
Definition at line 449 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob().
00449 { return rep().parameters()[4]; }
double DDCons::zhalf | ( | ) | const |
Definition at line 441 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), DDDividedConsZ::DDDividedConsZ(), DDDividedConsZ::getMaxParameter(), and DDDividedConsZ::makeDDTranslation().
00441 { return rep().parameters()[0]; }