48 return 2 * msol.
halfX();
55 double mdx = msol.
halfX();
60 translation.SetX(posi);
72 if (!
ddbox.isDefined().second)
74 double pDx = msol.halfX();
76 double pDz = msol.halfZ();
114 return 2 * msol.
halfY();
121 double mdx = msol.
halfY();
127 translation.SetY(posi);
139 if (!
ddbox.isDefined().second)
141 double pDx = msol.halfX();
143 double pDz = msol.halfZ();
180 return 2 * msol.
halfZ();
187 double mdx = msol.
halfZ();
193 translation.SetZ(posi);
205 if (!
ddbox.isDefined().second)
207 double pDx = msol.halfX();
208 double pDy = msol.halfY();
DDLogicalPart makeDDLogicalPart(int copyNo) const override
DDMaterial is used to define and access material information.
double getMaxParameter() const override
DDName is used to identify DDD entities uniquely.
DDRotation makeDDRotation(int copyNo) const override
DDTranslation makeDDTranslation(int copyNo) const override
Compact representation of the geometrical detector hierarchy.
DDRotation makeDDRotation(int copyNo) const override
const DDLogicalPart & parent() const
DDTranslation makeDDTranslation(int copyNo) const override
A DDSolid represents the shape of a part.
virtual void checkParametersValidity(void)
Represents a uniquely identifyable rotation matrix.
const std::string & name() const
Returns the name.
DivisionType divisionType_
int calculateNDiv(double motherDim, double width, double offset) const
DDLogicalPart makeDDLogicalPart(int copyNo) const override
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
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.
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
DDDividedBoxX(const DDDivision &div, DDCompactView *cpv)
DDDividedBoxY(const DDDivision &div, DDCompactView *cpv)
DDDividedBoxZ(const DDDivision &div, DDCompactView *cpv)
DDRotation makeDDRotation(int copyNo) const override
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
DDLogicalPart makeDDLogicalPart(int copyNo) const override
double calculateWidth(double motherDim, int nDiv, double offset) const
DDTranslation makeDDTranslation(int copyNo) const override
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
double getMaxParameter() const override
const std::string & ns() const
Returns the namespace.