47 DCOUT_V (
'P',
" DDDividedBoxX:DDDividedBoxX" << std::endl);
57 return 2*msol.
halfX();
70 double mdx = msol.
halfX();
75 translation.SetX( posi );
90 if (!ddbox.isDefined().second)
92 double pDx = msol.halfX();
94 double pDz = msol.halfZ();
99 DCOUT_V (
'P',
" DDDividedBoxX::computeDimensions() lp:\n" << ddlp);
132 DCOUT_V (
'P',
" DDDividedBoxY:DDDividedBoxY" << std::endl);
142 return 2*msol.
halfY();
155 double mdx = msol.
halfY();
161 translation.SetY( posi );
176 if (!ddbox.isDefined().second)
178 double pDx = msol.halfX();
180 double pDz = msol.halfZ();
184 DCOUT_V (
'P',
" DDDividedBoxY::computeDimensions() lp:\n" << ddlp);
216 DCOUT_V (
'P',
" DDDividedBoxZ:DDDividedBoxZ" << std::endl);
226 return 2*msol.
halfZ();
239 double mdx = msol.
halfZ();
245 translation.SetZ( posi );
260 if (!ddbox.isDefined().second)
262 double pDx = msol.halfX();
263 double pDy = msol.halfY();
268 DCOUT_V (
'P',
" DDDividedBoxZ::computeDimensions() lp:\n" << ddlp);
virtual DDRotation makeDDRotation(const int copyNo) const
virtual DDRotation makeDDRotation(const int copyNo) const
virtual double getMaxParameter() const
DDMaterial is used to define and access material information.
virtual DDTranslation makeDDTranslation(const int copyNo) const
virtual DDRotation makeDDRotation(const int copyNo) const
int calculateNDiv(double motherDim, double width, double offset) const
virtual double getMaxParameter() const
virtual DDTranslation makeDDTranslation(const int copyNo) 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.
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.
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const
DivisionType divisionType_
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
static const std::string name(const DDAxes &s)
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)
virtual DDTranslation makeDDTranslation(const int copyNo) const
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const
#define DCOUT_V(M_v_Y, M_v_S)
DDDividedBoxZ(const DDDivision &div, DDCompactView *cpv)
const DDLogicalPart & parent() const
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const
virtual double getMaxParameter() const
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.