diff --git a/MuonSpectrometer/MuonPhaseII/MuonValidation/MuonPRDTestR4/Root/SimHitTester.cxx b/MuonSpectrometer/MuonPhaseII/MuonValidation/MuonPRDTestR4/Root/SimHitTester.cxx index 5e61b2f0e79a5c4fedd3995c04e94720088c2b33..7369a7b0f27d468487745233fa41cfb1760eb45a 100644 --- a/MuonSpectrometer/MuonPhaseII/MuonValidation/MuonPRDTestR4/Root/SimHitTester.cxx +++ b/MuonSpectrometer/MuonPhaseII/MuonValidation/MuonPRDTestR4/Root/SimHitTester.cxx @@ -60,7 +60,7 @@ namespace MuonValR4{ const Amg::Transform3D& locToGlobal{re->localToGlobalTrans(gctx, trfHash)}; m_globPos.push_back(locToGlobal*locPos); - m_globDir.push_back(locToGlobal.linear()* locDir); + m_globDir.push_back(Amg::Vector3D(locToGlobal.linear()* locDir)); m_locPos.push_back(locPos); m_locDir.push_back(locDir); m_globTime.push_back(simHit->globalTime()); @@ -74,4 +74,4 @@ namespace MuonValR4{ return true; } -} \ No newline at end of file +}