Skip to content

Commit 67e9df4

Browse files
committed
Fix: copy original v0 if refit is not required
1 parent fc2b9e4 commit 67e9df4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Detectors/GlobalTrackingWorkflow/study/src/SVStudy.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ o2::dataformats::V0Ext SVStudySpec::processV0(int iv, o2::globaltracking::RecoCo
157157
invalidate();
158158
return v0ext;
159159
}
160+
if (!mRefit) {
161+
v0ext.v0 = v0sel;
162+
}
160163
v0ext.v0ID = v0id;
161164
for (int ip = 0; ip < 2; ip++) {
162165
auto& prInfo = v0ext.prInfo[ip];

0 commit comments

Comments
 (0)