@@ -107,7 +107,9 @@ class FemtoUniverseParticleHisto
107107 mHistogramRegistry ->add ((folderName + folderSuffix + " /hDecayVtxY" ).c_str (), " ; #it{Vtx}_{y} (cm)); Entries" , kTH1F , {{2000 , 0 , 200 }});
108108 mHistogramRegistry ->add ((folderName + folderSuffix + " /hDecayVtxZ" ).c_str (), " ; #it{Vtx}_{z} (cm); Entries" , kTH1F , {{2000 , 0 , 200 }});
109109 mHistogramRegistry ->add ((folderName + folderSuffix + " /hInvMassLambda" ).c_str (), " ; M_{#Lambda}; Entries" , kTH1F , {{2000 , 1 .f , 3 .f }});
110+ mHistogramRegistry ->add ((folderName + folderSuffix + " /hInvMassLambdaVsPt" ).c_str (), " ; #it{p}_{T} (GeV/#it{c}); M_{#Lambda}; Entries" , kTH2F , {{240 , 0 , 6 }, {2000 , 1 .f , 3 .f }});
110111 mHistogramRegistry ->add ((folderName + folderSuffix + " /hInvMassAntiLambda" ).c_str (), " ; M_{#bar{#Lambda}}; Entries" , kTH1F , {{2000 , 1 .f , 3 .f }});
112+ mHistogramRegistry ->add ((folderName + folderSuffix + " /hInvMassAntiLambdaVsPt" ).c_str (), " ; #it{p}_{T} (GeV/#it{c}); M_{#Lambda}; Entries" , kTH2F , {{240 , 0 , 6 }, {2000 , 1 .f , 3 .f }});
111113 mHistogramRegistry ->add ((folderName + folderSuffix + " /hInvMassLambdaAntiLambda" ).c_str (), " ; M_{#Lambda}; M_{#bar{#Lambda}}" , kTH2F , {{2000 , 1 .f , 3 .f }, {2000 , 1 .f , 3 .f }});
112114 } else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascade ) {
113115 mHistogramRegistry ->add ((folderName + folderSuffix + " /hDaughDCA" ).c_str (), " ; DCA^{daugh} (cm); Entries" , kTH1F , {{1000 , 0 , 10 }});
@@ -282,7 +284,9 @@ class FemtoUniverseParticleHisto
282284 mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hDecayVtxY" ), part.decayVtxY ());
283285 mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hDecayVtxZ" ), part.decayVtxZ ());
284286 mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hInvMassLambda" ), part.mLambda ());
287+ mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hInvMassLambdaVsPt" ), part.pt (), part.mLambda ());
285288 mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hInvMassAntiLambda" ), part.mAntiLambda ());
289+ mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hInvMassAntiLambdaVsPt" ), part.pt (), part.mAntiLambda ());
286290 mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hInvMassLambdaAntiLambda" ), part.mLambda (), part.mAntiLambda ());
287291 } else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascade ) {
288292 mHistogramRegistry ->fill (histFolder + HIST (o2::aod::femtouniverse_mc_particle::MCTypeName[mc]) + HIST (" /hDaughDCA" ), part.daughDCA ());
@@ -367,26 +371,26 @@ class FemtoUniverseParticleHisto
367371 if (mHistogramRegistry ) {
368372 if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kTrack ) {
369373 if (confPDG == mConfPDGCodePart [0 ]) {
370- PDGbin = 0 ;
374+ binPDG = 0 ;
371375 } else if (confPDG == mConfPDGCodePart [1 ]) {
372- PDGbin = 1 ;
376+ binPDG = 1 ;
373377 } else if (confPDG == mConfPDGCodePart [2 ]) {
374- PDGbin = 2 ;
378+ binPDG = 2 ; // o2-linter: disable=pdg/explicit-code
375379 } else {
376- PDGbin = 3 ;
380+ binPDG = 3 ; // o2-linter: disable=pdg/explicit-code
377381 }
378382 if (std::abs (pdgcode) == 211 ) {
379383 mHistogramRegistry ->fill (histFolder + HIST (" _MC/hMisidentification" ),
380- PDGbin , 0 , part.pt ());
384+ binPDG , 0 , part.pt ());
381385 } else if (std::abs (pdgcode) == 321 ) {
382386 mHistogramRegistry ->fill (histFolder + HIST (" _MC/hMisidentification" ),
383- PDGbin , 1 , part.pt ());
387+ binPDG , 1 , part.pt ());
384388 } else if (std::abs (pdgcode) == 2212 ) {
385389 mHistogramRegistry ->fill (histFolder + HIST (" _MC/hMisidentification" ),
386- PDGbin , 2 , part.pt ());
390+ binPDG , 2 , part.pt ());
387391 } else {
388392 mHistogramRegistry ->fill (histFolder + HIST (" _MC/hMisidentification" ),
389- PDGbin , 3 , part.pt ());
393+ binPDG , 3 , part.pt ());
390394 }
391395 }
392396 } else {
@@ -458,7 +462,7 @@ class FemtoUniverseParticleHisto
458462 static constexpr std::string_view mFolderSuffix [5 ] = {" " , " _one" , " _two" , " _pos" , " _neg" }; // /< Suffix for the folder name in case of analyses of pairs of the same kind (T-T, V-V, C-C) // o2-linter: disable=name/constexpr-constant
459463 int mConfPDGCodePart [4 ] = {211 , 321 , 2212 , 9999 }; // /< PDG code as per analysis
460464 int mPDG = 0 ; // /< PDG code of the selected particle
461- int PDGbin = 0 ;
465+ int binPDG = 0 ;
462466};
463467} // namespace o2::analysis::femto_universe
464468
0 commit comments