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

Merge branch 'fixMdtIdHelper2' into 'master'

GeoAdaptors: Fix for broken compilation

See merge request !36935
parents 5e0632d6 939aa43c
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!36935GeoAdaptors: Fix for broken compilation
...@@ -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