Definition at line 10 of file DDHCalAngular.h.
Definition at line 52 of file DDHCalAngular.cc.
References childName, funct::cos(), DDrot(), idNameSpace, cuy::ii, incrCopyNo, createfilelist::int, LogDebug, n, class-composition::parent, phi, DDCompactView::position(), rangeAngle, idealTransformation::rotation, rotns, shiftX, shiftY, funct::sin(), startAngle, startCopyNo, AlCaHLTBitMon_QueryRunRegistry::string, and zoffset.
60 double phideg = phi/CLHEP::deg;
62 if (phideg > 0) iphi =
int(phideg+0.1);
63 else iphi =
int(phideg-0.1);
64 if (iphi >= 360) iphi -= 360;
71 if (phideg >=0 && phideg < 100) rotstr =
"R0";
72 rotstr = rotstr + std::to_string(phideg);
75 LogDebug(
"HCalGeom") <<
"DDHCalAngular test: Creating a new rotation " 77 << phideg <<
", 90, " << (phideg+90) <<
", 0, 0";
79 phideg*CLHEP::deg, 90*CLHEP::deg,
80 (90+phideg)*CLHEP::deg, 0*CLHEP::deg, 0*CLHEP::deg);
90 LogDebug(
"HCalGeom") <<
"DDHCalAngular test: " 92 << copyNo <<
" positioned in " << parentName <<
" at "
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)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)