@@ -81,7 +81,7 @@ struct F0980pbpbanalysis {
8181 Configurable<std::string> cfgURL{" cfgURL" , " http://alice-ccdb.cern.ch" , " Address of the CCDB to browse" };
8282 Configurable<int64_t > ccdbNoLaterThan{" ccdbNoLaterThan" , std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now ().time_since_epoch ()).count (), " Latest acceptable timestamp of creation for the object" };
8383
84- // Evnet Selection Configurables
84+ // Event Selection Configurables
8585 struct : ConfigurableGroup {
8686 Configurable<float > cfgEventCutVertex{" cfgEventCutVertex" , 10.0 , " PV selection" };
8787 Configurable<bool > cfgEventQvecSel{" cfgEventQvecSel" , true , " Reject events when no QVector" };
@@ -101,7 +101,7 @@ struct F0980pbpbanalysis {
101101 // Track Selection Configurables
102102 struct : ConfigurableGroup {
103103 Configurable<float > cfgTrackPtMin{" cfgTrackPtMin" , 0.15 , " Minimum transverse momentum for charged track" };
104- Configurable<float > cfgTrackEtaMax{" cfgTrackEtaMax" , 0.8 , " Maximum pseudorapidiy for charged track" };
104+ Configurable<float > cfgTrackEtaMax{" cfgTrackEtaMax" , 0.8 , " Maximum pseudorapidity for charged track" };
105105 Configurable<float > cfgTrackRapMin{" cfgTrackRapMin" , -0.5 , " Minimum rapidity for pair" };
106106 Configurable<float > cfgTrackRapMax{" cfgTrackRapMax" , 0.5 , " Maximum rapidity for pair" };
107107
@@ -111,8 +111,8 @@ struct F0980pbpbanalysis {
111111
112112 Configurable<double > cfgTrackTPCCrossedRows{" cfgTrackTPCCrossedRows" , 70 , " nCrossed TPC Rows" };
113113 Configurable<double > cfgTrackTPCFindableClusters{" cfgTrackTPCFindableClusters" , 50 , " nFindable TPC Clusters" };
114- Configurable<double > cfgTrackTPCRRaioMin {" cfgTrackTPCRatioMin" , 0.8 , " Minimum nRowsOverFindable TPC CLusters " };
115- Configurable<double > cfgTrackTPCRRaioMax {" cfgTrackTPCRatioMax" , 1.2 , " Maximum nRowsOverFindable TPC CLusters " };
114+ Configurable<double > cfgTrackTPCRatioMin {" cfgTrackTPCRatioMin" , 0.8 , " Minimum nRowsOverFindable TPC Clusters " };
115+ Configurable<double > cfgTrackTPCRatioMax {" cfgTrackTPCRatioMax" , 1.2 , " Maximum nRowsOverFindable TPC Clusters " };
116116 Configurable<double > cfgTrackTPCChi2{" cfgTrackTPCChi2" , 4.0 , " nTPC Chi2 per Cluster" };
117117
118118 Configurable<double > cfgTrackITSChi2{" cfgTrackITSChi2" , 36.0 , " nITS Chi2 per Cluster" };
@@ -472,7 +472,7 @@ struct F0980pbpbanalysis {
472472 if (TrackConfig.cfgTrackTPCCrossedRows > 0 && track.tpcNClsCrossedRows () < TrackConfig.cfgTrackTPCCrossedRows ) {
473473 return 0 ;
474474 }
475- if (TrackConfig.cfgTrackTPCRRaioMin > 0 && track.tpcCrossedRowsOverFindableCls () < TrackConfig.cfgTrackTPCRRaioMin ) {
475+ if (TrackConfig.cfgTrackTPCRatioMin > 0 && track.tpcCrossedRowsOverFindableCls () < TrackConfig.cfgTrackTPCRatioMin ) {
476476 return 0 ;
477477 }
478478 if (TrackConfig.cfgTrackTPCChi2 > 0 && track.tpcChi2NCl () > TrackConfig.cfgTrackTPCChi2 ) {
@@ -493,15 +493,15 @@ struct F0980pbpbanalysis {
493493 return 0 ;
494494 }
495495 }
496- // if (cfgTrackDCAzDepPTSel) {
497- // if (std::abs(track.dcaZ()) > (cfgTrackDCAzDepPTP0 + (cfgTrackDCAzDepPTExp / track.pt()))) {
498- // return 0;
499- // }
500- // } else {
501- // if (std::abs(track.dcaZ()) > cfgTrackDCAzToPVcutMax) {
502- // return 0;
503- // }
504- // }
496+ if (TrackConfig. cfgTrackDCAzDepPTSel ) {
497+ if (std::abs (track.dcaZ ()) > (TrackConfig. cfgTrackDCAzDepPTP0 + (TrackConfig. cfgTrackDCAzDepPTExp / track.pt ()))) {
498+ return 0 ;
499+ }
500+ } else {
501+ if (std::abs (track.dcaZ ()) > TrackConfig. cfgTrackDCAzToPVcutMax ) {
502+ return 0 ;
503+ }
504+ }
505505 if (QAConfig.cfgQATrackFlowCut && QA)
506506 histos.fill (HIST (" TrackQA/hnTracks" ), 5 ); // DCA cuts
507507 // Primary Track
@@ -514,7 +514,7 @@ struct F0980pbpbanalysis {
514514 if (TrackConfig.cfgTrackTPCFindableClusters > 0 && track.tpcNClsFindable () < TrackConfig.cfgTrackTPCFindableClusters ) {
515515 return 0 ;
516516 }
517- if (TrackConfig.cfgTrackTPCRRaioMax > 0 && track.tpcCrossedRowsOverFindableCls () > TrackConfig.cfgTrackTPCRRaioMax ) {
517+ if (TrackConfig.cfgTrackTPCRatioMax > 0 && track.tpcCrossedRowsOverFindableCls () > TrackConfig.cfgTrackTPCRatioMax ) {
518518 return 0 ;
519519 }
520520 if (QAConfig.cfgQATrackFlowCut && QA)
@@ -814,7 +814,7 @@ struct F0980pbpbanalysis {
814814 histos.add (" TrackQA/TPCChi2_BC" , " " , kTH1F , {{200 , 0 , 100 }});
815815 histos.add (" TrackQA/ITSChi2_BC" , " " , kTH1F , {{200 , 0 , 100 }});
816816 //
817- histos.add (" TrackQA/DCArToPv_AC" , " " , {HistType::kTH1F , {histAxisDCAz }});
817+ histos.add (" TrackQA/DCArToPv_AC" , " " , {HistType::kTH1F , {histAxisDCAr }});
818818 histos.add (" TrackQA/DCAzToPv_AC" , " " , {HistType::kTH1F , {histAxisDCAz}});
819819 histos.add (" TrackQA/DCArVsPT_AC" , " " , {HistType::kTH2F , {qaPtAxis, histAxisDCAr}});
820820 histos.add (" TrackQA/DCAzVsPT_AC" , " " , {HistType::kTH2F , {qaPtAxis, histAxisDCAz}});
@@ -829,12 +829,12 @@ struct F0980pbpbanalysis {
829829 }
830830
831831 // PID QA
832- histos.add (" PI1DQA /Nsigma_TPC_BC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
833- histos.add (" PI1DQA /Nsigma_TOF_BC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
834- histos.add (" PI1DQA /TPC_TOF_BC" , " " , {HistType::kTH2F , {qaPIDAxis, qaPIDAxis}});
832+ histos.add (" PIDQA /Nsigma_TPC_BC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
833+ histos.add (" PIDQA /Nsigma_TOF_BC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
834+ histos.add (" PIDQA /TPC_TOF_BC" , " " , {HistType::kTH2F , {qaPIDAxis, qaPIDAxis}});
835835 //
836- histos.add (" PI1DQA /Nsigma_TPC_AC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
837- histos.add (" PI1DQA /Nsigma_TOF_AC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
836+ histos.add (" PIDQA /Nsigma_TPC_AC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
837+ histos.add (" PIDQA /Nsigma_TOF_AC" , " " , {HistType::kTH2F , {qaPtAxis, qaPIDAxis}});
838838 histos.add (" PIDQA/TPC_TOF_AC" , " " , {HistType::kTH2F , {qaPIDAxis, qaPIDAxis}});
839839 //
840840 // histos.add("PIDQA/Nsigma_TPC_selected", "", {HistType::kTH2F, {qaPtAxis, qaPIDAxis}});
@@ -901,7 +901,7 @@ struct F0980pbpbanalysis {
901901 // Track Flow Histograms
902902 if (QAConfig.cfgQATrackFlowCut ) {
903903 histos.add (" TrackQA/hnTracks" , " Track selection steps" , {HistType::kTH1F , {{8 , -0.5 , 7.5 }}});
904- std::shared_ptr<TH1> hTracksCutFlow = histos.get <TH1>(HIST (" TrackQA/hnTracks: " ));
904+ std::shared_ptr<TH1> hTracksCutFlow = histos.get <TH1>(HIST (" TrackQA/hnTracks" ));
905905 std::vector<std::string> trackCutLabels = {
906906 " All Tracks" ,
907907 " Kinematic" ,
0 commit comments