Skip to content

Commit f340d64

Browse files
committed
Fix fill of datamodel
1 parent 54b4548 commit f340d64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGLF/TableProducer/Nuspex/hyperkinkRecoTask.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,6 @@ struct HyperkinkRecoTask {
838838

839839
hypkinkCand.isSignal = true;
840840
hypkinkCand.isSignalReco = true;
841-
hypkinkCand.isCollReco = true;
842-
hypkinkCand.isSurvEvSelection = true;
843841
fillCandidateMCInfo(hypkinkCand, mcMothTrack, mcDaugTrack, mcNeutTrack);
844842
mcPartIndices.push_back(mcMothTrack.globalIndex());
845843

@@ -850,6 +848,9 @@ struct HyperkinkRecoTask {
850848
registry.fill(HIST("hDCAZMothToRecSV"), dcaInfo[1]);
851849
}
852850

851+
hypkinkCand.isCollReco = true;
852+
hypkinkCand.isSurvEvSelection = true;
853+
853854
outputMCTable(
854855
mBz > 0 ? 1 : -1,
855856
hypkinkCand.posPV[0], hypkinkCand.posPV[1], hypkinkCand.posPV[2],

0 commit comments

Comments
 (0)