Skip to content
Snippets Groups Projects
Commit 4ff1c1b6 authored by John Chapman's avatar John Chapman
Browse files

Fix Coverity Defect 113087

Former-commit-id: 9518230150d41654f7b8a7dab196fd4bd473f58f
parent 4787b9bc
No related branches found
No related tags found
No related merge requests found
......@@ -47,12 +47,9 @@ Identifier TGCHitsTestTool::getIdentifier(HitID tgchit) {
StatusCode TGCHitsTestTool::checkIdentifier(Identifier offid) {
const MuonGM::TgcReadoutElement* descriptor = m_pMuonMgr->getTgcReadoutElement(offid);
if (descriptor != NULL) {
// *AS* Amg::Vector3D xU;
// *AS* Amg::Vector3D localHit((*i_hit).localPosition().x(),(*i_hit).localPosition().y(),(*i_hit).localPosition().z());
// *AS* xU = descriptor->localToGlobalCoords(localHit,offid);
} else {
if (!descriptor) {
ATH_MSG_FATAL("TGC readout element not found for Id = " << m_pTgcIdHelper->show_to_string(offid));
return StatusCode::FAILURE;
}
// -------- Testing Sim to Offline ID conversion ---------
......
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