diff --git a/DPG/Tasks/AOTTrack/PID/qaPIDTPC.cxx b/DPG/Tasks/AOTTrack/PID/qaPIDTPC.cxx index 9bf188fa6c2..c9a671433e9 100644 --- a/DPG/Tasks/AOTTrack/PID/qaPIDTPC.cxx +++ b/DPG/Tasks/AOTTrack/PID/qaPIDTPC.cxx @@ -102,8 +102,8 @@ struct tpcPidQa { Configurable splitSignalPerCharge{"splitSignalPerCharge", true, "Split the signal per charge (reduces memory footprint if off)"}; Configurable enableDeDxPlot{"enableDeDxPlot", true, "Enables the dEdx plot (reduces memory footprint if off)"}; Configurable minTPCNcls{"minTPCNcls", 0, "Minimum number or TPC Clusters for tracks"}; - ConfigurableAxis tpcNclsBins{"tpcNclsBins", {16, 0, 160}, "Bining in number of cluster in TPC" }; - Configurable flagFourDemensionQA{"flagFourDemensionQA",false, "Flag to check the four dimension QA"}; + ConfigurableAxis tpcNclsBins{"tpcNclsBins", {16, 0, 160}, "Bining in number of cluster in TPC"}; + Configurable flagFourDemensionQA{"flagFourDemensionQA", false, "Flag to check the four dimension QA"}; template void initPerParticle(const AxisSpec& pAxis, @@ -185,12 +185,12 @@ struct tpcPidQa { const AxisSpec etaAxis{etaBins, "#it{#eta}"}; const AxisSpec tpcnclsAxis{tpcNclsBins, "TPC #cls"}; - + HistogramConfigSpec defaultParticleHists{HistType::kTHnSparseF, {pAxis, etaAxis, nSigmaAxis, tpcnclsAxis}}; - if(flagFourDemensionQA){ + if (flagFourDemensionQA) { histos.add(hnsigma_eta[id].data(), axisTitle, defaultParticleHists); } - + if (!enableTOFHistos) { // Returning if the plots with TOF are not requested return; } @@ -202,11 +202,11 @@ struct tpcPidQa { histos.add(hexpsigma_wTOF[id].data(), "With TOF", kTH2F, {pAxis, expSigmaAxis}); histos.add(hnsigma_wTOF[id].data(), Form("With TOF %s", axisTitle), kTH2F, {pAxis, nSigmaAxis}); - HistogramConfigSpec defaultParticleHists_wTOF{HistType::kTHnSparseF, {pAxis, etaAxis, nSigmaAxis, tpcnclsAxis} }; - if(flagFourDemensionQA){ + HistogramConfigSpec defaultParticleHists_wTOF{HistType::kTHnSparseF, {pAxis, etaAxis, nSigmaAxis, tpcnclsAxis}}; + if (flagFourDemensionQA) { histos.add(hnsigma_eta_wTOF[id].data(), Form("With TOF %s", axisTitle), defaultParticleHists_wTOF); } - + if (splitSignalPerCharge) { histos.add(hnsigma_pt_wTOF[id].data(), Form("With TOF %s", axisTitle), kTH3F, {ptAxis, nSigmaAxis, chargeAxis}); histos.add(hsignal_wTOF[id].data(), "With TOF", kTH3F, {pAxis, dedxAxis, chargeAxis}); @@ -408,7 +408,7 @@ struct tpcPidQa { // Fill histograms histos.fill(HIST(hexpected[id]), t.tpcInnerParam(), t.tpcSignal() - diff); histos.fill(HIST(hdelta[id]), t.tpcInnerParam(), diff); - if(flagFourDemensionQA){ + if (flagFourDemensionQA) { histos.fill(HIST(hnsigma_eta[id]), t.p(), t.eta(), nsigma, t.tpcNClsFindable()); } if (splitSignalPerCharge) { @@ -429,7 +429,7 @@ struct tpcPidQa { const auto& nsigmatof = o2::aod::pidutils::tofNSigma(t); if (std::abs(nsigmatof) < 3.f) { histos.fill(HIST(hnsigma_wTOF[id]), t.p(), nsigma); - if(flagFourDemensionQA){ + if (flagFourDemensionQA) { histos.fill(HIST(hnsigma_eta_wTOF[id]), t.p(), t.eta(), nsigma, t.tpcNClsFindable()); } if (splitSignalPerCharge) {