13 #include "CLHEP/Units/GlobalPhysicalConstants.h" 14 #include "CLHEP/Units/GlobalSystemOfUnits.h" 18 LogDebug(
"TECGeom") <<
"DDTECPhiAlgo info: Creating an instance";
37 LogDebug(
"TECGeom") <<
"DDTECPhiAlgo debug: Parameters for " 38 <<
"positioning--" <<
"\tStartAngle " 48 LogDebug(
"TECGeom") <<
"DDTECPhiAlgo debug: Parent " << parentName
49 <<
"\tChild " <<
childName <<
" NameSpace " 56 double theta = 90.*CLHEP::deg;
63 double phiy = phix + 90.*CLHEP::deg;
64 double phideg = phix/CLHEP::deg;
70 LogDebug(
"TECGeom") <<
"DDTECPhiAlgo test: Creating a new " 71 <<
"rotation " << rotstr <<
"\t" 72 << theta/CLHEP::deg <<
", " << phix/CLHEP::deg
73 <<
", " << theta/CLHEP::deg <<
", " 74 << phiy/CLHEP::deg <<
", 0, 0";
80 if (
i%2 == 0) zpos =
zIn;
83 cpv.
position(child, mother, copyNo, tran, rotation);
84 LogDebug(
"TECGeom") <<
"DDTECPhiAlgo test: " << child <<
" number " 85 << copyNo <<
" positioned in " << mother <<
" at "
Geom::Theta< T > theta() const
DDName is used to identify DDD entities uniquely.
static std::string & ns()
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
type of data representation of DDCompactView
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
void execute(DDCompactView &cpv) override