@@ -377,8 +377,8 @@ struct Kstarqa {
377377 // hInvMass.add("multdist_FT0A", "FT0A Multiplicity distribution", kTH1F, {axisMultdist});
378378 // hInvMass.add("multdist_FT0C", "FT0C Multiplicity distribution", kTH1F, {axisMultdist});
379379 // hInvMass.add("hNcontributor", "Number of primary vertex contributor", kTH1F, {{2000, 0.0f, 10000.0f}});
380- rEventSelection.add (" hDcaxy " , " Dcaxy distribution" , kTH1F , {{200 , -1 .0f , 1 .0f }});
381- rEventSelection.add (" hDcaz " , " Dcaz distribution" , kTH1F , {{200 , -1 .0f , 1 .0f }});
380+ rEventSelection.add (" hDcaxy_cent_pt " , " Dcaxy distribution" , kTH3F , {{200 , -1 .0f , 1 .0f }, multiplicityAxis, ptAxis });
381+ rEventSelection.add (" hDcaz_cent_pt " , " Dcaz distribution" , kTH3F , {{200 , -1 .0f , 1 .0f }, multiplicityAxis, ptAxis });
382382 }
383383 }
384384
@@ -937,7 +937,7 @@ struct Kstarqa {
937937 int occupancy = collision.trackOccupancyInTimeRange ();
938938 rEventSelection.fill (HIST (" hOccupancy" ), occupancy);
939939
940- if (!selectionEvent (collision, true )) { // fill event cut histogram
940+ if (!selectionEvent (collision, true )) { // fill data event cut histogram
941941 return ;
942942 }
943943
@@ -1019,8 +1019,8 @@ struct Kstarqa {
10191019 }
10201020
10211021 if (cQAevents) {
1022- rEventSelection.fill (HIST (" hDcaxy " ), track1.dcaXY ());
1023- rEventSelection.fill (HIST (" hDcaz " ), track1.dcaZ ());
1022+ rEventSelection.fill (HIST (" hDcaxy_cent_pt " ), track1.dcaXY (), multiplicity, track1. pt ());
1023+ rEventSelection.fill (HIST (" hDcaz_cent_pt " ), track1.dcaZ (), multiplicity, track1. pt ());
10241024 }
10251025
10261026 // since we are using combinations full index policy, so repeated pairs are allowed, so we can check one with Kaon and other with pion
@@ -1381,8 +1381,8 @@ struct Kstarqa {
13811381 }
13821382
13831383 if (cQAevents) {
1384- rEventSelection.fill (HIST (" hDcaxy " ), track1.dcaXY ());
1385- rEventSelection.fill (HIST (" hDcaz " ), track1.dcaZ ());
1384+ rEventSelection.fill (HIST (" hDcaxy_cent_pt " ), track1.dcaXY (), multiplicity, track1. pt ());
1385+ rEventSelection.fill (HIST (" hDcaz_cent_pt " ), track1.dcaZ (), multiplicity, track1. pt ());
13861386 }
13871387
13881388 // since we are using combinations full index policy, so repeated pairs are allowed, so we can check one with Kaon and other with pion
@@ -1483,8 +1483,8 @@ struct Kstarqa {
14831483 continue ;
14841484 }
14851485
1486- hOthers.fill (HIST (" hKstar_Rap " ), mother.Rapidity ());
1487- hOthers.fill (HIST (" hKstar_Eta " ), mother.Eta ());
1486+ hOthers.fill (HIST (" hKstar_rap_pt " ), mother.Rapidity (), mother. Pt ());
1487+ hOthers.fill (HIST (" hKstar_eta_pt " ), mother.Eta (), mother. Pt ());
14881488
14891489 isMix = false ;
14901490 fillInvMass (daughter1, daughter2, mother, multiplicity, isMix, track1, track2);
@@ -1732,7 +1732,7 @@ struct Kstarqa {
17321732 hInvMass.fill (HIST (" hAllRecCollisions" ), multiplicity);
17331733 hInvMass.fill (HIST (" hAllRecCollisionsCalib" ), multiplicityRec);
17341734
1735- if (!selectionEvent (collision, false )) { // don't fill event cut histogram
1735+ if (!selectionEvent (collision, true )) { // fill MC event cut histogram
17361736 return ;
17371737 }
17381738
@@ -1754,8 +1754,8 @@ struct Kstarqa {
17541754 }
17551755
17561756 if (cQAevents) {
1757- rEventSelection.fill (HIST (" hDcaxy " ), track1.dcaXY ());
1758- rEventSelection.fill (HIST (" hDcaz " ), track1.dcaZ ());
1757+ rEventSelection.fill (HIST (" hDcaxy_cent_pt " ), track1.dcaXY (), multiplicity, track1. pt ());
1758+ rEventSelection.fill (HIST (" hDcaz_cent_pt " ), track1.dcaZ (), multiplicity, track1. pt ());
17591759 }
17601760
17611761 auto track1ID = track1.index ();
0 commit comments