// Get the check point #iCheckPt
//
TVectorD *coordVector =(TVectorD *)fPointArray.UncheckedAt(iCheckPt);
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
};
//
TVectorD *coordVector =(TVectorD *)fPointArray.UncheckedAt(iCheckPt);
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
};
// Get the correct point #iCheckPt
TVectorD *coordVector =(TVectorD *)fPointArray.At(2*iCheckPt);
if (coordVector) {
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
} else {
return kFALSE;
TVectorD *coordVector =(TVectorD *)fPointArray.At(2*iCheckPt+1);
if (coordVector) {
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
} else {
return kFALSE;
const {
// Get check point #iCheckPt
TVectorD *coordVector =(TVectorD *)fPointArray.UncheckedAt(2*iCheckPt);
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
};
//
TVectorD *coordVector =(TVectorD *)fPointArray.UncheckedAt(2*iCheckPt+1);
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
return kTRUE;
};
//________________________________________________________________________
TVectorD *coordVector = (TVectorD *)fPointArray.UncheckedAt(i*2);
//TVectorD *vectVector = (TVectorD *)fPointArray.UncheckedAt(i*2+1);
Double_t coord[3];
+#if ROOT_VERSION_CODE < ROOT_VERSION(4,0,0)
+ CopyFrom(coord, coordVector->GetElements());
+#else
CopyFrom(coord, coordVector->GetMatrixArray());
+#endif
printf(" ( %.2f, %.2f, %.2f )\n", coord[0], coord[1], coord[2]);
};