91 double theta = 90. * CLHEP::deg;
94 for (
int i = 0;
i <
n;
i++) {
96 double phiy = phix + 90. * CLHEP::deg;
97 double phideg = phix / CLHEP::deg;
104 LogDebug(
"TrackerGeom") <<
"DDTrackerAngular test: Creating a new "
105 <<
"rotation: " << rotstr <<
"\t90., " << phix / CLHEP::deg <<
", 90.,"
106 << phiy / CLHEP::deg <<
", 0, 0";
112 double ypos =
radius *
sin(phi) + center[1];
113 double zpos = center[2];
117 LogDebug(
"TrackerGeom") <<
"DDTrackerAngular test " <<
child <<
" number " << copy <<
" positioned in " << mother
118 <<
" at " << tran <<
" with " <<
rotation;
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)
Geom::Theta< T > theta() const
DDName is used to identify DDD entities uniquely.
std::string to_string(const V &value)
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
Cos< T >::type cos(const T &t)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation