6 #include "CLHEP/Units/GlobalSystemOfUnits.h" 7 #include "CLHEP/Units/SystemOfUnits.h" 43 return msol.
rOut() - msol.
rIn();
66 + std::to_string(copyNo),
75 double pDz = msol.zhalf();
76 double pSPhi = msol.startPhi();
77 double pDPhi = msol.deltaPhi();
126 + std::to_string(copyNo),
128 myddrot =
DDrot(ddrotname, rotMat);
150 if (!ddtubs.isDefined().second)
152 double pRMin = msol.rIn();
153 double pRMax = msol.rOut();
154 double pDz = msol.zhalf();
185 return 2*msol.
zhalf();
203 translation.SetZ(posi);
218 if (!ddtubs.isDefined().second)
220 double pRMin = msol.rIn();
221 double pRMax = msol.rOut();
223 double pSPhi = msol.startPhi();
224 double pDPhi = msol.deltaPhi();
virtual DDRotation makeDDRotation(const int copyNo) const override
DDMaterial is used to define and access material information.
int calculateNDiv(double motherDim, double width, double offset) const
virtual DDRotation makeDDRotation(const int copyNo) const override
const std::string & ns() const
Returns the namespace.
DDName is used to identify DDD entities uniquely.
DDDividedTubsRho(const DDDivision &div, DDCompactView *cpv)
double calculateWidth(double motherDim, int nDiv, double offset) const
virtual DDRotation makeDDRotation(const int copyNo) const override
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
DDDividedTubsPhi(const DDDivision &div, DDCompactView *cpv)
Represents a uniquely identifyable rotation matrix.
DivisionType divisionType_
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const override
DDDividedTubsZ(const DDDivision &div, DDCompactView *cpv)
virtual DDTranslation makeDDTranslation(const int copyNo) const override
virtual double getMaxParameter() const override
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
virtual void setType(const std::string &type)
virtual double getMaxParameter() const override
double deltaPhi(void) const
virtual DDTranslation makeDDTranslation(const int copyNo) const override
virtual DDTranslation makeDDTranslation(const int copyNo) const override
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const override
const DDLogicalPart & parent() const
virtual double getMaxParameter() const override
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
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.
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const override
DDRotationMatrix * changeRotMatrix(double rotZ=0.) const