Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
e1d4e7a1
Commit
e1d4e7a1
authored
May 21, 2015
by
Jochen Meyer
Committed by
Graeme Stewart
Sep 15, 2015
Browse files
addressing coverity defect (MuonTruthAlgs-02-12-04)
* addressing coverity defect 30160 * tagged as MuonTruthAlgs-02-12-04
parent
b1bf430b
Changes
1
Hide whitespace changes
Inline
Side-by-side
MuonSpectrometer/MuonTruthAlgs/src/MuonTruthSummaryAlg.cxx
View file @
e1d4e7a1
...
...
@@ -47,7 +47,8 @@ StatusCode MuonTruthSummaryAlg::execute() {
for
(
auto
seg
:
*
segments
)
{
const
Trk
::
Segment
*
tseg
=
seg
;
const
Muon
::
MuonSegment
*
muonSeg
=
dynamic_cast
<
const
Muon
::
MuonSegment
*>
(
tseg
);
m_truthSummaryTool
->
add
(
*
muonSeg
,
2
);
if
(
muonSeg
)
m_truthSummaryTool
->
add
(
*
muonSeg
,
2
);
else
ATH_MSG_WARNING
(
"Trk::Segment cannot be casted in Muon::MuonSegment."
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment