Skip to content
Snippets Groups Projects
Commit cab66b4f authored by Hass AbouZeid's avatar Hass AbouZeid
Browse files

Merge branch 'RPC_Digitization_Overlay_Workaround_ATLASRECTS-3871_21.0' into '21.0'

Pulling in fixes from RPC_Digitization-01-05-18

See merge request !2310
parents f06f2d97 238d3046
No related branches found
No related tags found
No related merge requests found
......@@ -1565,9 +1565,22 @@ int RpcDigitizationTool::findStripNumber(Amg::Vector3D posInGap, Identifier digi
Identifier firstStrip = m_idHelper->channelID(digitId, doubletZ, doubletPhi, gasGap, measuresPhi, 1);
Identifier lastStrip = m_idHelper->channelID(digitId, doubletZ, doubletPhi, gasGap, measuresPhi, nstrips);
Amg::Vector3D firstPos=ele->localStripPos(firstStrip);
Amg::Vector3D lastPos=ele->localStripPos(lastStrip);
Amg::Vector3D firstPos(0.,0.,0);
try {
firstPos=ele->localStripPos(firstStrip);
}
catch (...) {
ATH_MSG_ERROR("RpcReadoutElement::localStripPos call failed.");
ATH_MSG_WARNING("firstPos determination failed.");
}
Amg::Vector3D lastPos(0.,0.,0);
try {
lastPos=ele->localStripPos(lastStrip);
}
catch (...) {
ATH_MSG_ERROR("RpcReadoutElement::localStripPos call failed.");
ATH_MSG_WARNING("lastPos determination failed.");
}
// if(ele->Nphigasgaps()!=1) return result; //all but BMS/F and ribs chambers
......
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