@@ -464,7 +464,7 @@ struct UpcPhotonuclearAnalysisJMG {
464464 if (useNMax) {
465465 nMean = nMax;
466466 } else {
467- double nMean = (count > 0 ) ? sum / count : 0.0 ;
467+ nMean = (count > 0 ) ? sum / count : 0.0 ;
468468 }
469469
470470 for (int kPhi = 1 ; kPhi <= nPhi; ++kPhi ) {
@@ -815,6 +815,27 @@ struct UpcPhotonuclearAnalysisJMG {
815815 if (isCollisionCutSG (reconstructedCollision) == false ) {
816816 return ;
817817 }
818+
819+ // Configure track flow histogram labels
820+ auto hFlow = histos.get <TH1 >(HIST (" Tracks/hTracksAfterCuts" ));
821+ hFlow->GetXaxis ()->SetBinLabel (0 , " All tracks" );
822+ hFlow->GetXaxis ()->SetBinLabel (1 , " Track sign" );
823+ hFlow->GetXaxis ()->SetBinLabel (2 , " p_{T} range" );
824+ hFlow->GetXaxis ()->SetBinLabel (3 , " #eta range" );
825+ hFlow->GetXaxis ()->SetBinLabel (4 , " dcaZ" );
826+ hFlow->GetXaxis ()->SetBinLabel (5 , " dcaXY" );
827+ hFlow->GetXaxis ()->SetBinLabel (6 , " PV contrib cut" );
828+ hFlow->GetXaxis ()->SetBinLabel (7 , " has ITS cut" );
829+ hFlow->GetXaxis ()->SetBinLabel (8 , " N clusters ITS cut" );
830+ hFlow->GetXaxis ()->SetBinLabel (9 , " #chi^{2} N cluster ITS cut" );
831+ hFlow->GetXaxis ()->SetBinLabel (10 , " has TPC cut" );
832+ hFlow->GetXaxis ()->SetBinLabel (11 , " N clusters crossed row TPC cut" );
833+ hFlow->GetXaxis ()->SetBinLabel (12 , " (N cluster findable - N cluster minus findable) TPC cut" );
834+ hFlow->GetXaxis ()->SetBinLabel (13 , " N cluster findable TPC cut" );
835+ hFlow->GetXaxis ()->SetBinLabel (14 , " (N cluster crossed row / N cluster findable) TPC cut" );
836+ hFlow->GetXaxis ()->SetBinLabel (15 , " (N cluster findable - N cluster minus findable) / N cluster findable cut" );
837+ hFlow->GetXaxis ()->SetBinLabel (16 , " #chi^{2} N cluster TPC cut" );
838+
818839 for (const auto & track : reconstructedTracks) {
819840 histos.fill (HIST (" Tracks/hTracksAfterCuts" ), 0 );
820841 if (track.sign () != 1 && track.sign () != -1 ) {
0 commit comments