@@ -203,9 +203,13 @@ struct femtoDreamTripletTaskTrackTrackV0 {
203203 std::vector<double > tmpVecMult = ConfMultBins;
204204 framework::AxisSpec multAxis = {tmpVecMult, " Multiplicity" };
205205 ThreeBodyQARegistry.add (" TripletTaskQA/hSEMultVSGoodTracks" , " ;Mult;GoodT" , kTH2F , {multAxis, {100 , 0 , 100 }});
206- ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleaner" , " ;posDaughtID; negDaughID" , kTH2F , {{100 , -10000 , 10000 }, {100 , -10000 , 10000 }});
207- ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerPos" , " ;primaryTrack; posDaughtID" , kTH2F , {{100 , -200 , 200 }, {100 , -200 , 200 }});
208- ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerNeg" , " ;primaryTrack; negDaughtID" , kTH2F , {{100 , -200 , 200 }, {100 , -200 , 200 }});
206+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleaner" , " ;posDaughtID; negDaughID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
207+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerPos" , " ;primaryTrack; posDaughtID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
208+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerNeg" , " ;primaryTrack; negDaughtID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
209+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerPosGlobal" , " ;primaryTrackGlobal; posDaughtID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
210+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerNegGlobal" , " ;primaryTrackGlobal; negDaughtID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
211+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerPosAfter" , " ;primaryTrack; posDaughtID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
212+ ThreeBodyQARegistry.add (" TripletTaskQA/hTestPairCleanerNegAfter" , " ;primaryTrack; negDaughtID" , kTH2F , {{40 , -20 , 20 }, {40 , -20 , 20 }});
209213
210214 sameEventCont.init (&resultRegistry, ConfQ3Bins, ConfMultBins, ConfIsMC);
211215 mixedEventCont.init (&resultRegistry, ConfQ3Bins, ConfMultBins, ConfIsMC);
@@ -334,6 +338,10 @@ struct femtoDreamTripletTaskTrackTrackV0 {
334338 ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerNeg" ), T1.index (), negID);
335339 ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerPos" ), T2.index (), posID);
336340 ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerNeg" ), T2.index (), negID);
341+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerPosGlobal" ), T1.globalIndex (), posID);
342+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerNegGlobal" ), T1.globalIndex (), negID);
343+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerPosGlobal" ), T2.globalIndex (), posID);
344+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerNegGlobal" ), T2.globalIndex (), negID);
337345 auto Q3 = FemtoDreamMath::getQ3 (T1, mMassOne , T2, mMassTwo , V0, mMassThree );
338346 // Close pair rejection
339347 if (ConfIsCPR.value ) {
@@ -358,6 +366,10 @@ struct femtoDreamTripletTaskTrackTrackV0 {
358366 if (!pairCleanerTrackV0.isCleanPair (T1, V0, parts)) {
359367 continue ;
360368 }
369+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerPosAfter" ), T1.index (), posID);
370+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerNegAfter" ), T1.index (), negID);
371+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerPosAfter" ), T2.index (), posID);
372+ ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hTestPairCleanerNegAfter" ), T2.index (), negID);
361373 // fill inv Mass as a function of Q3 for purity fits
362374 ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hMinvSE_Lambda" ), Q3, V0.mLambda ());
363375 ThreeBodyQARegistry.fill (HIST (" TripletTaskQA/hMinvSE_AntiLambda" ), Q3, V0.mAntiLambda ());
0 commit comments