13 #include "CLHEP/Units/GlobalPhysicalConstants.h" 14 #include "CLHEP/Units/GlobalSystemOfUnits.h" 18 LogDebug(
"TrackerGeom") <<
"DDTrackerZPosAlgo info: Creating an instance";
31 zvec = vArgs[
"ZPositions"];
32 rotMat = vsArgs[
"Rotations"];
37 LogDebug(
"TrackerGeom") <<
"DDTrackerZPosAlgo debug: Parent " << parentName
38 <<
"\tChild " <<
childName <<
" NameSpace " 44 <<
", Rot.Matrix = " <<
rotMat[
i];
59 if (rotstr !=
"NULL") {
63 cpv.
position(child, mother, copy, tran, rot);
64 LogDebug(
"TrackerGeom") <<
"DDTrackerZPosAlgo test: " << child <<
" number " 65 << copy <<
" positioned in " << mother <<
" at " 66 << tran <<
" with " <<
rot;
std::vector< double > zvec
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)
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=0)
void execute(DDCompactView &cpv) override
~DDTrackerZPosAlgo() override
void initialize(const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &vsArgs) override
std::pair< std::string, std::string > DDSplit(const std::string &n)
split into (name,namespace), separator = ':'
std::vector< std::string > rotMat