#include <DDDividedPolyhedra.h>
Public Member Functions | |
void | checkParametersValidity () override |
DDDividedPolyhedraRho (const DDDivision &div, DDCompactView *cpv) | |
double | getMaxParameter () const override |
DDLogicalPart | makeDDLogicalPart (int copyNo) const override |
DDRotation | makeDDRotation (int copyNo) const override |
DDTranslation | makeDDTranslation (int copyNo) const override |
Public Member Functions inherited from DDDividedGeometryObject | |
DDDividedGeometryObject (const DDDivision &div, DDCompactView *cpv) | |
virtual void | execute (void) |
virtual const std::string & | getType (void) const |
virtual void | setType (const std::string &type) |
int | volumeFirstCopyNo (void) const |
virtual | ~DDDividedGeometryObject (void)=default |
Additional Inherited Members | |
Static Public Member Functions inherited from DDDividedGeometryObject | |
static const double | tolerance (void) |
Protected Member Functions inherited from DDDividedGeometryObject | |
int | calculateNDiv (double motherDim, double width, double offset) const |
double | calculateWidth (double motherDim, int nDiv, double offset) const |
std::unique_ptr< DDRotationMatrix > | changeRotMatrix (double rotZ=0.) const |
void | checkNDivAndWidth (double maxPar) |
void | checkOffset (double maxPar) |
Protected Attributes inherited from DDDividedGeometryObject | |
int | compNDiv_ |
double | compWidth_ |
DDCompactView * | cpv_ |
DDDivision | div_ |
DivisionType | divisionType_ |
std::string | ftype_ |
int | theVoluFirstCopyNo_ |
Definition at line 12 of file DDDividedPolyhedra.h.
DDDividedPolyhedraRho::DDDividedPolyhedraRho | ( | const DDDivision & | div, |
DDCompactView * | cpv | ||
) |
Definition at line 23 of file DDDividedPolyhedra.cc.
References DDDividedGeometryObject::calculateNDiv(), DDDividedGeometryObject::calculateWidth(), checkParametersValidity(), DDDividedGeometryObject::compNDiv_, DDDividedGeometryObject::compWidth_, DDDividedGeometryObject::div_, DDDividedGeometryObject::divisionType_, DivNDIV, DivWIDTH, DDDivision::nReplicas(), DDDivision::offset(), DDDivision::parent(), DDPolyhedra::rMaxVec(), DDPolyhedra::rMinVec(), DDDividedGeometryObject::setType(), DDLogicalPart::solid(), and DDDivision::width().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 37 of file DDDividedPolyhedra.cc.
References DDDividedGeometryObject::checkParametersValidity(), gather_cfg::cout, DDDividedGeometryObject::div_, DDDividedGeometryObject::divisionType_, DivNDIVandWIDTH, DivWIDTH, DDDivision::offset(), DDDivision::parent(), and DDLogicalPart::solid().
Referenced by DDDividedPolyhedraRho().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 60 of file DDDividedPolyhedra.cc.
References DDDividedGeometryObject::div_, DDDivision::parent(), DDPolyhedra::rMaxVec(), DDPolyhedra::rMinVec(), and DDLogicalPart::solid().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 69 of file DDDividedPolyhedra.cc.
References DDDividedGeometryObject::calculateWidth(), DDDividedGeometryObject::compNDiv_, DDBase< N, C >::ddname(), DDPolyhedra::deltaPhi(), DDDividedGeometryObject::div_, cuy::ii, DDLogicalPart::material(), DDName::name(), DDName::ns(), DDDivision::offset(), DDDivision::parent(), DDSolidFactory::polyhedra(), DDPolyhedra::rMaxVec(), DDPolyhedra::rMinVec(), DDPolyhedra::sides(), DDLogicalPart::solid(), DDPolyhedra::startPhi(), and DDPolyhedra::zVec().
|
overridevirtual |
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 65 of file DDDividedPolyhedra.cc.