14 #include "CLHEP/Units/GlobalPhysicalConstants.h"
15 #include "CLHEP/Units/GlobalSystemOfUnits.h"
19 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo info: Creating an instance";
35 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo debug: Parent " << parentName
45 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo debug: Height of the Hybrid "
47 <<
"Rpos " <<
rpos <<
" Zpos " <<
zpos
51 for (
int i = 0;
i < (int)(
angles.size());
i++)
58 LogDebug(
"TECGeom") <<
"==>> Constructing DDTECOptoHybAlgo...";
66 for (
int i = 0;
i < (int)(
angles.size());
i++) {
75 double phiy = phix + 90.*CLHEP::deg;
76 double phideg = phix/CLHEP::deg;
81 double theta = 90.*CLHEP::deg;
82 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo test: Creating a new "
83 <<
"rotation: " << rotstr <<
"\t90., "
84 << phix/CLHEP::deg <<
", 90.," << phiy/CLHEP::deg
91 cpv.
position(child, mother, copyNo, tran, rotation);
92 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo test " << child <<
" number "
93 << copyNo <<
" positioned in " << mother <<
" at "
98 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()
std::string dbl_to_string(const double &in)
Converts only the integer part of a double to a string.
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 = ':'
const std::string & name() const
Returns the name.
std::vector< double > angles