@@ -300,7 +300,7 @@ struct HfCandidateCreatorXicToXiPiPi {
300300
301301 // ----------------------------calculate physical properties-----------------------
302302 // Charge of charm baryon
303- int signXic = casc.sign () < 0 ? +1 : -1 ;
303+ int8_t signXic = casc.sign () < 0 ? +1 : -1 ;
304304
305305 // get SV properties
306306 const auto & secondaryVertex = df.getPCACandidate ();
@@ -561,7 +561,7 @@ struct HfCandidateCreatorXicToXiPiPi {
561561
562562 // ---------------------calculate physical parameters of XicPlus candidate----------------------
563563 // sign of charm baryon
564- int signXic = casc.sign () < 0 ? +1 : -1 ;
564+ int8_t signXic = casc.sign () < 0 ? +1 : -1 ;
565565
566566 // transport XicPlus daughters to XicPlus decay vertex (secondary vertex)
567567 float secondaryVertex[3 ] = {0 .};
@@ -1073,7 +1073,7 @@ struct HfCandidateCreatorXicToXiPiPiExpressions {
10731073
10741074 // Fill tables
10751075 rowMcMatchRec (flag, origin);
1076- if (fillResidualTable) {
1076+ if (flag != 0 && fillResidualTable) {
10771077 rowResiduals (origin, momentumResiduals[0 ], momentumResiduals[1 ],
10781078 pvResiduals[0 ], pvResiduals[1 ], pvResiduals[2 ],
10791079 pvPulls[0 ], pvPulls[1 ], pvPulls[2 ],
0 commit comments