18 #include "CLHEP/Units/GlobalSystemOfUnits.h"
49 return msol.
rOut() - msol.
rIn();
57 DCOUT_V (
'P',
"DDDividedTubsRho::makeDDRotation made a rotation: " << myddrot);
86 double pDz = msol.zhalf();
87 double pSPhi = msol.startPhi();
88 double pDPhi = msol.deltaPhi();
92 DCOUT_V (
'P',
" DDDividedTubsRho::computeDimensions() lp:" << ddlp);
144 myddrot =
DDrot(ddrotname, rotMat);
169 if (!ddtubs.isDefined().second)
171 double pRMin = msol.rIn();
172 double pRMax = msol.rOut();
173 double pDz = msol.zhalf();
180 DCOUT_V (
'P',
" DDDividedTubsPhi::computeDimensions() lp:" << ddlp);
212 return 2*msol.
zhalf();
220 DCOUT_V (
'P',
"DDDividedTubsZ::makeDDRotation made a rotation: " << myddrot);
232 translation.SetZ(posi);
248 if (!ddtubs.isDefined().second)
250 double pRMin = msol.rIn();
251 double pRMax = msol.rOut();
253 double pSPhi = msol.startPhi();
254 double pDPhi = msol.deltaPhi();
262 DCOUT_V (
'P',
" DDDividedTubsZ::computeDimensions() lp:" << ddlp);
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const
virtual ~DDDividedTubsZ()
virtual ~DDDividedTubsPhi()
virtual ~DDDividedTubsRho()
static std::string itostr(int i)
WARNING: abused by other classes in this system: yet another conversion from int to std::string...
DDMaterial is used to define and access material information.
virtual DDTranslation makeDDTranslation(const int copyNo) const
int calculateNDiv(double motherDim, double width, double offset) const
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
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)
virtual DDRotation makeDDRotation(const int copyNo) const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
DDDividedTubsPhi(const DDDivision &div, DDCompactView *cpv)
Represents a uniquely identifyable rotation matrix.
virtual DDTranslation makeDDTranslation(const int copyNo) const
virtual double getMaxParameter() const
DivisionType divisionType_
virtual double getMaxParameter() const
DDDividedTubsZ(const DDDivision &div, DDCompactView *cpv)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
static const std::string name(const DDAxes &s)
virtual DDRotation makeDDRotation(const int copyNo) const
static DDSolid tubs(const DDName &name, double zhalf, double rIn, double rOut, double startPhi, double deltaPhi)
virtual void setType(const std::string &type)
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const
virtual double getMaxParameter() const
double deltaPhi(void) const
#define DCOUT_V(M_v_Y, M_v_S)
virtual DDRotation makeDDRotation(const int copyNo) const
const DDLogicalPart & parent() const
virtual DDLogicalPart makeDDLogicalPart(const int copyNo) const
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
virtual DDTranslation makeDDTranslation(const int copyNo) 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.
DDRotationMatrix * changeRotMatrix(double rotZ=0.) const