51 startCopyNo =
int(nArgs[
"StartCopyNo"]);
52 incrCopyNo =
int(nArgs[
"IncrCopyNo"]);
53 zvec = vArgs[
"ZPositions"];
54 rotMat = vsArgs[
"Rotations"];
57 childName = sArgs[
"ChildName"];
59 LogDebug(
"TrackerGeom") <<
"DDTrackerZPosAlgo debug: Parent " << parentName <<
"\tChild " << childName
60 <<
" NameSpace " << idNameSpace <<
"\tCopyNo (Start/Increment) " << startCopyNo <<
", " 61 << incrCopyNo <<
"\tNumber " << zvec.size();
62 for (
int i = 0;
i < (
int)(zvec.size());
i++) {
63 LogDebug(
"TrackerGeom") <<
"\t[" <<
i <<
"]\tZ = " << zvec[
i] <<
", Rot.Matrix = " <<
rotMat[
i];
68 int copy = startCopyNo;
72 for (
int i = 0;
i < (
int)(zvec.size());
i++) {
76 if (rotstr !=
"NULL") {
81 LogDebug(
"TrackerGeom") <<
"DDTrackerZPosAlgo test: " <<
child <<
" number " <<
copy <<
" positioned in " << mother
82 <<
" at " << tran <<
" with " <<
rot;
static AlgebraicMatrix initialize()
void position(const DDLogicalPart &self, const DDLogicalPart &parent, const std::string ©no, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div=nullptr)
DDName is used to identify DDD entities uniquely.
static std::string & ns()
Compact representation of the geometrical detector hierarchy.
Represents a uniquely identifyable rotation matrix.
U second(std::pair< T, U > const &p)
riemannFit::Matrix2d rotMat
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
#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