@@ -145,6 +145,7 @@ struct sigmaHadCorrTask {
145145 // qa histograms
146146 rEventSelection.add (" hVertexZRec" , " hVertexZRec" , {HistType::kTH1F , {vertexZAxis}});
147147 // Dedicated QA folder
148+ rSigmaHad.add (" QA/hHadronPt" , " Hadron #it{p}_{T}" , {HistType::kTH1F , {ptHadAxis}});
148149 rSigmaHad.add (" QA/h2TPCNSigmaHadVsPtHad" , " TPC n#sigma_{had} vs #it{p}_{T,had}" , {HistType::kTH2F , {ptHadAxis, nSigmaHadAxis}});
149150 rSigmaHad.add (" QA/h2TOFNSigmaHadVsPtHad" , " TOF n#sigma_{had} vs #it{p}_{T,had}" , {HistType::kTH2F , {ptHadAxis, nSigmaHadAxis}});
150151 rSigmaHad.add (" QA/hSigmaPt" , " #Sigma #it{p}_{T}" , {HistType::kTH1F , {sigmaPtAxis}});
@@ -317,11 +318,13 @@ struct sigmaHadCorrTask {
317318 return false ;
318319 }
319320
320- if (!candidate.hasTOF ()) {
321- return false ;
322- }
323- if (std::abs (getTOFNSigmaHad (candidate)) > cutNSigmaTOF) {
324- return false ;
321+ if (candidate.pt () >= ptMinTOFHad) {
322+ if (!candidate.hasTOF ()) {
323+ return false ;
324+ }
325+ if (std::abs (getTOFNSigmaHad (candidate)) > cutNSigmaTOF) {
326+ return false ;
327+ }
325328 }
326329 return true ; // Track is selected
327330 }
@@ -446,6 +449,7 @@ struct sigmaHadCorrTask {
446449 continue ;
447450 }
448451
452+ rSigmaHad.fill (HIST (" QA/hHadronPt" ), candidate.ptHad ());
449453 rSigmaHad.fill (HIST (" QA/h2TPCNSigmaHadVsPtHad" ), candidate.ptHad (), candidate.nSigmaTPCHad );
450454 if (hadTrack.hasTOF ()) {
451455 rSigmaHad.fill (HIST (" QA/h2TOFNSigmaHadVsPtHad" ), candidate.ptHad (), candidate.nSigmaTOFHad );
0 commit comments