#include <DDDividedBox.h>
Public Member Functions | |
DDDividedBoxX (const DDDivision &div, DDCompactView *cpv) | |
virtual double | getMaxParameter () const override |
virtual DDLogicalPart | makeDDLogicalPart (const int copyNo) const override |
virtual DDRotation | makeDDRotation (const int copyNo) const override |
virtual DDTranslation | makeDDTranslation (const 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 |
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 17 of file DDDividedBox.h.
DDDividedBoxX::DDDividedBoxX | ( | const DDDivision & | div, |
DDCompactView * | cpv | ||
) |
Definition at line 19 of file DDDividedBox.cc.
References DDDividedGeometryObject::calculateNDiv(), DDDividedGeometryObject::calculateWidth(), DDDividedGeometryObject::checkParametersValidity(), DDDividedGeometryObject::compNDiv_, DDDividedGeometryObject::compWidth_, DDDividedGeometryObject::div_, DDDividedGeometryObject::divisionType_, DivNDIV, DivWIDTH, DDBox::halfX(), DDDivision::nReplicas(), DDDivision::offset(), DDDivision::parent(), DDDividedGeometryObject::setType(), DDLogicalPart::solid(), and DDDivision::width().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 49 of file DDDividedBox.cc.
References DDDividedGeometryObject::div_, DDBox::halfX(), DDDivision::parent(), and DDLogicalPart::solid().
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 76 of file DDDividedBox.cc.
References DDSolidFactory::box(), DDDividedGeometryObject::compWidth_, ddbox, DDBase< N, C >::ddname(), DDDividedGeometryObject::div_, DDLogicalPart::material(), DDName::name(), DDName::ns(), DDDivision::parent(), and DDLogicalPart::solid().
|
overridevirtual |
|
overridevirtual |
Reimplemented from DDDividedGeometryObject.
Definition at line 62 of file DDDividedBox.cc.
References DDDividedGeometryObject::compWidth_, DDDividedGeometryObject::div_, DDBox::halfX(), DDDivision::offset(), DDDivision::parent(), and DDLogicalPart::solid().