@@ -104,7 +104,7 @@ struct FlowGfwTask {
104104 O2_DEFINE_CONFIGURABLE (cfgOccupancy, bool , false , " Bool for event selection on detector occupancy" );
105105 O2_DEFINE_CONFIGURABLE (cfgMultCut, bool , false , " Use additional event cut on mult correlations" );
106106 O2_DEFINE_CONFIGURABLE (cfgV0AT0A5Sigma, bool , false , " V0A T0A 5 sigma cut" )
107- O2_DEFINE_CONFIGURABLE (cfgGlobalplusITS, bool , true , " Global and ITS tracks" )
107+ O2_DEFINE_CONFIGURABLE (cfgGlobalplusITS, bool , false , " Global and ITS tracks" )
108108 O2_DEFINE_CONFIGURABLE (cfgGlobalonly, bool , false , " Global only tracks" )
109109 O2_DEFINE_CONFIGURABLE (cfgITSonly, bool , false , " ITS only tracks" )
110110 O2_DEFINE_CONFIGURABLE (cfgFineBinning, bool , false , " Manually change to fine binning" )
@@ -430,6 +430,10 @@ struct FlowGfwTask {
430430 registry.add (" hPtMCGen05" , " Monte Carlo Truth 0-5%; pT (GeV/c)" , {HistType::kTH1D , {axisPt}});
431431 registry.add (" hCenMCGen05" , " Monte Carlo Truth 0-5%; Centrality (%)" , {HistType::kTH1D , {axisCentrality}});
432432 registry.add (" hPtNchMCGen05" , " Truth production 0-5%; pT (GeV/c); multiplicity" , {HistType::kTH2D , {axisPt, axisNch}});
433+
434+ registry.add (" hCorr" , " Correlation Matrix; N_{ch True}; N_{ch Reco}" , {HistType::kTH2D , {axisNch, axisNch}});
435+ registry.add (" hCorr05" , " Correlation Matrix 0-5%; N_{ch True}; N_{ch Reco}" , {HistType::kTH2D , {axisNch, axisNch}});
436+
433437 registry.add (" PtMC_pi" , " " , kTH2F , {{axisCentrality}, {axisPt}});
434438 registry.add (" PtMC_ka" , " " , kTH2F , {{axisCentrality}, {axisPt}});
435439 registry.add (" PtMC_pr" , " " , kTH2F , {{axisCentrality}, {axisPt}});
@@ -1112,8 +1116,8 @@ struct FlowGfwTask {
11121116 registry.fill (HIST (" nRecColvsCent" ), collisions.size (), collision.centFT0C ());
11131117 registry.fill (HIST (" T0Ccent" ), centrality);
11141118
1115- const auto & groupedTracks = tracks.sliceBy (perCollision, collision.globalIndex ());
1116- for (const auto & track : groupedTracks ) {
1119+ const auto & groupedTracksReco = tracks.sliceBy (perCollision, collision.globalIndex ());
1120+ for (const auto & track : groupedTracksReco ) {
11171121
11181122 if (!trackSelected (track))
11191123 continue ;
@@ -1205,6 +1209,14 @@ struct FlowGfwTask {
12051209 }
12061210 }
12071211
1212+ for (const auto & track : groupedTracksReco) {
1213+
1214+ registry.fill (HIST (" hCorr" ), numberOfTracks[0 ], track.size ());
1215+ if (centrality >= 0 && centrality <= 5 ) {
1216+ registry.fill (HIST (" hCorr05" ), numberOfTracks[0 ], track.size ());
1217+ }
1218+ }
1219+
12081220 registry.fill (HIST (" PtMC_ch" ), centrality, particle.pt ());
12091221 if (particle.pdgCode () == kPiPlus ||
12101222 particle.pdgCode () == kPiMinus ) { // pion
@@ -1229,7 +1241,7 @@ struct FlowGfwTask {
12291241 }
12301242 }
12311243 }
1232- PROCESS_SWITCH (FlowGfwTask, processpTEff, " Process pT Eff" , true );
1244+ PROCESS_SWITCH (FlowGfwTask, processpTEff, " Process pT Eff" , false );
12331245
12341246}; // End of struct
12351247
0 commit comments