We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b9c3d commit 8a46014Copy full SHA for 8a46014
DataFormats/Detectors/Common/src/AlignParam.cxx
@@ -103,8 +103,8 @@ bool AlignParam::setRotation(const TGeoMatrix& m)
103
double psi, theta, phi;
104
if (!matrixToAngles(rot, psi, theta, phi)) {
105
return false;
106
- setRotation(psi, theta, phi);
107
}
+ setRotation(psi, theta, phi);
108
} else {
109
mPsi = mTheta = mPhi = 0.;
110
@@ -190,7 +190,8 @@ bool AlignParam::setLocalParams(const TGeoMatrix& m)
190
m1.Multiply(&gprimeinv);
191
m1.MultiplyLeft(&gprime);
192
193
- return setLocalParams(m1);
+ setParams(m1);
194
+ return true;
195
196
197
//_____________________________________________________________________________
0 commit comments