#include <DDDividedCons.h>
Public Member Functions | |
DDDividedConsRho (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 12 of file DDDividedCons.h.
DDDividedConsRho::DDDividedConsRho | ( | const DDDivision & | div, |
DDCompactView * | cpv | ||
) |
Definition at line 21 of file DDDividedCons.cc.
References DDDividedGeometryObject::calculateNDiv(), DDDividedGeometryObject::calculateWidth(), DDDividedGeometryObject::checkParametersValidity(), DDDividedGeometryObject::compNDiv_, DDDividedGeometryObject::compWidth_, gather_cfg::cout, DDDividedGeometryObject::div_, DDDividedGeometryObject::divisionType_, DivNDIV, DivWIDTH, DDDivision::nReplicas(), DDDivision::offset(), DDDivision::parent(), DDCons::rInMinusZ(), DDCons::rInPlusZ(), DDCons::rOutMinusZ(), DDDividedGeometryObject::setType(), DDLogicalPart::solid(), and DDDivision::width().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 51 of file DDDividedCons.cc.
References DDDividedGeometryObject::div_, DDDivision::parent(), DDCons::rInMinusZ(), DDCons::rOutMinusZ(), and DDLogicalPart::solid().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 72 of file DDDividedCons.cc.
References DDDividedGeometryObject::calculateWidth(), DDDividedGeometryObject::compNDiv_, DDDividedGeometryObject::compWidth_, DDSolidFactory::cons(), ddcons, DDBase< N, C >::ddname(), DDDividedGeometryObject::div_, DDLogicalPart::material(), DDName::name(), DDName::ns(), DDDivision::offset(), DDDivision::parent(), DDCons::rInMinusZ(), and DDLogicalPart::solid().
|
overridevirtual |
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 65 of file DDDividedCons.cc.