Definition at line 21 of file DDGEMAngular.cc.
Definition at line 92 of file DDGEMAngular.cc.
References childName, angle_units::operators::convertRadToDeg(), funct::cos(), DDrot(), DEFINE_EDM_PLUGIN, formatAsDegrees(), idNameSpace, cuy::ii, incrCopyNo, invert, n, class-composition::parent, phi, DDCompactView::position(), idealTransformation::rotation, rotns, rPos, funct::sin(), startAngle, startCopyNo, stepAngle, AlCaHLTBitMon_QueryRunRegistry::string, and zoffset.
96 for (
int ii = 0;
ii <
n;
ii++) {
108 double thetax = 90.0_deg;
109 double phix =
invert == 0 ? (90.0_deg + phitmp) : (-90.0_deg + phitmp);
110 double thetay =
invert == 0 ? 0.0 : 180.0_deg;
111 double phiz = phitmp;
118 rotation =
DDrot(
DDName(rotstr,
rotns), thetax, phix, thetay, 0., thetax, phiz);
127 <<
" positioned in " << parentName <<
" at " << tran <<
" with " << rotstr <<
" "
constexpr NumType convertRadToDeg(NumType radians)
Sin< T >::type sin(const T &t)
DDName is used to identify DDD entities uniquely.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
Cos< T >::type cos(const T &t)
std::string formatAsDegrees(double radianVal)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
ROOT::Math::Rotation3D DDRotation