12 #include "CLHEP/Units/GlobalPhysicalConstants.h"
13 #include "CLHEP/Units/GlobalSystemOfUnits.h"
49 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo info: Creating an instance";
64 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo debug: Parent " << parentName <<
" Child " <<
childName <<
" NameSpace "
78 for (
int i = 0;
i < (int)(
angles.size());
i++)
83 LogDebug(
"TECGeom") <<
"==>> Constructing DDTECOptoHybAlgo...";
100 double phiy = phix + 90. * CLHEP::deg;
101 double phideg = phix / CLHEP::deg;
106 double theta = 90. * CLHEP::deg;
107 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo test: Creating a new "
108 <<
"rotation: " << rotstr <<
"\t90., " << phix / CLHEP::deg <<
", 90.," << phiy / CLHEP::deg
114 cpv.
position(child, mother, copyNo, tran, rotation);
115 LogDebug(
"TECGeom") <<
"DDTECOptoHybAlgo test " << child <<
" number " << copyNo <<
" positioned in " << mother
116 <<
" at " << tran <<
" with " <<
rotation;
120 LogDebug(
"TECGeom") <<
"<<== End of DDTECOptoHybAlgo construction ...";
static AlgebraicMatrix initialize()
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
DDName is used to identify DDD entities uniquely.
static std::string & ns()
Compact representation of the geometrical detector hierarchy.
~DDTECOptoHybAlgo() override
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) override
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
T angle(T x1, T y1, T z1, T x2, T y2, T z2)