13 #include "CLHEP/Units/GlobalPhysicalConstants.h"
14 #include "CLHEP/Units/GlobalSystemOfUnits.h"
18 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo info: Creating an instance";
34 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo debug: Parent " << parentName
44 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo debug: Height of the Hybrid "
46 <<
"Rpos " <<
rpos <<
" Zpos " <<
zpos
50 for (
int i = 0;
i < (int)(
angles.size());
i++)
57 LogDebug(
"TECGeom") <<
"==>> Constructing DDTECOptoHybAlgo...";
65 for (
int i = 0;
i < (int)(
angles.size());
i++) {
74 double phiy = phix + 90.*CLHEP::deg;
75 double phideg = phix/CLHEP::deg;
80 double theta = 90.*CLHEP::deg;
81 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo test: Creating a new "
82 <<
"rotation: " << rotstr <<
"\t90., "
83 << phix/CLHEP::deg <<
", 90.," << phiy/CLHEP::deg
90 cpv.
position(child, mother, copyNo, tran, rotation);
91 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo test " << child <<
" number "
92 << copyNo <<
" positioned in " << mother <<
" at "
97 LogDebug(
"TECGeom") <<
"<<== End of DDTECOptoHybAlgo construction ...";
virtual ~DDTECOptoHybAlgo()
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)
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs)
DDName is used to identify DDD entities uniquely.
static std::string & ns()
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)
Cos< T >::type cos(const T &t)
void execute(DDCompactView &cpv)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
std::vector< double > angles