@@ -156,11 +156,10 @@ struct hadronnucleicorrelation {
156156 std::map<std::pair<int , float >, std::vector<colType>> mixbins_antip;
157157 std::map<std::pair<int , float >, std::vector<colType>> mixbins_p;
158158 std::map<std::pair<int , float >, std::vector<colType>> mixbinsPID_antidantip;
159- std::map<float , std::vector<MCcolType>> mixbinsMC_antidantip;
160- std::map<float , std::vector<MCcolType>> mixbinsMC_dp;
161- std::map<float , std::vector<MCcolType>> mixbinsMC_antipantip;
162- std::map<float , std::vector<MCcolType>> mixbinsMC_pp;
163- std::map<float , std::vector<MCcolType>> mixbinsMC_antipp;
159+ std::map<float , std::vector<MCcolType>> mixbinsMC_antid;
160+ std::map<float , std::vector<MCcolType>> mixbinsMC_d;
161+ std::map<float , std::vector<MCcolType>> mixbinsMC_antip;
162+ std::map<float , std::vector<MCcolType>> mixbinsMC_p;
164163
165164 std::unique_ptr<o2::aod::singletrackselector::FemtoPair<trkType>> Pair = std::make_unique<o2::aod::singletrackselector::FemtoPair<trkType>>();
166165 std::unique_ptr<o2::aod::singletrackselector::FemtoPair<trkTypeMC>> PairMC = std::make_unique<o2::aod::singletrackselector::FemtoPair<trkTypeMC>>();
@@ -323,6 +322,7 @@ struct hadronnucleicorrelation {
323322
324323 if (doQA) {
325324 // Track QA
325+ QA.add (" QA/hMult" , " multiplicity" , {HistType::kTH1D , {{150 , 0 .f , 150 .f , " N_{ch}" }}});
326326 QA.add (" QA/hVtxZ_trk" , " #it{z}_{vtx}" , {HistType::kTH1D , {{150 , -15 .f , 15 .f , " #it{z}_{vtx} (cm)" }}});
327327 QA.add (" QA/hTPCnClusters" , " N TPC Clusters; N TPC Clusters" , {HistType::kTH1D , {{200 , 0 .f , 200 .f }}});
328328 QA.add (" QA/hTPCSharedClusters" , " N TPC Shared Clusters; N TPC SharedClusters" , {HistType::kTH1D , {{100 , 0 .f , 1 .f }}});
@@ -927,6 +927,7 @@ struct hadronnucleicorrelation {
927927 continue ;
928928
929929 registry.fill (HIST (" hNEvents" ), 0.5 );
930+ QA.fill (HIST (" QA/hMult" ), collision.mult ());
930931
931932 if (selectedtracks_antid.find (collision.globalIndex ()) != selectedtracks_antid.end () &&
932933 selectedtracks_antip.find (collision.globalIndex ()) != selectedtracks_antip.end ()) {
@@ -1619,6 +1620,7 @@ struct hadronnucleicorrelation {
16191620 if (std::abs (collision.posZ ()) > cutzvertex)
16201621 continue ;
16211622 registry.fill (HIST (" hNEvents" ), 0.5 );
1623+ QA.fill (HIST (" QA/hMult" ), collision.mult ());
16221624
16231625 int vertexBinToMix = std::floor ((collision.posZ () + cutzvertex) / (2 * cutzvertex / _vertexNbinsToMix));
16241626 int centBinToMix = std::floor (collision.multPerc () / (100.0 / _multNsubBins));
@@ -1806,6 +1808,7 @@ struct hadronnucleicorrelation {
18061808 for (auto collision1 : mcCollisions) { // loop on collisions
18071809
18081810 registry.fill (HIST (" Generated/hNEventsMC" ), 0.5 );
1811+ QA.fill (HIST (" QA/hMult" ), collision1.mult ());
18091812
18101813 if (std::abs (collision1.posZ ()) > cutzvertex) {
18111814 continue ;
0 commit comments