@@ -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 , false , " Global and ITS tracks" )
107+ O2_DEFINE_CONFIGURABLE (cfgGlobalplusITS, bool , true , " 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" )
@@ -242,15 +242,15 @@ struct FlowGfwTask {
242242
243243 bool isStable (int pdg)
244244 {
245- if (std::abs (pdg) == PDG_t:: kPiPlus )
245+ if (std::abs (pdg) == kPiPlus )
246246 return true ;
247- if (std::abs (pdg) == PDG_t:: kKPlus )
247+ if (std::abs (pdg) == kKPlus )
248248 return true ;
249- if (std::abs (pdg) == PDG_t:: kProton )
249+ if (std::abs (pdg) == kProton )
250250 return true ;
251- if (std::abs (pdg) == PDG_t:: kElectron )
251+ if (std::abs (pdg) == kElectron )
252252 return true ;
253- if (std::abs (pdg) == PDG_t:: kMuonMinus )
253+ if (std::abs (pdg) == kMuonMinus )
254254 return true ;
255255 return false ;
256256 }
@@ -410,6 +410,9 @@ struct FlowGfwTask {
410410 registry.add (" hPtMCRec" , " Monte Carlo Reco; pT (GeV/c)" , {HistType::kTH1D , {axisPt}});
411411 registry.add (" hCenMCRec" , " Monte Carlo Reco; Centrality (%)" , {HistType::kTH1D , {axisCentrality}});
412412 registry.add (" hPtNchMCRec" , " Reco production; pT (GeV/c); Multiplicity" , {HistType::kTH2D , {axisPt, axisNch}});
413+ registry.add (" hPtMCRec05" , " Monte Carlo Reco 0-5%; pT (GeV/c)" , {HistType::kTH1D , {axisPt}});
414+ registry.add (" hCenMCRec05" , " Monte Carlo Reco 0-5%; Centrality (%)" , {HistType::kTH1D , {axisCentrality}});
415+ registry.add (" hPtNchMCRec05" , " Reco production 0-5%; pT (GeV/c); Multiplicity" , {HistType::kTH2D , {axisPt, axisNch}});
413416 registry.add (" Pt_pi" , " " , kTH2F , {{axisCentrality}, {axisPt}});
414417 registry.add (" Pt_ka" , " " , kTH2F , {{axisCentrality}, {axisPt}});
415418 registry.add (" Pt_pr" , " " , kTH2F , {{axisCentrality}, {axisPt}});
@@ -424,6 +427,9 @@ struct FlowGfwTask {
424427 registry.add (" hPtMCGen" , " Monte Carlo Truth; pT (GeV/c)" , {HistType::kTH1D , {axisPt}});
425428 registry.add (" hCenMCGen" , " Monte Carlo Truth; Centrality (%)" , {HistType::kTH1D , {axisCentrality}});
426429 registry.add (" hPtNchMCGen" , " Truth production; pT (GeV/c); multiplicity" , {HistType::kTH2D , {axisPt, axisNch}});
430+ registry.add (" hPtMCGen05" , " Monte Carlo Truth 0-5%; pT (GeV/c)" , {HistType::kTH1D , {axisPt}});
431+ registry.add (" hCenMCGen05" , " Monte Carlo Truth 0-5%; Centrality (%)" , {HistType::kTH1D , {axisCentrality}});
432+ registry.add (" hPtNchMCGen05" , " Truth production 0-5%; pT (GeV/c); multiplicity" , {HistType::kTH2D , {axisPt, axisNch}});
427433 registry.add (" PtMC_pi" , " " , kTH2F , {{axisCentrality}, {axisPt}});
428434 registry.add (" PtMC_ka" , " " , kTH2F , {{axisCentrality}, {axisPt}});
429435 registry.add (" PtMC_pr" , " " , kTH2F , {{axisCentrality}, {axisPt}});
@@ -1087,14 +1093,14 @@ struct FlowGfwTask {
10871093 {
10881094 // MC reconstructed
10891095 for (const auto & collision : collisions) {
1090- const auto & centrality = collision.centFT0C ();
1091-
10921096 if (!collision.sel8 ())
10931097 return ;
10941098
10951099 if (tracks.size () < 1 )
10961100 return ;
10971101
1102+ const auto & centrality = collision.centFT0C ();
1103+
10981104 if (cfgUseAdditionalEventCut && !eventSelected (o2::aod::mult::MultNTracksPV (), collision, tracks.size (), centrality)) {
10991105 return ;
11001106 }
@@ -1118,10 +1124,17 @@ struct FlowGfwTask {
11181124 const auto & particle = track.mcParticle ();
11191125
11201126 if (isStable (particle.pdgCode ())) {
1127+
11211128 registry.fill (HIST (" hEventCounterMCRec" ), 0.5 );
11221129 registry.fill (HIST (" hPtMCRec" ), track.pt ());
11231130 registry.fill (HIST (" hCenMCRec" ), centrality);
11241131 registry.fill (HIST (" hPtNchMCRec" ), track.pt (), track.size ());
1132+
1133+ if (centrality >= 0 && centrality <= 5 ) {
1134+ registry.fill (HIST (" hPtMCRec05" ), track.pt ());
1135+ registry.fill (HIST (" hCenMCRec05" ), centrality);
1136+ registry.fill (HIST (" hPtNchMCRec05" ), track.pt (), track.size ());
1137+ }
11251138 }
11261139
11271140 registry.fill (HIST (" Pt_all_ch" ), centrality, track.pt ());
@@ -1181,6 +1194,12 @@ struct FlowGfwTask {
11811194 registry.fill (HIST (" hPtMCGen" ), particle.pt ());
11821195 registry.fill (HIST (" hCenMCGen" ), centrality);
11831196
1197+ if (centrality >= 0 && centrality <= 5 ) {
1198+ registry.fill (HIST (" hPtMCGen05" ), particle.pt ());
1199+ registry.fill (HIST (" hCenMCGen05" ), centrality);
1200+ registry.fill (HIST (" hPtNchMCGen05" ), particle.pt (), numberOfTracks[0 ]);
1201+ }
1202+
11841203 if (collisions.size () > 0 ) {
11851204 registry.fill (HIST (" hPtNchMCGen" ), particle.pt (), numberOfTracks[0 ]);
11861205 }
@@ -1210,7 +1229,7 @@ struct FlowGfwTask {
12101229 }
12111230 }
12121231 }
1213- PROCESS_SWITCH (FlowGfwTask, processpTEff, " Process pT Eff" , false );
1232+ PROCESS_SWITCH (FlowGfwTask, processpTEff, " Process pT Eff" , true );
12141233
12151234}; // End of struct
12161235
0 commit comments