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

fix for broken compilation

parent 5e0632d6
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,8 @@ inline Amg::Vector3D GeoMDTHit::getGlobalPosition() const { ...@@ -57,7 +57,8 @@ inline Amg::Vector3D GeoMDTHit::getGlobalPosition() const {
HitID hitid = m_hit->MDTid(); 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); std::string stname = mdthhelper->GetStationName(hitid);
int steta = mdthhelper->GetZSector(hitid); int steta = mdthhelper->GetZSector(hitid);
...@@ -66,7 +67,6 @@ inline Amg::Vector3D GeoMDTHit::getGlobalPosition() const { ...@@ -66,7 +67,6 @@ inline Amg::Vector3D GeoMDTHit::getGlobalPosition() const {
int tl = mdthhelper->GetLayer(hitid); int tl = mdthhelper->GetLayer(hitid);
int tube = mdthhelper->GetTube(hitid); int tube = mdthhelper->GetTube(hitid);
const MdtIdHelper* mdtID = mgr()->mdtIdHelper();
Identifier offid = mdtID->channelID(stname, Identifier offid = mdtID->channelID(stname,
steta, steta,
stphi,ml,tl,tube); 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