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.
DDRotation makeDDRotation(int copyNo) const override
DDLogicalPart makeDDLogicalPart(int copyNo) const override
int calculateNDiv(double motherDim, double width, double offset) const
DDTranslation makeDDTranslation(int copyNo) const override
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.
Compact representation of the geometrical detector hierarchy.
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.
double getMaxParameter() const override
DivisionType divisionType_
DDRotation makeDDRotation(int copyNo) const override
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
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)
DDTranslation makeDDTranslation(int copyNo) const override
double getMaxParameter() const override
DDTranslation makeDDTranslation(int copyNo) const override
const DDLogicalPart & parent() const
DDLogicalPart makeDDLogicalPart(int copyNo) const override
double getMaxParameter() const override
DDRotation makeDDRotation(int copyNo) const override
ROOT::Math::Rotation3D DDRotation
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.