Skip to content
Snippets Groups Projects
Commit 9fda7bf0 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'fixMdtIdHelper2' into 'master'

GeoAdaptors: Fix for broken compilation

See merge request atlas/athena!36935
parents 5e0632d6 939aa43c
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,8 @@ inline Amg::Vector3D GeoMDTHit::getGlobalPosition() const {
HitID hitid = m_hit->MDTid();
MdtHitIdHelper* mdthhelper = MdtHitIdHelper::GetHelper(s_mdtID->tubeMax());
const MdtIdHelper* mdtID = mgr()->mdtIdHelper();
MdtHitIdHelper* mdthhelper = MdtHitIdHelper::GetHelper(mdtID->tubeMax());
std::string stname = mdthhelper->GetStationName(hitid);
int steta = mdthhelper->GetZSector(hitid);
......@@ -66,7 +67,6 @@ inline Amg::Vector3D GeoMDTHit::getGlobalPosition() const {
int tl = mdthhelper->GetLayer(hitid);
int tube = mdthhelper->GetTube(hitid);
const MdtIdHelper* mdtID = mgr()->mdtIdHelper();
Identifier offid = mdtID->channelID(stname,
steta,
stphi,ml,tl,tube);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment