#include <DDDividedCons.h>
Public Member Functions | |
DDDividedConsZ (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) |
virtual void | checkParametersValidity (void) |
Protected Attributes inherited from DDDividedGeometryObject | |
int | compNDiv_ |
double | compWidth_ |
DDCompactView * | cpv_ |
DDDivision | div_ |
DivisionType | divisionType_ |
std::string | ftype_ |
int | theVoluFirstCopyNo_ |
Definition at line 32 of file DDDividedCons.h.
DDDividedConsZ::DDDividedConsZ | ( | const DDDivision & | div, |
DDCompactView * | cpv | ||
) |
Definition at line 152 of file DDDividedCons.cc.
References DDDividedGeometryObject::calculateNDiv(), DDDividedGeometryObject::calculateWidth(), DDDividedGeometryObject::checkParametersValidity(), DDDividedGeometryObject::compNDiv_, DDDividedGeometryObject::compWidth_, DDDividedGeometryObject::div_, DDDividedGeometryObject::divisionType_, DivNDIV, DivWIDTH, DDDivision::nReplicas(), DDDivision::offset(), DDDivision::parent(), DDDividedGeometryObject::setType(), DDLogicalPart::solid(), DDDivision::width(), and DDCons::zhalf().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 168 of file DDDividedCons.cc.
References DDDividedGeometryObject::div_, DDDivision::parent(), DDLogicalPart::solid(), and DDCons::zhalf().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 188 of file DDDividedCons.cc.
References DDDividedGeometryObject::compWidth_, DDSolidFactory::cons(), ddcons, DDBase< N, C >::ddname(), DDDividedGeometryObject::div_, DDLogicalPart::material(), DDName::name(), DDName::ns(), DDDivision::offset(), DDDivision::parent(), DDLogicalPart::solid(), and DDCons::zhalf().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 173 of file DDDividedCons.cc.
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 178 of file DDDividedCons.cc.
References DDDividedGeometryObject::compWidth_, DDDividedGeometryObject::div_, DDDivision::offset(), DDDivision::parent(), DDLogicalPart::solid(), and DDCons::zhalf().