52 return 2*msol.
halfX();
65 double mdx = msol.
halfX();
70 translation.SetX( posi );
84 if (!ddbox.isDefined().second)
86 double pDx = msol.halfX();
88 double pDz = msol.halfZ();
130 return 2*msol.
halfY();
143 double mdx = msol.
halfY();
149 translation.SetY( posi );
163 if (!ddbox.isDefined().second)
165 double pDx = msol.halfX();
167 double pDz = msol.halfZ();
207 return 2*msol.
halfZ();
220 double mdx = msol.
halfZ();
226 translation.SetZ( posi );
240 if (!ddbox.isDefined().second)
242 double pDx = msol.halfX();
243 double pDy = msol.halfY();
virtual DDRotation makeDDRotation(const int copyNo) const override
DDMaterial is used to define and access material information.
virtual double getMaxParameter() const override
int calculateNDiv(double motherDim, double width, double offset) const
const std::string & ns() const
Returns the namespace.
DDName is used to identify DDD entities uniquely.
double calculateWidth(double motherDim, int nDiv, double offset) const
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const override
type of data representation of DDCompactView
A DDSolid represents the shape of a part.
virtual void checkParametersValidity(void)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
DivisionType divisionType_
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const override
virtual DDRotation makeDDRotation(const int copyNo) const override
virtual DDTranslation makeDDTranslation(const int copyNo) const override
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
virtual double getMaxParameter() const override
virtual void setType(const std::string &type)
static DDSolid box(const DDName &name, double xHalf, double yHalf, double zHalf)
Creates a box with side length 2*xHalf, 2*yHalf, 2*zHalf.
DDDividedBoxX(const DDDivision &div, DDCompactView *cpv)
DDDividedBoxY(const DDDivision &div, DDCompactView *cpv)
DDDividedBoxZ(const DDDivision &div, DDCompactView *cpv)
virtual DDRotation makeDDRotation(const int copyNo) const override
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const override
virtual DDTranslation makeDDTranslation(const int copyNo) const override
virtual DDTranslation makeDDTranslation(const int copyNo) const override
const DDLogicalPart & parent() const
virtual double getMaxParameter() const override
const std::string & name() const
Returns the name.
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.