#include <DDSolid.h>
Public Member Functions | |
DDPolycone (const DDSolid &s) | |
double | deltaPhi (void) const |
std::vector< double > | rMaxVec (void) const |
std::vector< double > | rMinVec (void) const |
std::vector< double > | rVec (void) const |
double | startPhi (void) const |
std::vector< double > | zVec (void) const |
Private Member Functions | |
DDPolycone (void) |
DDPolycone::DDPolycone | ( | const DDSolid & | s | ) |
Definition at line 361 of file DDSolid.cc.
References ddpolycone_rrz, ddpolycone_rz, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
: DDPolySolid(s) { if (s.shape() != ddpolycone_rz && s.shape() != ddpolycone_rrz) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDPolycone.\n"; ex = ex + "Use a different solid interface!"; throw DDException(ex); } }
DDPolycone::DDPolycone | ( | void | ) | [private] |
double DDPolycone::deltaPhi | ( | void | ) | const |
Definition at line 373 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconePhi::getMaxParameter(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[1]; }
std::vector< double > DDPolycone::rMaxVec | ( | void | ) | const |
Definition at line 396 of file DDSolid.cc.
References ddpolycone_rrz, DDPolySolid::getVec(), and DDSolid::shape().
Referenced by DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyconeRho::getMaxParameter(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), and DDCoreToDDXMLOutput::solid().
{ std::vector<double> tvec; if (shape() == ddpolycone_rrz) tvec = getVec(2, 2, 3); return tvec; }
std::vector< double > DDPolycone::rMinVec | ( | void | ) | const |
Definition at line 389 of file DDSolid.cc.
References ddpolycone_rrz, DDPolySolid::getVec(), and DDSolid::shape().
Referenced by DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyconeRho::getMaxParameter(), and DDCoreToDDXMLOutput::solid().
{ std::vector<double> tvec; if (shape() == ddpolycone_rrz) tvec = getVec(1, 2, 3); return tvec; }
std::vector< double > DDPolycone::rVec | ( | void | ) | const |
Definition at line 375 of file DDSolid.cc.
References ddpolycone_rz, DDPolySolid::getVec(), and DDSolid::shape().
Referenced by DDCoreToDDXMLOutput::solid().
{ std::vector<double> tvec; if (shape() == ddpolycone_rz) tvec = getVec(1, 2, 2); return tvec; }
double DDPolycone::startPhi | ( | void | ) | const |
Definition at line 371 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), and DDCoreToDDXMLOutput::solid().
{ return rep().parameters()[0]; }
std::vector< double > DDPolycone::zVec | ( | void | ) | const |
Definition at line 382 of file DDSolid.cc.
References ddpolycone_rz, DDPolySolid::getVec(), and DDSolid::shape().
Referenced by DDDividedPolyconeZ::checkParametersValidity(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyconeZ::getMaxParameter(), DDDividedPolyconeZ::makeDDTranslation(), and DDCoreToDDXMLOutput::solid().
{ if (shape() == ddpolycone_rz) return getVec(0, 2, 2); else // (shape() == ddpolycone_rrz) return getVec(0, 2, 3); }