We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cd710 commit 3912592Copy full SHA for 3912592
DataFormats/Detectors/Common/src/AlignParam.cxx
@@ -308,8 +308,9 @@ bool AlignParam::applyToGeometry(int printLevel) const
308
TGeoHMatrix* align = new TGeoHMatrix(createMatrix());
309
if (mIsGlobal) {
310
align->Multiply(node->GetMatrix());
311
- TGeoHMatrix* g = node->GetMatrix(node->GetLevel() - 1);
312
align->MultiplyLeft(node->GetMatrix(node->GetLevel() - 1)->Inverse());
+ } else {
313
+ align->MultiplyLeft(node->GetOriginalMatrix());
314
}
315
316
node->Align(align);
0 commit comments