34 return msol.
rOut() - msol.
rIn();
57 double pDz = msol.zhalf();
58 double pSPhi = msol.startPhi();
59 double pDPhi = msol.deltaPhi();
115 if (!
ddtubs.isDefined().second)
117 double pRMin = msol.rIn();
118 double pRMax = msol.rOut();
119 double pDz = msol.zhalf();
120 double pSPhi = msol.startPhi() +
div_.
offset();
144 return 2 * msol.
zhalf();
157 translation.SetZ(posi);
170 if (!
ddtubs.isDefined().second)
172 double pRMin = msol.rIn();
173 double pRMax = msol.rOut();
175 double pSPhi = msol.startPhi();
176 double pDPhi = msol.deltaPhi();
DDLogicalPart makeDDLogicalPart(int copyNo) const override
DDTranslation makeDDTranslation(int copyNo) const override
DDMaterial is used to define and access material information.
DDTranslation makeDDTranslation(int copyNo) const override
DDName is used to identify DDD entities uniquely.
DDDividedTubsRho(const DDDivision &div, DDCompactView *cpv)
DDTranslation makeDDTranslation(int copyNo) const override
double getMaxParameter() const override
Compact representation of the geometrical detector hierarchy.
const DDLogicalPart & parent() const
A DDSolid represents the shape of a part.
static std::string to_string(const XMLCh *ch)
virtual void checkParametersValidity(void)
DDDividedTubsPhi(const DDDivision &div, DDCompactView *cpv)
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
DDDividedTubsZ(const DDDivision &div, DDCompactView *cpv)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
double getMaxParameter() const override
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
double getMaxParameter() const override
virtual void setType(const std::string &type)
std::unique_ptr< DDRotationMatrix > changeRotMatrix(double rotZ=0.) const
const DDMaterial & material(void) const
Returns a reference object of the material this LogicalPart is made of.
DDRotation makeDDRotation(int copyNo) const override
double deltaPhi(void) const
DDLogicalPart makeDDLogicalPart(int copyNo) const override
const DDSolid & solid(void) const
Returns a reference object of the solid being the shape of this LogicalPart.
DDRotation makeDDRotation(int copyNo) const override
DDRotation makeDDRotation(int copyNo) const override
double calculateWidth(double motherDim, int nDiv, double offset) const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
DDLogicalPart makeDDLogicalPart(int copyNo) const override
const std::string & ns() const
Returns the namespace.