51 return 2*msol.
halfX();
64 double mdx = msol.
halfX();
69 translation.SetX( posi );
83 if (!ddbox.isDefined().second)
85 double pDx = msol.halfX();
87 double pDz = msol.halfZ();
129 return 2*msol.
halfY();
142 double mdx = msol.
halfY();
148 translation.SetY( posi );
162 if (!ddbox.isDefined().second)
164 double pDx = msol.halfX();
166 double pDz = msol.halfZ();
206 return 2*msol.
halfZ();
219 double mdx = msol.
halfZ();
225 translation.SetZ( posi );
239 if (!ddbox.isDefined().second)
241 double pDx = msol.halfX();
242 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.
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.
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
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.