@@ -365,13 +365,13 @@ struct HadronNucleiCorrelation {
365365 }
366366 }
367367
368+ const AxisSpec dcaPtAxis = {100 , 0 .f , 10 .f , " #it{p}_{T} GeV/#it{c}" };
368369 if (doprocessSameEvent || doprocessSameEventEvSel || doprocessMC) {
369370 const AxisSpec dcaXyAxis = {600 , -3 .f , 3 .f , " DCA xy (cm)" };
370- const AxisSpec ptAxis = {100 , 0 .f , 10 .f , " #it{p}_{T} GeV/#it{c}" };
371- registry.add (" hPrDCAxy" , " DCAxy p" , {HistType::kTH2D , {dcaXyAxis, ptAxis}});
372- registry.add (" hAntiPrDCAxy" , " DCAxy #bar{p}" , {HistType::kTH2D , {dcaXyAxis, ptAxis}});
373- registry.add (" hDeDCAxy" , " DCAxy d" , {HistType::kTH2D , {dcaXyAxis, ptAxis}});
374- registry.add (" hAntiDeDCAxy" , " DCAxy #bar{d}" , {HistType::kTH2D , {dcaXyAxis, ptAxis}});
371+ registry.add (" hPrDCAxy" , " DCAxy p" , {HistType::kTH2D , {dcaXyAxis, dcaPtAxis}});
372+ registry.add (" hAntiPrDCAxy" , " DCAxy #bar{p}" , {HistType::kTH2D , {dcaXyAxis, dcaPtAxis}});
373+ registry.add (" hDeDCAxy" , " DCAxy d" , {HistType::kTH2D , {dcaXyAxis, dcaPtAxis}});
374+ registry.add (" hAntiDeDCAxy" , " DCAxy #bar{d}" , {HistType::kTH2D , {dcaXyAxis, dcaPtAxis}});
375375 }
376376 registry.add (" hMult" , " multiplicity" , {HistType::kTH1D , {{200 , 0 .f , 200 .f , " N_{ch}" }}});
377377
@@ -382,7 +382,6 @@ struct HadronNucleiCorrelation {
382382 if (doQA && (doprocessSameEvent || doprocessSameEventEvSel || doprocessMC)) {
383383 const AxisSpec dcaXyAxis = {200 , -0 .2f , 0 .2f , " DCA xy (cm)" };
384384 const AxisSpec dcaZAxis = {200 , -0 .2f , 0 .2f , " DCA z (cm)" };
385- const AxisSpec ptAxis = {100 , 0 .f , 10 .f , " #it{p}_{T} GeV/#it{c}" };
386385
387386 // Track QA
388387 registryQa.add (" QA/hVtxZ_trk" , " #it{z}_{vtx}" , {HistType::kTH1D , {{150 , -15 .f , 15 .f , " #it{z}_{vtx} (cm)" }}});
@@ -391,8 +390,8 @@ struct HadronNucleiCorrelation {
391390 registryQa.add (" QA/hTPCchi2" , " TPC chi2/Ncls; TPC chi2/Ncls" , {HistType::kTH1D , {{100 , 0 .f , 10 .f }}});
392391 registryQa.add (" QA/hTPCcrossedRowsOverFindableCls" , " TPC crossed Rows Over Findable Cls; TPC Crossed Rows Over Findable Cls" , {HistType::kTH1D , {{100 , 0 .f , 2 .f }}});
393392 registryQa.add (" QA/hITSchi2" , " ITS chi2/Ncls; ITS chi2/Ncls" , {HistType::kTH1D , {{100 , 0 .f , 20 .f }}});
394- registryQa.add (" QA/hDCAxy" , " DCAxy" , {HistType::kTH2D , {dcaXyAxis, ptAxis }});
395- registryQa.add (" QA/hDCAz" , " DCAz" , {HistType::kTH2D , {dcaZAxis, ptAxis }});
393+ registryQa.add (" QA/hDCAxy" , " DCAxy" , {HistType::kTH2D , {dcaXyAxis, dcaPtAxis }});
394+ registryQa.add (" QA/hDCAz" , " DCAz" , {HistType::kTH2D , {dcaZAxis, dcaPtAxis }});
396395 registryQa.add (" QA/TPCChi2VsPZ" , " TPCChi2VsPZ" , {HistType::kTH2D , {{100 , 0 .f , 10 .f , " p_{TPC}/Z (GeV/c)" }, {120 , 0 .f , 6 .f , " TPC Chi2" }}});
397396 registryQa.add (" QA/h3dTPCTOF_Pr" , " n#sigma TPC vs n#sigma TOF" , {HistType::kTH3D , {tpcNSigmaAxis, tofNSigmaAxis, ptAxis}});
398397 registryQa.add (" QA/h3dTPCTOF_AntiPr" , " n#sigma TPC vs n#sigma TOF" , {HistType::kTH3D , {tpcNSigmaAxis, tofNSigmaAxis, ptAxis}});
0 commit comments