Go to the documentation of this file.
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();
DDTranslation makeDDTranslation(int copyNo) const override
DDName is used to identify DDD entities uniquely.
DDRotation makeDDRotation(int copyNo) const override
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
DDTranslation makeDDTranslation(int copyNo) const override
double getMaxParameter() const override
DDMaterial is used to define and access material information.
virtual void checkParametersValidity(void)
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Compact representation of the geometrical detector hierarchy.
int calculateNDiv(double motherDim, double width, double offset) const
DDDividedBoxY(const DDDivision &div, DDCompactView *cpv)
DDRotation makeDDRotation(int copyNo) const override
A DDLogicalPart aggregates information concerning material, solid and sensitveness ....
DivisionType divisionType_
DDRotation makeDDRotation(int copyNo) const override
virtual void setType(const std::string &type)
const std::string & name() const
Returns the name.
DDLogicalPart makeDDLogicalPart(int copyNo) const override
DDLogicalPart makeDDLogicalPart(int copyNo) const override
DDDividedBoxX(const DDDivision &div, DDCompactView *cpv)
double getMaxParameter() const override
double getMaxParameter() const override
DDLogicalPart makeDDLogicalPart(int copyNo) const override
const std::string & ns() const
Returns the namespace.
A DDSolid represents the shape of a part.
Represents a uniquely identifyable rotation matrix.
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 DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
const DDLogicalPart & parent() const
double calculateWidth(double motherDim, int nDiv, double offset) const
DDTranslation makeDDTranslation(int copyNo) const override
DDDividedBoxZ(const DDDivision &div, DDCompactView *cpv)