13 #include "CLHEP/Units/GlobalPhysicalConstants.h" 14 #include "CLHEP/Units/GlobalSystemOfUnits.h" 18 LogDebug(
"TECGeom") <<
"DDTECPhiAltAlgo info: Creating an instance";
38 LogDebug(
"TECGeom") <<
"DDTECPhiAltAlgo debug: Parameters for " 39 <<
"positioning--" <<
"\tStartAngle " 42 <<
"\tZ in/out " <<
zIn <<
", " <<
zOut 43 <<
"\tCopy Numbers " <<
number <<
" Start/Increment " 49 LogDebug(
"TECGeom") <<
"DDTECPhiAltAlgo debug: Parent " << parentName
50 <<
"\tChild " <<
childName <<
" NameSpace " 57 double theta = 90.*CLHEP::deg;
64 double phix = phiz + 90.*CLHEP::deg;
65 double phideg = phiz/CLHEP::deg;
71 LogDebug(
"TECGeom") <<
"DDTECPhiAltAlgo test: Creating a new " 72 <<
"rotation " << rotstr <<
"\t" 73 << theta/CLHEP::deg <<
", " << phix/CLHEP::deg
74 <<
", 0, 0, " << theta/CLHEP::deg <<
", " 83 if (
i%2 == 0) zpos =
zIn;
87 cpv.
position(child, mother, copyNo, tran, rotation);
88 LogDebug(
"TECGeom") <<
"DDTECPhiAltAlgo test: " << child <<
" number " 89 << copyNo <<
" positioned in " << mother <<
" at "
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
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.
static std::string & ns()
type of data representation of DDCompactView
void execute(DDCompactView &cpv)
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)
virtual ~DDTECPhiAltAlgo()
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)