58 double thetax = 90.*CLHEP::deg -
theta;
64 double tiltdeg =
tilt/CLHEP::deg;
65 int itilt = int(tiltdeg+0.1);
68 if (tiltdeg < 100) rotstr =
"R0";
72 LogDebug(
"HCalGeom") <<
"DDHCalAngular test: Creating a new rotation "
74 <<
", 90, " << (tiltdeg+90) <<
", 0, 0";
76 90*CLHEP::deg, (90*CLHEP::deg+
tilt), 0.0, 0.0);
80 LogDebug(
"HCalGeom") <<
"DDHCalTBZposAlgo test: " <<
child <<
" number "
82 <<
" at " << tran <<
" with " <<
rot;
Sin< T >::type sin(const T &t)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, std::string copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=NULL)
DDName is used to identify DDD entities uniquely.
std::string dbl_to_string(const double &in)
Converts only the integer part of a double to a string.
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
const std::string & name() const
Returns the name.