Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tulay Cuhadar Donszelmann
athena
Commits
7e6f9713
Commit
7e6f9713
authored
Jan 22, 2015
by
Susan Cheatham
Committed by
Graeme Stewart
Jan 23, 2015
Browse files
fix seg fault in GlobalFitTool prepareMeasurementSet (MuGirlGlobalFit-00-00-48)
parent
580004c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Reconstruction/MuonIdentification/MuGirlGlobalFit/src/GlobalFitTool.cxx
View file @
7e6f9713
...
...
@@ -247,6 +247,10 @@ Trk::MeasurementSet GlobalFitTool::prepareMeasurementSet(const MuonSegmentList &
for
(
MuonSegmentList
::
const_iterator
MuonSegItr
=
pMuonSegments
.
begin
();
MuonSegItr
!=
pMuonSegments
.
end
();
MuonSegItr
++
)
{
const
Muon
::
MuonSegment
*
pSegment
=
*
MuonSegItr
;
auto
checkSegment
=
pSegment
->
rioOnTrack
(
0
);
if
(
!
checkSegment
)
continue
;
const
Identifier
&
id
=
pSegment
->
rioOnTrack
(
0
)
->
identify
();
if
(
m_MuonIdHelperTool
->
isMdt
(
id
))
SegmentTechnology
=
"MDT"
;
if
(
m_MuonIdHelperTool
->
isRpc
(
id
))
SegmentTechnology
=
"RPC"
;
...
...
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