@@ -798,7 +798,7 @@ struct hyperRecoTask {
798798 hypCand.clusterSizeITSHe3 , hypCand.clusterSizeITSPi , hypCand.flags , trackedHypClSize,
799799 chargeFactor * hypCand.genPt (), hypCand.genPhi (), hypCand.genEta (), hypCand.genPtHe3 (),
800800 hypCand.gDecVtx [0 ], hypCand.gDecVtx [1 ], hypCand.gDecVtx [2 ],
801- hypCand.isReco , hypCand.isFakeHeOnITSLayer , hypCand.isSignal , hypCand.isRecoMCCollision , hypCand.isSurvEvSelection );
801+ hypCand.isReco , hypCand.isFakeHeOnITSLayer , hypCand.isSignal , hypCand.isRecoMCCollision , hypCand.isSurvEvSelection , 1 );
802802 }
803803
804804 // now we fill only the signal candidates that were not reconstructed
@@ -826,7 +826,6 @@ struct hyperRecoTask {
826826 }
827827 if (!isHeFound) {
828828 hDecayChannel->Fill (1 .);
829- continue ;
830829 }
831830 hDecayChannel->Fill (0 .);
832831 if (mcPart.pdgCode () > 0 ) {
@@ -871,7 +870,7 @@ struct hyperRecoTask {
871870 -1 , -1 , -1 , false ,
872871 chargeFactor * hypCand.genPt (), hypCand.genPhi (), hypCand.genEta (), hypCand.genPtHe3 (),
873872 hypCand.gDecVtx [0 ], hypCand.gDecVtx [1 ], hypCand.gDecVtx [2 ],
874- hypCand.isReco , -1 , hypCand.isSignal , hypCand.isRecoMCCollision , hypCand.isSurvEvSelection );
873+ hypCand.isReco , -1 , hypCand.isSignal , hypCand.isRecoMCCollision , hypCand.isSurvEvSelection , isHeFound );
875874 }
876875 }
877876 PROCESS_SWITCH (hyperRecoTask, processMC, " MC analysis" , false );
0 commit comments