@@ -70,7 +70,7 @@ class FemtoUniverseParticleHisto
7070
7171 // comment
7272 template <o2::aod::femtouniverse_mc_particle::MCType mc, typename T>
73- void init_debug (std::string folderName, T& tempFitVarpTAxis ) // o2-linter: disable=name/function-variable
73+ void init_debug (std::string folderName, T& tempFitVarMomAxis ) // o2-linter: disable=name/function-variable
7474 {
7575 std::string folderSuffix = static_cast <std::string>(o2::aod::femtouniverse_mc_particle::MCTypeName[mc]).c_str ();
7676 if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kTrack || mParticleType == o2::aod::femtouniverseparticle::ParticleType::kV0Child || mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascadeBachelor || mParticleType == o2::aod::femtouniverseparticle::ParticleType::kMCTruthTrack ) {
@@ -86,22 +86,22 @@ class FemtoUniverseParticleHisto
8686 mHistogramRegistry ->add ((folderName + folderSuffix + " /hITSclustersIB" ).c_str (), " ; ITS clusters in IB; Entries" , kTH1F , {{10 , -0.5 , 9.5 }});
8787 mHistogramRegistry ->add ((folderName + folderSuffix + " /hDCAz" ).c_str (), " ; #it{p}_{T} (GeV/#it{c}); DCA_{z} (cm)" , kTH2F , {{100 , 0 , 10 }, {500 , -5 , 5 }});
8888 mHistogramRegistry ->add ((folderName + folderSuffix + " /hDCA" ).c_str (), " ; #it{p}_{T} (GeV/#it{c}); DCA (cm)" , kTH2F , {{100 , 0 , 10 }, {301 , 0 ., 1.5 }});
89- mHistogramRegistry ->add ((folderName + folderSuffix + " /hTPCdEdX" ).c_str (), " ; #it{p} (GeV/#it{c}); TPC Signal" , kTH2F , {{tempFitVarpTAxis }, {1000 , 0 , 1000 }});
90- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_el" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{e}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
91- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_pi" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{#pi}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
92- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_K" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{K}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
93- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_p" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{p}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
94- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_d" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{d}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
95- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_el" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{e}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
96- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_pi" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{#pi}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
97- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_K" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{K}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
98- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_p" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{p}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
99- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_d" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{d}" , kTH2F , {{tempFitVarpTAxis }, {200 , -4.975 , 5.025 }});
100- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_el" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{e}" , kTH2F , {{tempFitVarpTAxis }, {100 , 0 , 5 }});
101- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_pi" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{#pi}" , kTH2F , {{tempFitVarpTAxis }, {100 , 0 , 5 }});
102- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_K" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{K}" , kTH2F , {{tempFitVarpTAxis }, {100 , 0 , 5 }});
103- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_p" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{p}" , kTH2F , {{tempFitVarpTAxis }, {100 , 0 , 5 }});
104- mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_d" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{d}" , kTH2F , {{tempFitVarpTAxis }, {100 , 0 , 5 }});
89+ mHistogramRegistry ->add ((folderName + folderSuffix + " /hTPCdEdX" ).c_str (), " ; #it{p} (GeV/#it{c}); TPC Signal" , kTH2F , {{tempFitVarMomAxis }, {1000 , 0 , 1000 }});
90+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_el" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{e}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
91+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_pi" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{#pi}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
92+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_K" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{K}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
93+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_p" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{p}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
94+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTPC_d" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TPC}^{d}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
95+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_el" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{e}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
96+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_pi" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{#pi}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
97+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_K" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{K}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
98+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_p" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{p}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
99+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaTOF_d" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{TOF}^{d}" , kTH2F , {{tempFitVarMomAxis }, {200 , -4.975 , 5.025 }});
100+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_el" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{e}" , kTH2F , {{tempFitVarMomAxis }, {100 , 0 , 5 }});
101+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_pi" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{#pi}" , kTH2F , {{tempFitVarMomAxis }, {100 , 0 , 5 }});
102+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_K" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{K}" , kTH2F , {{tempFitVarMomAxis }, {100 , 0 , 5 }});
103+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_p" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{p}" , kTH2F , {{tempFitVarMomAxis }, {100 , 0 , 5 }});
104+ mHistogramRegistry ->add ((folderName + folderSuffix + " /nSigmaComb_d" ).c_str (), " ; #it{p} (GeV/#it{c}); n#sigma_{comb}^{d}" , kTH2F , {{tempFitVarMomAxis }, {100 , 0 , 5 }});
105105 } else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kV0 ) {
106106 mHistogramRegistry ->add ((folderName + folderSuffix + " /hDaughDCA" ).c_str (), " ; DCA^{daugh} (cm); Entries" , kTH1F , {{1000 , 0 , 10 }});
107107 mHistogramRegistry ->add ((folderName + folderSuffix + " /hTransRadius" ).c_str (), " ; #it{r}_{xy} (cm); Entries" , kTH1F , {{1500 , 0 , 150 }});
@@ -238,6 +238,7 @@ class FemtoUniverseParticleHisto
238238 }
239239
240240 framework::AxisSpec tempFitVarpTAxis = {tempFitVarpTBins, " #it{p}_{T} (GeV/#it{c})" }; // the pT binning may vary
241+ framework::AxisSpec tempFitVarMomAxis = {tempFitVarpTBins, " #it{p} (GeV/#it{c})" }; // the p binning
241242 framework::AxisSpec tempFitVarAxis = {tempFitVarBins, tempFitVarAxisTitle};
242243
243244 // std::string folderName = (static_cast<std::string>(o2::aod::femtouniverseparticle::ParticleTypeName[mParticleType]).c_str() + static_cast<std::string>(mFolderSuffix[mFolderSuffixType])).c_str();
@@ -246,7 +247,7 @@ class FemtoUniverseParticleHisto
246247 // Fill here the actual histogramms by calling init_base and init_MC
247248 init_base<o2::aod::femtouniverse_mc_particle::MCType::kRecon >(folderName, tempFitVarAxisTitle, tempFitVarpTAxis, tempFitVarAxis);
248249 if (isDebug) {
249- init_debug<o2::aod::femtouniverse_mc_particle::MCType::kRecon >(folderName, tempFitVarpTAxis );
250+ init_debug<o2::aod::femtouniverse_mc_particle::MCType::kRecon >(folderName, tempFitVarMomAxis );
250251 }
251252 if (isMC) {
252253 init_base<o2::aod::femtouniverse_mc_particle::MCType::kTruth >(folderName, tempFitVarAxisTitle, tempFitVarpTAxis, tempFitVarAxis);
0 commit comments