81 double theta = 90. * CLHEP::deg;
82 double phiy = 0. * CLHEP::deg;
83 double dphi = CLHEP::twopi /
number;
95 double zpos, thetay, phix;
97 phix = phiz + 90. * CLHEP::deg;
98 thetay = 0 * CLHEP::deg;
102 phix = phiz - 90. * CLHEP::deg;
103 thetay = 180 * CLHEP::deg;
109 phix = phix - 180. * CLHEP::deg;
110 thetay = thetay + 180. * CLHEP::deg;
114 double phideg = phiz / CLHEP::deg;
119 LogDebug(
"TIDGeom") <<
"DDTIDRingAlgo test: Creating a new rotation " << rotstr <<
"\t" <<
theta / CLHEP::deg
120 <<
", " << phix / CLHEP::deg <<
", " << thetay / CLHEP::deg <<
", " << phiy / CLHEP::deg
121 <<
", " <<
theta / CLHEP::deg <<
", " << phiz / CLHEP::deg;
126 LogDebug(
"TIDGeom") <<
"DDTIDRingAlgo test: " <<
module <<
" number " <<
i + 1 <<
" positioned in " << mother
127 <<
" at " << trmod <<
" with " <<
rotation;
141 LogDebug(
"TIDGeom") <<
"DDTIDRingAlgo test: " << icc <<
" number " <<
i + 1 <<
" positioned in " << mother <<
" at "
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
Sin< T >::type sin(const T &t)
DDName is used to identify DDD entities uniquely.
static std::string to_string(const XMLCh *ch)
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
const std::string & name() const
Returns the name.
Cos< T >::type cos(const T &t)
vector< string > moduleName
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
Geom::Theta< T > theta() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation