You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// daughters are matched to MC, now we check if reco mother is true H3L/Anti-H3l and decayed via three-body decay
833
-
this3BodyMCInfo.label = checkH3LTruth(mcTrackProton, mcTrackPion, mcTrackDeuteron); // returns global index of mother if true H3L/Anti-H3L mother decaying via three-body decay, otherwise negative value
832
+
this3BodyMCInfo.motherLabel = checkH3LTruth(mcTrackProton, mcTrackPion, mcTrackDeuteron); // returns global index of mother if true H3L/Anti-H3L mother decaying via three-body decay, otherwise negative value for background
834
833
835
834
// if not storing MC background, skip candidates where mother is not true H3L/Anti-H3L decaying via three-body decay
836
-
if (!doStoreMcBkg && this3BodyMCInfo.label <= 0) {
835
+
if (!doStoreMcBkg && this3BodyMCInfo.motherLabel <= 0) {
837
836
continue;
838
837
}
839
838
840
839
// get generated mother MC info for matched candidates
841
-
if (this3BodyMCInfo.label > -1) {
842
-
auto mcTrackH3L = mcParticles.rawIteratorAt(this3BodyMCInfo.label);
840
+
if (this3BodyMCInfo.motherLabel > 0) {
841
+
auto mcTrackH3L = mcParticles.rawIteratorAt(this3BodyMCInfo.motherLabel);
0 commit comments