diff --git a/PWGJE/Tasks/jetHadronsPid.cxx b/PWGJE/Tasks/jetHadronsPid.cxx index e2522ef9c23..63f689a0e1a 100644 --- a/PWGJE/Tasks/jetHadronsPid.cxx +++ b/PWGJE/Tasks/jetHadronsPid.cxx @@ -81,6 +81,7 @@ struct JetHadronsPid { HistogramRegistry registryData{"registryData", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; HistogramRegistry registryMC{"registryMC", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; + HistogramRegistry registryMCJets{"registryMCJets", {}, OutputObjHandlingPolicy::AnalysisObject, true, true}; Configurable eventSelections{"eventSelections", "sel8+NoITSROFrameBorder+NoTimeFrameBorder+NoSameBunchPileup+IsGoodZvtxFT0vsPV", "choose event selection"}; std::vector eventSelectionBits; @@ -97,6 +98,7 @@ struct JetHadronsPid { Configurable minJetPt{"minJetPt", 10, "Minimum pt of the jet"}; Configurable maxJetPt{"maxJetPt", 1e+06, "Maximum pt of the jet"}; + Configurable useSubtractedJetPt{"useSubtractedJetPt", false, "Use rho*area subtracted jet pt for jet selection, jet pt axes"}; Configurable rJet{"rJet", 0.4, "Jet resolution parameter R"}; Configurable zVtx{"zVtx", 10.0, "Maximum zVertex"}; Configurable applyAreaCut{"applyAreaCut", false, "apply area cut"}; @@ -186,6 +188,8 @@ struct JetHadronsPid { o2::aod::ITSResponse itsResponse; Preslice tracksPerCollision = aod::track::collisionId; + Preslice mcTracksPerCollision = aod::track::collisionId; + Preslice jetParticlesPerMcCollision = aod::jmcparticle::mcCollisionId; Preslice mcParticlesPerCollision = aod::mcparticle::mcCollisionId; Preslice mcpJetsPerMcCollision = aod::jet::mcCollisionId; @@ -197,6 +201,10 @@ struct JetHadronsPid { eventSelectionBits = jetderiveddatautilities::initialiseEventSelectionBits(eventSelections); + // --- QA: cut flow --- + registryData.add("qa/event_cuts", "Events surviving each cut (in code order);cut step", HistType::kTHnSparseF, {{9, -0.5, 8.5, "cut step"}}); + registryData.add("qa/track_cuts", "Tracks surviving each cut (in code order);cut step;#it{p}_{T} (GeV/#it{c})", HistType::kTHnSparseF, {{15, -0.5, 14.5, "cut step"}, {50, 0., 5., "#it{p}_{T} (GeV/#it{c})"}}); + // --- DATA: PURE TRACKS --- registryData.add("data/pure/general/tpc_signal_vs_p", "TPC n#sigma_{#pi} vs transverse momentum ;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); registryData.add("data/pure/general/tof_beta_vs_p", "TOF #beta vs momentum;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); @@ -216,6 +224,7 @@ struct JetHadronsPid { registryData.add("data/pure/pions/pos/pion_pure_pos_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/pure/pions/pos/pion_pure_pos_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/pure/pions/pos/pion_pure_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/pure/pions/pos/pion_pure_pos_pt", "Transverse-momentum distribution of PID-selected #pi^{+} candidates;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/pure/pions/pos/pion_pure_pos_eta", "Pseudorapidity distribution of PID-selected #pi^{+} candidates;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/pure/pions/pos/pion_pure_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{+} candidates;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -225,6 +234,7 @@ struct JetHadronsPid { registryData.add("data/pure/pions/neg/pion_pure_neg_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/pure/pions/neg/pion_pure_neg_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/pure/pions/neg/pion_pure_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/pure/pions/neg/pion_pure_neg_pt", "Transverse-momentum distribution of PID-selected #pi^{-} candidates;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/pure/pions/neg/pion_pure_neg_eta", "Pseudorapidity distribution of PID-selected #pi^{-} candidates;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/pure/pions/neg/pion_pure_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{-} candidates;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -247,6 +257,7 @@ struct JetHadronsPid { registryData.add("data/pure/kaons/pos/kaon_pure_pos_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/pure/kaons/pos/kaon_pure_pos_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/pure/kaons/pos/kaon_pure_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/pure/kaons/pos/kaon_pure_pos_pt", "Transverse-momentum distribution of PID-selected K^{+} candidates;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/pure/kaons/pos/kaon_pure_pos_eta", "Pseudorapidity distribution of PID-selected K^{+} candidates;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/pure/kaons/pos/kaon_pure_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{+} candidates;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -256,6 +267,7 @@ struct JetHadronsPid { registryData.add("data/pure/kaons/neg/kaon_pure_neg_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/pure/kaons/neg/kaon_pure_neg_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/pure/kaons/neg/kaon_pure_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/pure/kaons/neg/kaon_pure_neg_pt", "Transverse-momentum distribution of PID-selected K^{-} candidates;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/pure/kaons/neg/kaon_pure_neg_eta", "Pseudorapidity distribution of PID-selected K^{-} candidates;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/pure/kaons/neg/kaon_pure_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{-} candidates;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -278,6 +290,7 @@ struct JetHadronsPid { registryData.add("data/pure/protons/pos/proton_pure_pos_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected proton candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/pure/protons/pos/proton_pure_pos_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected proton candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/pure/protons/pos/proton_pure_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/pure/protons/pos/proton_pure_pos_pt", "Transverse-momentum distribution of PID-selected proton candidates;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/pure/protons/pos/proton_pure_pos_eta", "Pseudorapidity distribution of PID-selected proton candidates;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/pure/protons/pos/proton_pure_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected proton candidates;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -287,6 +300,7 @@ struct JetHadronsPid { registryData.add("data/pure/protons/neg/proton_pure_neg_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected antiproton candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/pure/protons/neg/proton_pure_neg_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected antiproton candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/pure/protons/neg/proton_pure_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/pure/protons/neg/proton_pure_neg_pt", "Transverse-momentum distribution of PID-selected antiproton candidates;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/pure/protons/neg/proton_pure_neg_eta", "Pseudorapidity distribution of PID-selected antiproton candidates;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/pure/protons/neg/proton_pure_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected antiproton candidates;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -364,6 +378,7 @@ struct JetHadronsPid { registryData.add("data/jets/pions/pos/pion_jet_pos_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/jets/pions/pos/pion_jet_pos_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/jets/pions/pos/pion_jet_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/jets/pions/pos/pion_jet_pos_pt", "Transverse-momentum distribution of PID-selected #pi^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/jets/pions/pos/pion_jet_pos_eta", "Pseudorapidity distribution of PID-selected #pi^{+} candidates in jets;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/jets/pions/pos/pion_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -372,6 +387,7 @@ struct JetHadronsPid { registryData.add("data/jets/pions/neg/pion_jet_neg_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/jets/pions/neg/pion_jet_neg_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/jets/pions/neg/pion_jet_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/jets/pions/neg/pion_jet_neg_pt", "Transverse-momentum distribution of PID-selected #pi^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/jets/pions/neg/pion_jet_neg_eta", "Pseudorapidity distribution of PID-selected #pi^{-} candidates in jets;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/jets/pions/neg/pion_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -392,6 +408,7 @@ struct JetHadronsPid { registryData.add("data/jets/kaons/pos/kaon_jet_pos_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/jets/kaons/pos/kaon_jet_pos_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/jets/kaons/pos/kaon_jet_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/jets/kaons/pos/kaon_jet_pos_pt", "Transverse-momentum distribution of PID-selected K^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/jets/kaons/pos/kaon_jet_pos_eta", "Pseudorapidity distribution of PID-selected K^{+} candidates in jets;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/jets/kaons/pos/kaon_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{+} candidates in jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -400,6 +417,7 @@ struct JetHadronsPid { registryData.add("data/jets/kaons/neg/kaon_jet_neg_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/jets/kaons/neg/kaon_jet_neg_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/jets/kaons/neg/kaon_jet_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/jets/kaons/neg/kaon_jet_neg_pt", "Transverse-momentum distribution of PID-selected K^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/jets/kaons/neg/kaon_jet_neg_eta", "Pseudorapidity distribution of PID-selected K^{-} candidates in jets;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/jets/kaons/neg/kaon_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{-} candidates in jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -420,6 +438,7 @@ struct JetHadronsPid { registryData.add("data/jets/protons/pos/proton_jet_pos_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/jets/protons/pos/proton_jet_pos_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/jets/protons/pos/proton_jet_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/jets/protons/pos/proton_jet_pos_pt", "Transverse-momentum distribution of PID-selected p candidates in jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/jets/protons/pos/proton_jet_pos_eta", "Pseudorapidity distribution of PID-selected p candidates in jets;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/jets/protons/pos/proton_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected p candidates in jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -428,6 +447,7 @@ struct JetHadronsPid { registryData.add("data/jets/protons/neg/proton_jet_neg_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryData.add("data/jets/protons/neg/proton_jet_neg_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryData.add("data/jets/protons/neg/proton_jet_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryData.add("data/jets/protons/neg/proton_jet_neg_pt", "Transverse-momentum distribution of PID-selected #bar{p} candidates in jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); registryData.add("data/jets/protons/neg/proton_jet_neg_eta", "Pseudorapidity distribution of PID-selected #bar{p} candidates in jets;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); registryData.add("data/jets/protons/neg/proton_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #bar{p} candidates in jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); @@ -446,72 +466,80 @@ struct JetHadronsPid { // --- DATA: UNDERLYING EVENT (UE) --- // Pions - registryData.add("data/ue/pions/pion_ue_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/pions/pion_ue_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryData.add("data/ue/pions/pion_ue_pt", "Transverse-momentum distribution of PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/pions/pion_ue_eta", "Pseudorapidity distribution of PID-selected pion candidates in UE;#eta;N_{#pi}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/pions/pion_ue_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/pions/pion_ue_dcaz", "DCA_{z} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - - registryData.add("data/ue/pions/pos/pion_ue_pos_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/pions/pos/pion_ue_pos_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/pions/pion_ue_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/pions/pion_ue_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/pions/pion_ue_pt", "Transverse-momentum distribution of PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); + // registryData.add("data/ue/pions/pion_ue_eta", "Pseudorapidity distribution of PID-selected pion candidates in UE;#eta;N_{#pi}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/pions/pion_ue_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/pions/pion_ue_dcaz", "DCA_{z} vs transverse momentum for PID-selected pion candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + + // registryData.add("data/ue/pions/pos/pion_ue_pos_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/pions/pos/pion_ue_pos_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); registryData.add("data/ue/pions/pos/pion_ue_pos_pt", "Transverse-momentum distribution of PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/pions/pos/pion_ue_pos_eta", "Pseudorapidity distribution of PID-selected #pi^{+} candidates in UE;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/pions/pos/pion_ue_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/pions/pos/pion_ue_pos_dcaz", "DCA_{z} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + // registryData.add("data/ue/pions/pos/pion_ue_pos_eta", "Pseudorapidity distribution of PID-selected #pi^{+} candidates in UE;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/pions/pos/pion_ue_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/pions/pos/pion_ue_pos_dcaz", "DCA_{z} vs transverse momentum for PID-selected #pi^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryData.add("data/ue/pions/neg/pion_ue_neg_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/pions/neg/pion_ue_neg_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryData.add("data/ue/pions/neg/pion_ue_neg_pt", "Transverse-momentum distribution of PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/pions/neg/pion_ue_neg_eta", "Pseudorapidity distribution of PID-selected #pi^{-} candidates in UE;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/pions/neg/pion_ue_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/pions/neg/pion_ue_neg_dcaz", "DCA_{z} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + // registryData.add("data/ue/pions/neg/pion_ue_neg_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/pions/neg/pion_ue_neg_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/pions/neg/pion_ue_neg_pt", "Transverse-momentum distribution of PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); + // registryData.add("data/ue/pions/neg/pion_ue_neg_eta", "Pseudorapidity distribution of PID-selected #pi^{-} candidates in UE;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/pions/neg/pion_ue_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/pions/neg/pion_ue_neg_dcaz", "DCA_{z} vs transverse momentum for PID-selected #pi^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); // Kaons - registryData.add("data/ue/kaons/kaon_ue_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/kaons/kaon_ue_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryData.add("data/ue/kaons/kaon_ue_pt", "Transverse-momentum distribution of PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/kaons/kaon_ue_eta", "Pseudorapidity distribution of PID-selected kaon candidates in UE;#eta;N_{K}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/kaons/kaon_ue_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/kaons/kaon_ue_dcaz", "DCA_{z} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - - registryData.add("data/ue/kaons/pos/kaon_ue_pos_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/kaons/pos/kaon_ue_pos_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/kaons/kaon_ue_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/kaons/kaon_ue_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/kaons/kaon_ue_pt", "Transverse-momentum distribution of PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); + // registryData.add("data/ue/kaons/kaon_ue_eta", "Pseudorapidity distribution of PID-selected kaon candidates in UE;#eta;N_{K}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/kaons/kaon_ue_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/kaons/kaon_ue_dcaz", "DCA_{z} vs transverse momentum for PID-selected kaon candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + + // registryData.add("data/ue/kaons/pos/kaon_ue_pos_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/kaons/pos/kaon_ue_pos_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); registryData.add("data/ue/kaons/pos/kaon_ue_pos_pt", "Transverse-momentum distribution of PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/kaons/pos/kaon_ue_pos_eta", "Pseudorapidity distribution of PID-selected K^{+} candidates in UE;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/kaons/pos/kaon_ue_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/kaons/pos/kaon_ue_pos_dcaz", "DCA_{z} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + // registryData.add("data/ue/kaons/pos/kaon_ue_pos_eta", "Pseudorapidity distribution of PID-selected K^{+} candidates in UE;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/kaons/pos/kaon_ue_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/kaons/pos/kaon_ue_pos_dcaz", "DCA_{z} vs transverse momentum for PID-selected K^{+} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryData.add("data/ue/kaons/neg/kaon_ue_neg_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/kaons/neg/kaon_ue_neg_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryData.add("data/ue/kaons/neg/kaon_ue_neg_pt", "Transverse-momentum distribution of PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/kaons/neg/kaon_ue_neg_eta", "Pseudorapidity distribution of PID-selected K^{-} candidates in UE;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/kaons/neg/kaon_ue_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/kaons/neg/kaon_ue_neg_dcaz", "DCA_{z} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + // registryData.add("data/ue/kaons/neg/kaon_ue_neg_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/kaons/neg/kaon_ue_neg_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/kaons/neg/kaon_ue_neg_pt", "Transverse-momentum distribution of PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); + // registryData.add("data/ue/kaons/neg/kaon_ue_neg_eta", "Pseudorapidity distribution of PID-selected K^{-} candidates in UE;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/kaons/neg/kaon_ue_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/kaons/neg/kaon_ue_neg_dcaz", "DCA_{z} vs transverse momentum for PID-selected K^{-} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); // Protons - registryData.add("data/ue/protons/proton_ue_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/protons/proton_ue_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryData.add("data/ue/protons/proton_ue_pt", "Transverse-momentum distribution of PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/protons/proton_ue_eta", "Pseudorapidity distribution of PID-selected proton candidates in UE;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/protons/proton_ue_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/protons/proton_ue_dcaz", "DCA_{z} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - - registryData.add("data/ue/protons/pos/proton_ue_pos_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/protons/pos/proton_ue_pos_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/protons/proton_ue_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/protons/proton_ue_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/protons/proton_ue_pt", "Transverse-momentum distribution of PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); + // registryData.add("data/ue/protons/proton_ue_eta", "Pseudorapidity distribution of PID-selected proton candidates in UE;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/protons/proton_ue_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/protons/proton_ue_dcaz", "DCA_{z} vs transverse momentum for PID-selected proton candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + + // registryData.add("data/ue/protons/pos/proton_ue_pos_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/protons/pos/proton_ue_pos_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); registryData.add("data/ue/protons/pos/proton_ue_pos_pt", "Transverse-momentum distribution of PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/protons/pos/proton_ue_pos_eta", "Pseudorapidity distribution of PID-selected p candidates in UE;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/protons/pos/proton_ue_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/protons/pos/proton_ue_pos_dcaz", "DCA_{z} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + // registryData.add("data/ue/protons/pos/proton_ue_pos_eta", "Pseudorapidity distribution of PID-selected p candidates in UE;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/protons/pos/proton_ue_pos_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/protons/pos/proton_ue_pos_dcaz", "DCA_{z} vs transverse momentum for PID-selected p candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + + // registryData.add("data/ue/protons/neg/proton_ue_neg_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + // registryData.add("data/ue/protons/neg/proton_ue_neg_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + // registryData.add("data/ue/protons/neg/proton_ue_neg_pt", "Transverse-momentum distribution of PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); + // registryData.add("data/ue/protons/neg/proton_ue_neg_eta", "Pseudorapidity distribution of PID-selected #bar{p} candidates in UE;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); + // registryData.add("data/ue/protons/neg/proton_ue_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + // registryData.add("data/ue/protons/neg/proton_ue_neg_dcaz", "DCA_{z} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryData.add("data/ue/protons/neg/proton_ue_neg_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryData.add("data/ue/protons/neg/proton_ue_neg_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryData.add("data/ue/protons/neg/proton_ue_neg_pt", "Transverse-momentum distribution of PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryData.add("data/ue/protons/neg/proton_ue_neg_eta", "Pseudorapidity distribution of PID-selected #bar{p} candidates in UE;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); - registryData.add("data/ue/protons/neg/proton_ue_neg_dcaxy", "DCA_{xy} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryData.add("data/ue/protons/neg/proton_ue_neg_dcaz", "DCA_{z} vs transverse momentum for PID-selected #bar{p} candidates in UE;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + // registryData.add("data/ue/general/tracks_n_in_ue", "Number of tracks in UE;N_{tracks};Counts", HistType::kTH1I, {{100, 0, 100, "N_{tracks}"}}); - registryData.add("data/ue/general/tracks_n_in_ue", "Number of tracks in UE;N_{tracks};Counts", HistType::kTH1I, {{100, 0, 100, "N_{tracks}"}}); + registryData.add("data/ue/pions/n_pions_per_cone_vs_jet_pt", "Multiplicity of PID-selected #pi^{#pm} per perpendicular cone vs jet #it{p}_{T};#it{p}_{T}^{jet} (GeV/#it{c});N_{#pi} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryData.add("data/ue/kaons/n_kaons_per_cone_vs_jet_pt", "Multiplicity of PID-selected K^{#pm} per perpendicular cone vs jet #it{p}_{T};#it{p}_{T}^{jet} (GeV/#it{c});N_{K} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryData.add("data/ue/protons/n_protons_per_cone_vs_jet_pt", "Multiplicity of PID-selected p+#bar{p} per perpendicular cone vs jet #it{p}_{T};#it{p}_{T}^{jet} (GeV/#it{c});N_{p+#bar{p}} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + + registryData.add("data/ue/pions/pion_pt_vs_jet_pt", "PID-selected #pi^{#pm} #it{p}_{T} in perpendicular cones vs jet #it{p}_{T};#it{p}_{T}^{jet} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryData.add("data/ue/kaons/kaon_pt_vs_jet_pt", "PID-selected K^{#pm} #it{p}_{T} in perpendicular cones vs jet #it{p}_{T};#it{p}_{T}^{jet} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryData.add("data/ue/protons/proton_pt_vs_jet_pt", "PID-selected p+#bar{p} #it{p}_{T} in perpendicular cones vs jet #it{p}_{T};#it{p}_{T}^{jet} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); // ========================================================================= // --- MC REGISTRY --- @@ -572,6 +600,10 @@ struct JetHadronsPid { registryMC.add("mc/matched/reconstruction/pions/pos/contamination_matrix_pion_pos", "PID #pi^{+} contamination matrix;PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisMCPdg, axis.axisPt}); registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_tpc", "TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{+};#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_tof", "TOF n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{+};#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{+};#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_tpc_true", "TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{+}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_tof_true", "TOF n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{+}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{+}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryMC.add("mc/matched/reconstruction/pions/pos/rec_pion_pos_tof_matched", "TOF-matched reconstructed #pi^{+};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/pions/pos/mc_rec_pion_pos_pt", "True primary #pi^{+};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/pions/pos/mc_sec_pion_pos_pt", "Secondary/fake #pi^{+};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); @@ -585,6 +617,10 @@ struct JetHadronsPid { registryMC.add("mc/matched/reconstruction/pions/neg/contamination_matrix_pion_neg", "PID #pi^{-} contamination matrix;PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisMCPdg, axis.axisPt}); registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_tpc", "TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{-};#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_tof", "TOF n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{-};#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{-};#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_tpc_true", "TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{-}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_tof_true", "TOF n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{-}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for reconstructed #pi^{-}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryMC.add("mc/matched/reconstruction/pions/neg/rec_pion_neg_tof_matched", "TOF-matched reconstructed #pi^{-};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/pions/neg/mc_rec_pion_neg_pt", "True primary #pi^{-};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/pions/neg/mc_sec_pion_neg_pt", "Secondary/fake #pi^{-};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); @@ -610,6 +646,10 @@ struct JetHadronsPid { registryMC.add("mc/matched/reconstruction/kaons/pos/contamination_matrix_kaon_pos", "PID K^{+} contamination matrix;PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisMCPdg, axis.axisPt}); registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tpc", "TPC n#sigma_{K} vs transverse momentum for reconstructed K^{+};#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tof", "TOF n#sigma_{K} vs transverse momentum for reconstructed K^{+};#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for reconstructed K^{+};#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tpc_true", "TPC n#sigma_{K} vs transverse momentum for reconstructed K^{+}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tof_true", "TOF n#sigma_{K} vs transverse momentum for reconstructed K^{+}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for reconstructed K^{+}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryMC.add("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tof_matched", "TOF-matched reconstructed K^{+};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/kaons/pos/mc_rec_kaon_pos_pt", "True primary K^{+};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/kaons/pos/mc_sec_kaon_pos_pt", "Secondary/fake K^{+};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); @@ -623,6 +663,10 @@ struct JetHadronsPid { registryMC.add("mc/matched/reconstruction/kaons/neg/contamination_matrix_kaon_neg", "PID K^{-} contamination matrix;PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisMCPdg, axis.axisPt}); registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tpc", "TPC n#sigma_{K} vs transverse momentum for reconstructed K^{-};#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tof", "TOF n#sigma_{K} vs transverse momentum for reconstructed K^{-};#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for reconstructed K^{-};#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tpc_true", "TPC n#sigma_{K} vs transverse momentum for reconstructed K^{-}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tof_true", "TOF n#sigma_{K} vs transverse momentum for reconstructed K^{-}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for reconstructed K^{-}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryMC.add("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tof_matched", "TOF-matched reconstructed K^{-};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/kaons/neg/mc_rec_kaon_neg_pt", "True primary K^{-};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/kaons/neg/mc_sec_kaon_neg_pt", "Secondary/fake K^{-};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); @@ -648,6 +692,10 @@ struct JetHadronsPid { registryMC.add("mc/matched/reconstruction/protons/pos/contamination_matrix_proton_pos", "PID p contamination matrix;PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisMCPdg, axis.axisPt}); registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_tpc", "TPC n#sigma_{p} vs transverse momentum for reconstructed p;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_tof", "TOF n#sigma_{p} vs transverse momentum for reconstructed p;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for reconstructed p;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_tpc_true", "TPC n#sigma_{p} vs transverse momentum for reconstructed p, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_tof_true", "TOF n#sigma_{p} vs transverse momentum for reconstructed p, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for reconstructed p, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryMC.add("mc/matched/reconstruction/protons/pos/rec_proton_pos_tof_matched", "TOF-matched reconstructed p;#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/protons/pos/mc_rec_proton_pos_pt", "True primary p;#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/protons/pos/mc_sec_proton_pos_pt", "Secondary/fake p;#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); @@ -661,6 +709,10 @@ struct JetHadronsPid { registryMC.add("mc/matched/reconstruction/protons/neg/contamination_matrix_proton_neg", "PID #bar{p} contamination matrix;PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisMCPdg, axis.axisPt}); registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_tpc", "TPC n#sigma_{p} vs transverse momentum for reconstructed #bar{p};#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_tof", "TOF n#sigma_{p} vs transverse momentum for reconstructed #bar{p};#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for reconstructed #bar{p};#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_tpc_true", "TPC n#sigma_{p} vs transverse momentum for reconstructed #bar{p}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_tof_true", "TOF n#sigma_{p} vs transverse momentum for reconstructed #bar{p}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for reconstructed #bar{p}, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); registryMC.add("mc/matched/reconstruction/protons/neg/rec_proton_neg_tof_matched", "TOF-matched reconstructed #bar{p};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/protons/neg/mc_rec_proton_neg_pt", "True primary #bar{p};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); registryMC.add("mc/matched/reconstruction/protons/neg/mc_sec_proton_neg_pt", "Secondary/fake #bar{p};#it{p}_{T} (GeV/#it{c});N", HistType::kTH1F, {axis.axisPt}); @@ -693,421 +745,473 @@ struct JetHadronsPid { // --- MC: TRUTH JETS (PARTICLE LEVEL) --- // General Jet QA - registryMC.add("mc/jets/truth/general/n_events", "Selected particle-level jet events;Event counter;N_{events}", HistType::kTH1I, {axis.axisEventCounter}); - registryMC.add("mc/jets/truth/general/n_events_raw", "All events", HistType::kTH1I, {axis.axisEventCounter}); - registryMC.add("mc/jets/truth/general/collision_multiplicity", "Number of particle-level jets in collision;Number of Jets;Number of Collisions", HistType::kTH1F, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/general/jet_pt", "Transverse-momentum distribution of particle-level charged jets;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); - registryMC.add("mc/jets/truth/general/jet_eta", "Pseudorapidity distribution of particle-level charged jets;#eta_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/truth/general/jet_phi", "Azimuthal-angle distribution of particle-level charged jets;#varphi_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisPhi}); - registryMC.add("mc/jets/truth/general/jet_n_constituents", "Constituent multiplicity of particle-level charged jets;N_{constituents}^{part};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - registryMC.add("mc/jets/truth/general/jet_area", "Area distribution of particle-level charged jets;A_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); - registryMC.add("mc/jets/truth/general/jet_n_selected_constituents", "Selected-particle multiplicity in particle-level charged jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - registryMC.add("mc/jets/truth/general/z_vtx", "Particle-level Z-vertex distribution;z_{vtx} (cm);N_{events}", HistType::kTH1F, {axis.axisZVtx}); - registryMC.add("mc/jets/truth/general/jet_pt_subtracted", "Particle-level jet #it{p}_{T} after background subtraction;#it{p}_{T,jet}^{part,sub} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetSubPt}); - registryMC.add("mc/jets/truth/general/jet_pt_raw_vs_sub", "Particle-level raw vs subtracted jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T,jet}^{part,sub} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisJetSubPt}); + registryMCJets.add("mc/jets/truth/general/n_events", "Selected particle-level jet events;Event counter;N_{events}", HistType::kTH1I, {axis.axisEventCounter}); + registryMCJets.add("mc/jets/truth/general/n_events_raw", "All events", HistType::kTH1I, {axis.axisEventCounter}); + registryMCJets.add("mc/jets/truth/general/collision_multiplicity", "Number of particle-level jets in collision;Number of Jets;Number of Collisions", HistType::kTH1F, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/general/jet_pt", "Transverse-momentum distribution of particle-level charged jets;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); + registryMCJets.add("mc/jets/truth/general/jet_eta", "Pseudorapidity distribution of particle-level charged jets;#eta_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/truth/general/jet_phi", "Azimuthal-angle distribution of particle-level charged jets;#varphi_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisPhi}); + registryMCJets.add("mc/jets/truth/general/jet_n_constituents", "Constituent multiplicity of particle-level charged jets;N_{constituents}^{part};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/truth/general/jet_area", "Area distribution of particle-level charged jets;A_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); + registryMCJets.add("mc/jets/truth/general/jet_n_selected_constituents", "Selected-particle multiplicity in particle-level charged jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/truth/general/z_vtx", "Particle-level Z-vertex distribution;z_{vtx} (cm);N_{events}", HistType::kTH1F, {axis.axisZVtx}); + registryMCJets.add("mc/jets/truth/general/jet_pt_subtracted", "Particle-level jet #it{p}_{T} after background subtraction;#it{p}_{T,jet}^{part,sub} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetSubPt}); + registryMCJets.add("mc/jets/truth/general/jet_pt_raw_vs_sub", "Particle-level raw vs subtracted jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T,jet}^{part,sub} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisJetSubPt}); // Pions - registryMC.add("mc/jets/truth/pions/n_pions_per_jet", "Multiplicity of generated #pi^{#pm} in particle-level jets;N_{#pi};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/pions/n_pions_vs_jet_pt", "Multiplicity of generated #pi^{#pm} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/truth/pions/mc_gen_pion_pt", "Transverse-momentum distribution of generated primary #pi^{#pm} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/pions/pos/n_pions_per_jet", "Multiplicity of generated #pi^{+} in particle-level jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/pions/pos/mc_gen_pion_pos_pt", "Transverse-momentum distribution of generated primary #pi^{+} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/pions/neg/n_pions_per_jet", "Multiplicity of generated #pi^{-} in particle-level jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/pions/neg/mc_gen_pion_neg_pt", "Transverse-momentum distribution of generated primary #pi^{-} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/pions/n_pions_per_jet", "Multiplicity of generated #pi^{#pm} in particle-level jets;N_{#pi};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/pions/n_pions_vs_jet_pt", "Multiplicity of generated #pi^{#pm} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/truth/pions/mc_gen_pion_pt", "Transverse-momentum distribution of generated primary #pi^{#pm} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/pions/pos/n_pions_per_jet", "Multiplicity of generated #pi^{+} in particle-level jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/pions/pos/mc_gen_pion_pos_pt", "Transverse-momentum distribution of generated primary #pi^{+} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/pions/neg/n_pions_per_jet", "Multiplicity of generated #pi^{-} in particle-level jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/pions/neg/mc_gen_pion_neg_pt", "Transverse-momentum distribution of generated primary #pi^{-} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); // Kaons - registryMC.add("mc/jets/truth/kaons/n_kaons_per_jet", "Multiplicity of generated K^{#pm} in particle-level jets;N_{K};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/kaons/n_kaons_vs_jet_pt", "Multiplicity of generated K^{#pm} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/truth/kaons/mc_gen_kaon_pt", "Transverse-momentum distribution of generated primary K^{#pm} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/kaons/pos/n_kaons_per_jet", "Multiplicity of generated K^{+} in particle-level jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/kaons/pos/mc_gen_kaon_pos_pt", "Transverse-momentum distribution of generated primary K^{+} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/kaons/neg/n_kaons_per_jet", "Multiplicity of generated K^{-} in particle-level jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/kaons/neg/mc_gen_kaon_neg_pt", "Transverse-momentum distribution of generated primary K^{-} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/kaons/n_kaons_per_jet", "Multiplicity of generated K^{#pm} in particle-level jets;N_{K};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/kaons/n_kaons_vs_jet_pt", "Multiplicity of generated K^{#pm} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/truth/kaons/mc_gen_kaon_pt", "Transverse-momentum distribution of generated primary K^{#pm} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/kaons/pos/n_kaons_per_jet", "Multiplicity of generated K^{+} in particle-level jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/kaons/pos/mc_gen_kaon_pos_pt", "Transverse-momentum distribution of generated primary K^{+} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/kaons/neg/n_kaons_per_jet", "Multiplicity of generated K^{-} in particle-level jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/kaons/neg/mc_gen_kaon_neg_pt", "Transverse-momentum distribution of generated primary K^{-} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); // Protons - registryMC.add("mc/jets/truth/protons/n_protons_per_jet", "Multiplicity of generated p+#bar{p} in particle-level jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/protons/n_protons_vs_jet_pt", "Multiplicity of generated p+#bar{p} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/truth/protons/mc_gen_proton_pt", "Transverse-momentum distribution of generated primary p+#bar{p} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/protons/pos/n_protons_per_jet", "Multiplicity of generated p in particle-level jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/protons/pos/mc_gen_proton_pos_pt", "Transverse-momentum distribution of generated primary p in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/protons/neg/n_protons_per_jet", "Multiplicity of generated #bar{p} in particle-level jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/truth/protons/neg/mc_gen_proton_neg_pt", "Transverse-momentum distribution of generated primary #bar{p} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/truth/composition/particle_multiplicity_per_jet", "Identified-particle multiplicity in particle-level jets;Particle species;N_{particles} per jet", HistType::kTH2I, {axis.axisParticleSpecies, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/protons/n_protons_per_jet", "Multiplicity of generated p+#bar{p} in particle-level jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/protons/n_protons_vs_jet_pt", "Multiplicity of generated p+#bar{p} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} vs particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/truth/protons/mc_gen_proton_pt", "Transverse-momentum distribution of generated primary p+#bar{p} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/protons/pos/n_protons_per_jet", "Multiplicity of generated p in particle-level jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/protons/pos/mc_gen_proton_pos_pt", "Transverse-momentum distribution of generated primary p in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/protons/neg/n_protons_per_jet", "Multiplicity of generated #bar{p} in particle-level jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/truth/protons/neg/mc_gen_proton_neg_pt", "Transverse-momentum distribution of generated primary #bar{p} in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/composition/particle_multiplicity_per_jet", "Identified-particle multiplicity in particle-level jets;Particle species;N_{particles} per jet", HistType::kTH2I, {axis.axisParticleSpecies, axis.axisMultiplicity}); // General Hadrons - registryMC.add("mc/jets/truth/hadrons/mc_gen_hadron_pt", "Transverse-momentum distribution of generated primary hadrons in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{hadrons}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/truth/hadrons/mc_gen_hadron_pt", "Transverse-momentum distribution of generated primary hadrons in particle-level jets;#it{p}_{T} (GeV/#it{c});N_{hadrons}", HistType::kTH1F, {axis.axisPt}); // --- MC: MATCHED RECONSTRUCTED JETS --- // General Jet QA - registryMC.add("mc/jets/matched/reconstructed/general/n_events", "Selected matched events with reconstructed charged jets;Event counter;N_{events}", HistType::kTH1I, {axis.axisEventCounter}); - registryMC.add("mc/jets/matched/reconstructed/general/n_events_raw", "All events", HistType::kTH1I, {axis.axisEventCounter}); - registryMC.add("mc/jets/matched/reconstructed/general/collision_multiplicity", "Number of matched jets in collision;Number of Jets;Number of Collisions", HistType::kTH1F, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_pt", "Transverse-momentum distribution of matched reconstructed charged jets;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_pt_subtracted", "Matched reconstructed jet #it{p}_{T} after background subtraction;#it{p}_{T,jet}^{rec,sub} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetSubPt}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_pt_raw_vs_sub", "Raw vs subtracted matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T,jet}^{rec,sub} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisJetSubPt}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_eta", "Pseudorapidity distribution of matched reconstructed charged jets;#eta_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_phi", "Azimuthal-angle distribution of matched reconstructed charged jets;#varphi_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisPhi}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_n_constituents", "Constituent multiplicity of matched reconstructed charged jets;N_{constituents}^{rec};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_area", "Area distribution of matched reconstructed charged jets;A_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); - registryMC.add("mc/jets/matched/reconstructed/general/jet_n_selected_constituents", "Selected-track multiplicity in matched reconstructed charged jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/matched/reconstructed/general/n_events", "Selected matched events with reconstructed charged jets;Event counter;N_{events}", HistType::kTH1I, {axis.axisEventCounter}); + registryMCJets.add("mc/jets/matched/reconstructed/general/n_events_raw", "All events", HistType::kTH1I, {axis.axisEventCounter}); + registryMCJets.add("mc/jets/matched/reconstructed/general/collision_multiplicity", "Number of matched jets in collision;Number of Jets;Number of Collisions", HistType::kTH1F, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_pt", "Transverse-momentum distribution of matched reconstructed charged jets;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_pt_subtracted", "Matched reconstructed jet #it{p}_{T} after background subtraction;#it{p}_{T,jet}^{rec,sub} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetSubPt}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_pt_raw_vs_sub", "Raw vs subtracted matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T,jet}^{rec,sub} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisJetSubPt}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_eta", "Pseudorapidity distribution of matched reconstructed charged jets;#eta_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_phi", "Azimuthal-angle distribution of matched reconstructed charged jets;#varphi_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_n_constituents", "Constituent multiplicity of matched reconstructed charged jets;N_{constituents}^{rec};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_area", "Area distribution of matched reconstructed charged jets;A_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); + registryMCJets.add("mc/jets/matched/reconstructed/general/jet_n_selected_constituents", "Selected-track multiplicity in matched reconstructed charged jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); // Hadrons in jets - registryMC.add("mc/jets/matched/reconstructed/hadrons/rec_hadron_all", "All reconstructed hadrons in matched jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/hadrons/mc_rec_hadron_pt", "True primary reconstructed hadrons in matched jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/hadrons/mc_sec_hadron_pt", "Secondary/fake reconstructed hadrons in matched jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/hadrons/rec_hadron_all", "All reconstructed hadrons in matched jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/hadrons/mc_rec_hadron_pt", "True primary reconstructed hadrons in matched jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/hadrons/mc_sec_hadron_pt", "Secondary/fake reconstructed hadrons in matched jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); // Composition - registryMC.add("mc/jets/matched/reconstructed/composition/n_pions_per_jet", "Multiplicity of PID-selected #pi^{#pm} in matched MC jets;N_{#pi};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/n_kaons_per_jet", "Multiplicity of PID-selected K^{#pm} in matched MC jets;N_{K};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/n_protons_per_jet", "Multiplicity of PID-selected p+#bar{p} in matched MC jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet", "Identified-particle multiplicity in matched MC jets;Particle species;N_{particles} per jet", HistType::kTH2I, {axis.axisParticleSpecies, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/n_pions_per_jet", "Multiplicity of PID-selected #pi^{#pm} in matched MC jets;N_{#pi};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/n_kaons_per_jet", "Multiplicity of PID-selected K^{#pm} in matched MC jets;N_{K};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/n_protons_per_jet", "Multiplicity of PID-selected p+#bar{p} in matched MC jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet", "Identified-particle multiplicity in matched MC jets;Particle species;N_{particles} per jet", HistType::kTH2I, {axis.axisParticleSpecies, axis.axisMultiplicity}); // Truth vs Reconstructed Matrices - registryMC.add("mc/jets/matched/reconstructed/composition/n_pions_matrix", "Truth vs reconstructed pion multiplicity;N_{truth #pi};N_{reconstructed #pi};N_{jets}", HistType::kTH2I, {axis.axisMultiplicity, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/n_kaons_matrix", "Truth vs reconstructed kaon multiplicity;N_{truth K};N_{reconstructed K};N_{jets}", HistType::kTH2I, {axis.axisMultiplicity, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/n_protons_matrix", "Truth vs reconstructed proton multiplicity;N_{truth p};N_{reconstructed p};N_{jets}", HistType::kTH2I, {axis.axisMultiplicity, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/n_pions_matrix", "Truth vs reconstructed pion multiplicity;N_{truth #pi};N_{reconstructed #pi};N_{jets}", HistType::kTH2I, {axis.axisMultiplicity, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/n_kaons_matrix", "Truth vs reconstructed kaon multiplicity;N_{truth K};N_{reconstructed K};N_{jets}", HistType::kTH2I, {axis.axisMultiplicity, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/n_protons_matrix", "Truth vs reconstructed proton multiplicity;N_{truth p};N_{reconstructed p};N_{jets}", HistType::kTH2I, {axis.axisMultiplicity, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/response_pions", "Pion response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth #pi};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed #pi}", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/response_kaons", "Kaon response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth K};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed K}", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/response_protons", "Proton response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth p};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed p}", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/response_pions", "Pion response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth #pi};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed #pi}", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/response_kaons", "Kaon response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth K};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed K}", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/response_protons", "Proton response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth p};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed p}", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/composition/jet_pt_matrix", "Truth vs reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T,jet}^{rec} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisJetPt}); + registryMCJets.add("mc/jets/matched/reconstructed/composition/jet_pt_matrix", "Truth vs reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T,jet}^{rec} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisJetPt}); // Matching efficiency / fake-rate counter - registryMC.add("mc/jets/matched/general/jet_match_counter", "Jet matching outcome;Match status;N_{jets}", HistType::kTH1I, {axis.axisMatchStatus}); - auto hMatchCounter = registryMC.get(HIST("mc/jets/matched/general/jet_match_counter")); + registryMCJets.add("mc/jets/matched/general/jet_match_counter", "Jet matching outcome;Match status;N_{jets}", HistType::kTH1I, {axis.axisMatchStatus}); + auto hMatchCounter = registryMCJets.get(HIST("mc/jets/matched/general/jet_match_counter")); hMatchCounter->GetXaxis()->SetBinLabel(1, "matched"); hMatchCounter->GetXaxis()->SetBinLabel(2, "missed"); hMatchCounter->GetXaxis()->SetBinLabel(3, "fake"); // --- MC: MATCHED JETS - MISS (truth jets with no reconstructed partner) --- - registryMC.add("mc/jets/matched/miss/general/jet_pt", "Transverse-momentum distribution of missed particle-level jets;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); - registryMC.add("mc/jets/matched/miss/general/jet_eta", "Pseudorapidity distribution of missed particle-level jets;#eta_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/miss/general/jet_phi", "Azimuthal-angle distribution of missed particle-level jets;#varphi_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisPhi}); - registryMC.add("mc/jets/matched/miss/general/jet_area", "Area distribution of missed particle-level jets;A_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); - registryMC.add("mc/jets/matched/miss/general/jet_n_constituents", "Constituent multiplicity of missed particle-level jets;N_{constituents}^{part};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - registryMC.add("mc/jets/matched/miss/general/jet_n_selected_constituents", "Selected-particle multiplicity in missed particle-level jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - - registryMC.add("mc/jets/matched/miss/pions/n_pions_per_jet", "Multiplicity of generated #pi^{#pm} in missed jets;N_{#pi};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/pions/n_pions_vs_jet_pt", "Multiplicity of generated #pi^{#pm} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/miss/pions/mc_gen_pion_pt", "Transverse-momentum distribution of generated primary #pi^{#pm} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/miss/pions/pos/n_pions_per_jet", "Multiplicity of generated #pi^{+} in missed jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/pions/pos/mc_gen_pion_pos_pt", "Transverse-momentum distribution of generated primary #pi^{+} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/miss/pions/neg/n_pions_per_jet", "Multiplicity of generated #pi^{-} in missed jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/pions/neg/mc_gen_pion_neg_pt", "Transverse-momentum distribution of generated primary #pi^{-} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); - - registryMC.add("mc/jets/matched/miss/kaons/n_kaons_per_jet", "Multiplicity of generated K^{#pm} in missed jets;N_{K};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/kaons/n_kaons_vs_jet_pt", "Multiplicity of generated K^{#pm} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/miss/kaons/mc_gen_kaon_pt", "Transverse-momentum distribution of generated primary K^{#pm} in missed jets;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/miss/kaons/pos/n_kaons_per_jet", "Multiplicity of generated K^{+} in missed jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/kaons/pos/mc_gen_kaon_pos_pt", "Transverse-momentum distribution of generated primary K^{+} in missed jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/miss/kaons/neg/n_kaons_per_jet", "Multiplicity of generated K^{-} in missed jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/kaons/neg/mc_gen_kaon_neg_pt", "Transverse-momentum distribution of generated primary K^{-} in missed jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); - - registryMC.add("mc/jets/matched/miss/protons/n_protons_per_jet", "Multiplicity of generated p+#bar{p} in missed jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/protons/n_protons_vs_jet_pt", "Multiplicity of generated p+#bar{p} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/miss/protons/mc_gen_proton_pt", "Transverse-momentum distribution of generated primary p+#bar{p} in missed jets;#it{p}_{T} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/miss/protons/pos/n_protons_per_jet", "Multiplicity of generated p in missed jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/protons/pos/mc_gen_proton_pos_pt", "Transverse-momentum distribution of generated primary p in missed jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/miss/protons/neg/n_protons_per_jet", "Multiplicity of generated #bar{p} in missed jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/miss/protons/neg/mc_gen_proton_neg_pt", "Transverse-momentum distribution of generated primary #bar{p} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); - - registryMC.add("mc/jets/matched/miss/hadrons/mc_gen_hadron_pt", "Transverse-momentum distribution of generated primary hadrons in missed jets;#it{p}_{T} (GeV/#it{c});N_{hadrons}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/general/jet_pt", "Transverse-momentum distribution of missed particle-level jets;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); + registryMCJets.add("mc/jets/matched/miss/general/jet_eta", "Pseudorapidity distribution of missed particle-level jets;#eta_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/miss/general/jet_phi", "Azimuthal-angle distribution of missed particle-level jets;#varphi_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisPhi}); + registryMCJets.add("mc/jets/matched/miss/general/jet_area", "Area distribution of missed particle-level jets;A_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); + registryMCJets.add("mc/jets/matched/miss/general/jet_n_constituents", "Constituent multiplicity of missed particle-level jets;N_{constituents}^{part};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/matched/miss/general/jet_n_selected_constituents", "Selected-particle multiplicity in missed particle-level jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + + registryMCJets.add("mc/jets/matched/miss/pions/n_pions_per_jet", "Multiplicity of generated #pi^{#pm} in missed jets;N_{#pi};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/pions/n_pions_vs_jet_pt", "Multiplicity of generated #pi^{#pm} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/pions/mc_gen_pion_pt", "Transverse-momentum distribution of generated primary #pi^{#pm} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/pions/pos/n_pions_per_jet", "Multiplicity of generated #pi^{+} in missed jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/pions/pos/mc_gen_pion_pos_pt", "Transverse-momentum distribution of generated primary #pi^{+} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/pions/neg/n_pions_per_jet", "Multiplicity of generated #pi^{-} in missed jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/pions/neg/mc_gen_pion_neg_pt", "Transverse-momentum distribution of generated primary #pi^{-} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); + + registryMCJets.add("mc/jets/matched/miss/kaons/n_kaons_per_jet", "Multiplicity of generated K^{#pm} in missed jets;N_{K};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/kaons/n_kaons_vs_jet_pt", "Multiplicity of generated K^{#pm} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/kaons/mc_gen_kaon_pt", "Transverse-momentum distribution of generated primary K^{#pm} in missed jets;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/kaons/pos/n_kaons_per_jet", "Multiplicity of generated K^{+} in missed jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/kaons/pos/mc_gen_kaon_pos_pt", "Transverse-momentum distribution of generated primary K^{+} in missed jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/kaons/neg/n_kaons_per_jet", "Multiplicity of generated K^{-} in missed jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/kaons/neg/mc_gen_kaon_neg_pt", "Transverse-momentum distribution of generated primary K^{-} in missed jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); + + registryMCJets.add("mc/jets/matched/miss/protons/n_protons_per_jet", "Multiplicity of generated p+#bar{p} in missed jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/protons/n_protons_vs_jet_pt", "Multiplicity of generated p+#bar{p} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/protons/mc_gen_proton_pt", "Transverse-momentum distribution of generated primary p+#bar{p} in missed jets;#it{p}_{T} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/protons/pos/n_protons_per_jet", "Multiplicity of generated p in missed jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/protons/pos/mc_gen_proton_pos_pt", "Transverse-momentum distribution of generated primary p in missed jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/miss/protons/neg/n_protons_per_jet", "Multiplicity of generated #bar{p} in missed jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + + registryMC.add("mc/ue/reconstructed/pions/n_pions_per_cone_vs_jet_pt", "Multiplicity of PID-selected #pi^{#pm} per perpendicular cone vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{#pi} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/reconstructed/kaons/n_kaons_per_cone_vs_jet_pt", "Multiplicity of PID-selected K^{#pm} per perpendicular cone vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{K} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/reconstructed/protons/n_protons_per_cone_vs_jet_pt", "Multiplicity of PID-selected p+#bar{p} per perpendicular cone vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{p+#bar{p}} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/reconstructed/pions/pion_pt_vs_jet_pt", "PID-selected #pi^{#pm} #it{p}_{T} in perpendicular cones vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMC.add("mc/ue/reconstructed/kaons/kaon_pt_vs_jet_pt", "PID-selected K^{#pm} #it{p}_{T} in perpendicular cones vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMC.add("mc/ue/reconstructed/protons/proton_pt_vs_jet_pt", "PID-selected p+#bar{p} #it{p}_{T} in perpendicular cones vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + + registryMC.add("mc/ue/truth/pions/n_pions_per_cone_vs_jet_pt", "Multiplicity of generated #pi^{#pm} per perpendicular cone vs matched particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/truth/kaons/n_kaons_per_cone_vs_jet_pt", "Multiplicity of generated K^{#pm} per perpendicular cone vs matched particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/truth/protons/n_protons_per_cone_vs_jet_pt", "Multiplicity of generated p+#bar{p} per perpendicular cone vs matched particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/truth/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} in perpendicular cones vs matched particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMC.add("mc/ue/truth/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} in perpendicular cones vs matched particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMC.add("mc/ue/truth/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} in perpendicular cones vs matched particle-level jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + + registryMC.add("mc/ue/miss/pions/n_pions_per_cone_vs_jet_pt", "Multiplicity of generated #pi^{#pm} per perpendicular cone vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/miss/kaons/n_kaons_per_cone_vs_jet_pt", "Multiplicity of generated K^{#pm} per perpendicular cone vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/miss/protons/n_protons_per_cone_vs_jet_pt", "Multiplicity of generated p+#bar{p} per perpendicular cone vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}} per cone", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/miss/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} in perpendicular cones vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMC.add("mc/ue/miss/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} in perpendicular cones vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMC.add("mc/ue/miss/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} in perpendicular cones vs missed jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + + registryMC.add("mc/ue/response/cone_response_pions", "Pion per-cone response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth #pi} per cone;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed #pi} per cone", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/response/cone_response_kaons", "Kaon per-cone response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth K} per cone;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed K} per cone", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); + registryMC.add("mc/ue/response/cone_response_protons", "Proton per-cone response matrix;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{truth p} per cone;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{reconstructed p} per cone", HistType::kTHnSparseF, {axis.axisJetPt, axis.axisMultiplicity, axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/miss/protons/neg/mc_gen_proton_neg_pt", "Transverse-momentum distribution of generated primary #bar{p} in missed jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); + + registryMCJets.add("mc/jets/matched/miss/hadrons/mc_gen_hadron_pt", "Transverse-momentum distribution of generated primary hadrons in missed jets;#it{p}_{T} (GeV/#it{c});N_{hadrons}", HistType::kTH1F, {axis.axisPt}); // --- MC: MATCHED JETS - FAKE (reconstructed jets with no truth partner) --- - registryMC.add("mc/jets/matched/fake/general/jet_pt", "Transverse-momentum distribution of fake reconstructed jets;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); - registryMC.add("mc/jets/matched/fake/general/jet_eta", "Pseudorapidity distribution of fake reconstructed jets;#eta_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/general/jet_phi", "Azimuthal-angle distribution of fake reconstructed jets;#varphi_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisPhi}); - registryMC.add("mc/jets/matched/fake/general/jet_area", "Area distribution of fake reconstructed jets;A_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); - registryMC.add("mc/jets/matched/fake/general/jet_n_constituents", "Constituent multiplicity of fake reconstructed jets;N_{constituents}^{rec};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - registryMC.add("mc/jets/matched/fake/general/jet_n_selected_constituents", "Selected-track multiplicity in fake reconstructed jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - - registryMC.add("mc/jets/matched/fake/hadrons/rec_hadron_all", "All reconstructed hadrons in fake jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/hadrons/mc_rec_hadron_pt", "True primary reconstructed hadrons in fake jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/hadrons/mc_sec_hadron_pt", "Secondary/fake reconstructed hadrons in fake jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - - registryMC.add("mc/jets/matched/fake/composition/n_pions_per_jet", "Multiplicity of PID-selected #pi^{#pm} in fake jets;N_{#pi};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/composition/n_kaons_per_jet", "Multiplicity of PID-selected K^{#pm} in fake jets;N_{K};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/composition/n_protons_per_jet", "Multiplicity of PID-selected p+#bar{p} in fake jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/composition/particle_multiplicity_per_jet", "Identified-particle multiplicity in fake jets;Particle species;N_{particles} per jet", HistType::kTH2I, {axis.axisParticleSpecies, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/general/jet_pt", "Transverse-momentum distribution of fake reconstructed jets;#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); + registryMCJets.add("mc/jets/matched/fake/general/jet_eta", "Pseudorapidity distribution of fake reconstructed jets;#eta_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/general/jet_phi", "Azimuthal-angle distribution of fake reconstructed jets;#varphi_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/general/jet_area", "Area distribution of fake reconstructed jets;A_{jet}^{rec};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); + registryMCJets.add("mc/jets/matched/fake/general/jet_n_constituents", "Constituent multiplicity of fake reconstructed jets;N_{constituents}^{rec};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/matched/fake/general/jet_n_selected_constituents", "Selected-track multiplicity in fake reconstructed jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + + registryMCJets.add("mc/jets/matched/fake/hadrons/rec_hadron_all", "All reconstructed hadrons in fake jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/hadrons/mc_rec_hadron_pt", "True primary reconstructed hadrons in fake jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/hadrons/mc_sec_hadron_pt", "Secondary/fake reconstructed hadrons in fake jets;#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + + registryMCJets.add("mc/jets/matched/fake/composition/n_pions_per_jet", "Multiplicity of PID-selected #pi^{#pm} in fake jets;N_{#pi};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/composition/n_kaons_per_jet", "Multiplicity of PID-selected K^{#pm} in fake jets;N_{K};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/composition/n_protons_per_jet", "Multiplicity of PID-selected p+#bar{p} in fake jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/composition/particle_multiplicity_per_jet", "Identified-particle multiplicity in fake jets;Particle species;N_{particles} per jet", HistType::kTH2I, {axis.axisParticleSpecies, axis.axisMultiplicity}); // Pions - registryMC.add("mc/jets/matched/fake/pions/n_pions_vs_jet_pt", "Multiplicity of PID-selected #pi^{#pm} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/pions/pion_pt_vs_jet_pt", "Reconstructed #pi^{#pm} #it{p}_{T} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/n_pions_per_jet", "Multiplicity of PID-selected #pi^{+} in fake jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/pions/neg/n_pions_per_jet", "Multiplicity of PID-selected #pi^{-} in fake jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/pions/rec_pion_all", "All reconstructed pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/contamination_matrix_pion", "Pion contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/mc_rec_pion_pt", "MC true primary pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/mc_sec_pion_pt", "MC secondary/fake pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pion_jet_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/pions/pion_jet_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/pions/pion_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected pion candidates in fake jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); - registryMC.add("mc/jets/matched/fake/pions/pion_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected pion candidates in fake jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); - registryMC.add("mc/jets/matched/fake/pions/pos/rec_pion_pos_all", "All reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/contamination_matrix_pion_pos", "#pi^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_tpc", "#pi^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/pions/pos/rec_pion_pos_tof_matched", "TOF-matched reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_tof", "#pi^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/pions/pos/mc_rec_pion_pos_pt", "MC true primary #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/mc_sec_pion_pos_pt", "MC secondary/fake #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_pt", "Transverse-momentum distribution of #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_eta", "Pseudorapidity distribution of #pi^{+} candidates in fake jets;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaz", "DCA_{z} vs transverse momentum for #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); - registryMC.add("mc/jets/matched/fake/pions/neg/rec_pion_neg_all", "All reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/neg/contamination_matrix_pion_neg", "#pi^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_tpc", "#pi^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/pions/neg/rec_pion_neg_tof_matched", "TOF-matched reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_tof", "#pi^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/pions/neg/mc_rec_pion_neg_pt", "MC true primary #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/neg/mc_sec_pion_neg_pt", "MC secondary/fake #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_pt", "Transverse-momentum distribution of #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_eta", "Pseudorapidity distribution of #pi^{-} candidates in fake jets;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaz", "DCA_{z} vs transverse momentum for #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/pions/n_pions_vs_jet_pt", "Multiplicity of PID-selected #pi^{#pm} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/pions/pion_pt_vs_jet_pt", "Reconstructed #pi^{#pm} #it{p}_{T} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/n_pions_per_jet", "Multiplicity of PID-selected #pi^{+} in fake jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/n_pions_per_jet", "Multiplicity of PID-selected #pi^{-} in fake jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/pions/rec_pion_all", "All reconstructed pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/contamination_matrix_pion", "Pion contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/mc_rec_pion_pt", "MC true primary pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/mc_sec_pion_pt", "MC secondary/fake pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pion_jet_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/pions/pion_jet_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/pions/pion_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected pion candidates in fake jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); + registryMCJets.add("mc/jets/matched/fake/pions/pion_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected pion candidates in fake jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/rec_pion_pos_all", "All reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/contamination_matrix_pion_pos", "#pi^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_tpc", "#pi^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/rec_pion_pos_tof_matched", "TOF-matched reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_tof", "#pi^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/mc_rec_pion_pos_pt", "MC true primary #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/mc_sec_pion_pos_pt", "MC secondary/fake #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_pt", "Transverse-momentum distribution of #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_eta", "Pseudorapidity distribution of #pi^{+} candidates in fake jets;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaz", "DCA_{z} vs transverse momentum for #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/fake/pions/pos/pion_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/rec_pion_neg_all", "All reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/contamination_matrix_pion_neg", "#pi^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_tpc", "#pi^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/rec_pion_neg_tof_matched", "TOF-matched reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_tof", "#pi^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/mc_rec_pion_neg_pt", "MC true primary #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/mc_sec_pion_neg_pt", "MC secondary/fake #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_pt", "Transverse-momentum distribution of #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_eta", "Pseudorapidity distribution of #pi^{-} candidates in fake jets;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaz", "DCA_{z} vs transverse momentum for #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/fake/pions/neg/pion_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); // Kaons - registryMC.add("mc/jets/matched/fake/kaons/n_kaons_vs_jet_pt", "Multiplicity of PID-selected K^{#pm} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/kaons/kaon_pt_vs_jet_pt", "Reconstructed K^{#pm} #it{p}_{T} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/n_kaons_per_jet", "Multiplicity of PID-selected K^{+} in fake jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/kaons/neg/n_kaons_per_jet", "Multiplicity of PID-selected K^{-} in fake jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/kaons/rec_kaon_all", "All reconstructed kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/contamination_matrix_kaon", "Kaon contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/mc_rec_kaon_pt", "MC true primary kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/mc_sec_kaon_pt", "MC secondary/fake kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/kaon_jet_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/kaons/kaon_jet_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/kaons/kaon_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected kaon candidates in fake jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); - registryMC.add("mc/jets/matched/fake/kaons/kaon_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected kaon candidates in fake jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); - registryMC.add("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_all", "All reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/contamination_matrix_kaon_pos", "K^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tpc", "K^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_tof_matched", "TOF-matched reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tof", "K^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/kaons/pos/mc_rec_kaon_pos_pt", "MC true primary K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/mc_sec_kaon_pos_pt", "MC secondary/fake K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_pt", "Transverse-momentum distribution of K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_eta", "Pseudorapidity distribution of K^{+} candidates in fake jets;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaz", "DCA_{z} vs transverse momentum for K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); - registryMC.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_all", "All reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/neg/contamination_matrix_kaon_neg", "K^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tpc", "K^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof_matched", "TOF-matched reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof", "K^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/kaons/neg/mc_rec_kaon_neg_pt", "MC true primary K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/neg/mc_sec_kaon_neg_pt", "MC secondary/fake K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_pt", "Transverse-momentum distribution of K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_eta", "Pseudorapidity distribution of K^{-} candidates in fake jets;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaz", "DCA_{z} vs transverse momentum for K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/kaons/n_kaons_vs_jet_pt", "Multiplicity of PID-selected K^{#pm} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/kaons/kaon_pt_vs_jet_pt", "Reconstructed K^{#pm} #it{p}_{T} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/n_kaons_per_jet", "Multiplicity of PID-selected K^{+} in fake jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/n_kaons_per_jet", "Multiplicity of PID-selected K^{-} in fake jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/kaons/rec_kaon_all", "All reconstructed kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/contamination_matrix_kaon", "Kaon contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/mc_rec_kaon_pt", "MC true primary kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/mc_sec_kaon_pt", "MC secondary/fake kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/kaon_jet_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/kaons/kaon_jet_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/kaons/kaon_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected kaon candidates in fake jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); + registryMCJets.add("mc/jets/matched/fake/kaons/kaon_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected kaon candidates in fake jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_all", "All reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/contamination_matrix_kaon_pos", "K^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tpc", "K^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_tof_matched", "TOF-matched reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tof", "K^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/mc_rec_kaon_pos_pt", "MC true primary K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/mc_sec_kaon_pos_pt", "MC secondary/fake K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_pt", "Transverse-momentum distribution of K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_eta", "Pseudorapidity distribution of K^{+} candidates in fake jets;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaz", "DCA_{z} vs transverse momentum for K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{+} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_all", "All reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/contamination_matrix_kaon_neg", "K^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tpc", "K^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof_matched", "TOF-matched reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof", "K^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/mc_rec_kaon_neg_pt", "MC true primary K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/mc_sec_kaon_neg_pt", "MC secondary/fake K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_pt", "Transverse-momentum distribution of K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_eta", "Pseudorapidity distribution of K^{-} candidates in fake jets;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaz", "DCA_{z} vs transverse momentum for K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{-} candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); // Protons - registryMC.add("mc/jets/matched/fake/protons/n_protons_vs_jet_pt", "Multiplicity of PID-selected p+#bar{p} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/protons/proton_pt_vs_jet_pt", "Reconstructed p+#bar{p} #it{p}_{T} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/n_protons_per_jet", "Multiplicity of PID-selected p in fake jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/protons/neg/n_protons_per_jet", "Multiplicity of PID-selected #bar{p} in fake jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/fake/protons/rec_proton_all", "All reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/contamination_matrix_proton", "Proton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/mc_rec_proton_pt", "MC true primary protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/mc_sec_proton_pt", "MC secondary/fake protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/proton_jet_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/protons/proton_jet_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/protons/proton_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected proton candidates in fake jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); - registryMC.add("mc/jets/matched/fake/protons/proton_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected proton candidates in fake jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); - registryMC.add("mc/jets/matched/fake/protons/pos/rec_proton_pos_all", "All reconstructed protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/contamination_matrix_proton_pos", "Proton (positive) contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_tpc", "Proton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/protons/pos/rec_proton_pos_tof_matched", "TOF-matched reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_tof", "Proton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/protons/pos/mc_rec_proton_pos_pt", "MC true primary protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/mc_sec_proton_pos_pt", "MC secondary/fake protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_pt", "Transverse-momentum distribution of proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_eta", "Pseudorapidity distribution of proton candidates in fake jets;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaz", "DCA_{z} vs transverse momentum for proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); - registryMC.add("mc/jets/matched/fake/protons/neg/rec_proton_neg_all", "All reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/neg/contamination_matrix_proton_neg", "Antiproton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_tpc", "Antiproton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/fake/protons/neg/rec_proton_neg_tof_matched", "TOF-matched reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_tof", "Antiproton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/fake/protons/neg/mc_rec_proton_neg_pt", "MC true primary antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/neg/mc_sec_proton_neg_pt", "MC secondary/fake antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_pt", "Transverse-momentum distribution of antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_eta", "Pseudorapidity distribution of antiproton candidates in fake jets;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaz", "DCA_{z} vs transverse momentum for antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/protons/n_protons_vs_jet_pt", "Multiplicity of PID-selected p+#bar{p} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/protons/proton_pt_vs_jet_pt", "Reconstructed p+#bar{p} #it{p}_{T} vs fake jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/n_protons_per_jet", "Multiplicity of PID-selected p in fake jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/n_protons_per_jet", "Multiplicity of PID-selected #bar{p} in fake jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/fake/protons/rec_proton_all", "All reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/contamination_matrix_proton", "Proton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/mc_rec_proton_pt", "MC true primary protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/mc_sec_proton_pt", "MC secondary/fake protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/proton_jet_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/protons/proton_jet_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in fake jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/protons/proton_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected proton candidates in fake jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); + registryMCJets.add("mc/jets/matched/fake/protons/proton_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected proton candidates in fake jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/rec_proton_pos_all", "All reconstructed protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/contamination_matrix_proton_pos", "Proton (positive) contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_tpc", "Proton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/rec_proton_pos_tof_matched", "TOF-matched reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_tof", "Proton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/mc_rec_proton_pos_pt", "MC true primary protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/mc_sec_proton_pos_pt", "MC secondary/fake protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_pt", "Transverse-momentum distribution of proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_eta", "Pseudorapidity distribution of proton candidates in fake jets;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaz", "DCA_{z} vs transverse momentum for proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/fake/protons/pos/proton_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for proton candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/rec_proton_neg_all", "All reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/contamination_matrix_proton_neg", "Antiproton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_tpc", "Antiproton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/rec_proton_neg_tof_matched", "TOF-matched reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_tof", "Antiproton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/mc_rec_proton_neg_pt", "MC true primary antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/mc_sec_proton_neg_pt", "MC secondary/fake antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_pt", "Transverse-momentum distribution of antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_eta", "Pseudorapidity distribution of antiproton candidates in fake jets;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaz", "DCA_{z} vs transverse momentum for antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/fake/protons/neg/proton_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for antiproton candidates in fake jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); // Pions - registryMC.add("mc/jets/matched/reconstructed/pions/n_pions_vs_jet_pt", "Multiplicity of PID-selected #pi^{#pm} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/pions/pion_pt_vs_jet_pt", "Reconstructed #pi^{#pm} #it{p}_{T} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/n_pions_per_jet", "Multiplicity of PID-selected #pi^{+} in matched MC jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/n_pions_per_jet", "Multiplicity of PID-selected #pi^{-} in matched MC jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/pions/rec_pion_all", "All reconstructed pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/contamination_matrix_pion", "Pion contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/mc_rec_pion_pt", "MC true primary pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/mc_sec_pion_pt", "MC secondary/fake pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pion_jet_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/pions/pion_jet_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/pions/pion_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected pion candidates in matched jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); - registryMC.add("mc/jets/matched/reconstructed/pions/pion_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected pion candidates in matched jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_all", "All reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/contamination_matrix_pion_pos", "#pi^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tpc", "#pi^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_tof_matched", "TOF-matched reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tof", "#pi^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/mc_rec_pion_pos_pt", "MC true primary #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/mc_sec_pion_pos_pt", "MC secondary/fake #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_pt", "Transverse-momentum distribution of #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_eta", "Pseudorapidity distribution of #pi^{+} candidates in matched MC jets;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaz", "DCA_{z} vs transverse momentum for #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_all", "All reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/contamination_matrix_pion_neg", "#pi^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tpc", "#pi^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_tof_matched", "TOF-matched reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tof", "#pi^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/mc_rec_pion_neg_pt", "MC true primary #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/mc_sec_pion_neg_pt", "MC secondary/fake #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_pt", "Transverse-momentum distribution of #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_eta", "Pseudorapidity distribution of #pi^{-} candidates in matched MC jets;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaz", "DCA_{z} vs transverse momentum for #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/n_pions_vs_jet_pt", "Multiplicity of PID-selected #pi^{#pm} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pion_pt_vs_jet_pt", "Reconstructed #pi^{#pm} #it{p}_{T} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/n_pions_per_jet", "Multiplicity of PID-selected #pi^{+} in matched MC jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/n_pions_per_jet", "Multiplicity of PID-selected #pi^{-} in matched MC jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/rec_pion_all", "All reconstructed pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/contamination_matrix_pion", "Pion contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/mc_rec_pion_pt", "MC true primary pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/mc_sec_pion_pt", "MC secondary/fake pions #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pion_jet_tpc", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pion_jet_tof", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pion_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected pion candidates in matched jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pion_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected pion candidates in matched jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_all", "All reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/contamination_matrix_pion_pos", "#pi^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tpc", "#pi^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_tof_matched", "TOF-matched reconstructed #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tof", "#pi^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tpc_true", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tof_true", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{+} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/mc_rec_pion_pos_pt", "MC true primary #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/mc_sec_pion_pos_pt", "MC secondary/fake #pi^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_pt", "Transverse-momentum distribution of #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_eta", "Pseudorapidity distribution of #pi^{+} candidates in matched MC jets;#eta;N_{#pi^{+}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaz", "DCA_{z} vs transverse momentum for #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_all", "All reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/contamination_matrix_pion_neg", "#pi^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tpc", "#pi^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_tof_matched", "TOF-matched reconstructed #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tof", "#pi^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{#pi}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tpc_true", "TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tof_true", "TOF n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{#pi} vs transverse momentum for PID-selected #pi^{-} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/mc_rec_pion_neg_pt", "MC true primary #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/mc_sec_pion_neg_pt", "MC secondary/fake #pi^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_pt", "Transverse-momentum distribution of #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_eta", "Pseudorapidity distribution of #pi^{-} candidates in matched MC jets;#eta;N_{#pi^{-}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaz", "DCA_{z} vs transverse momentum for #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for #pi^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); // Kaons - registryMC.add("mc/jets/matched/reconstructed/kaons/n_kaons_vs_jet_pt", "Multiplicity of PID-selected K^{#pm} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/kaons/kaon_pt_vs_jet_pt", "Reconstructed K^{#pm} #it{p}_{T} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/n_kaons_per_jet", "Multiplicity of PID-selected K^{+} in matched MC jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/n_kaons_per_jet", "Multiplicity of PID-selected K^{-} in matched MC jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/kaons/rec_kaon_all", "All reconstructed kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/contamination_matrix_kaon", "Kaon contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/mc_rec_kaon_pt", "MC true primary kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/mc_sec_kaon_pt", "MC secondary/fake kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/kaon_jet_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/kaons/kaon_jet_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/kaons/kaon_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected kaon candidates in matched jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); - registryMC.add("mc/jets/matched/reconstructed/kaons/kaon_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected kaon candidates in matched jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_all", "All reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/contamination_matrix_kaon_pos", "K^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tpc", "K^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_tof_matched", "TOF-matched reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tof", "K^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/mc_rec_kaon_pos_pt", "MC true primary K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/mc_sec_kaon_pos_pt", "MC secondary/fake K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_pt", "Transverse-momentum distribution of K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_eta", "Pseudorapidity distribution of K^{+} candidates in matched MC jets;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaz", "DCA_{z} vs transverse momentum for K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_all", "All reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/contamination_matrix_kaon_neg", "K^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tpc", "K^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof_matched", "TOF-matched reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof", "K^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/mc_rec_kaon_neg_pt", "MC true primary K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/mc_sec_kaon_neg_pt", "MC secondary/fake K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_pt", "Transverse-momentum distribution of K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_eta", "Pseudorapidity distribution of K^{-} candidates in matched MC jets;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaz", "DCA_{z} vs transverse momentum for K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/n_kaons_vs_jet_pt", "Multiplicity of PID-selected K^{#pm} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/kaon_pt_vs_jet_pt", "Reconstructed K^{#pm} #it{p}_{T} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/n_kaons_per_jet", "Multiplicity of PID-selected K^{+} in matched MC jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/n_kaons_per_jet", "Multiplicity of PID-selected K^{-} in matched MC jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/rec_kaon_all", "All reconstructed kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/contamination_matrix_kaon", "Kaon contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/mc_rec_kaon_pt", "MC true primary kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/mc_sec_kaon_pt", "MC secondary/fake kaons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/kaon_jet_tpc", "TPC n#sigma_{K} vs transverse momentum for PID-selected K candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/kaon_jet_tof", "TOF n#sigma_{K} vs transverse momentum for PID-selected K candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/kaon_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected kaon candidates in matched jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/kaon_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected kaon candidates in matched jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_all", "All reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/contamination_matrix_kaon_pos", "K^{+} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tpc", "K^{+} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_tof_matched", "TOF-matched reconstructed K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tof", "K^{+} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tpc_true", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tof_true", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{+} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/mc_rec_kaon_pos_pt", "MC true primary K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/mc_sec_kaon_pos_pt", "MC secondary/fake K^{+} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_pt", "Transverse-momentum distribution of K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_eta", "Pseudorapidity distribution of K^{+} candidates in matched MC jets;#eta;N_{K^{+}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaz", "DCA_{z} vs transverse momentum for K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{+} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_all", "All reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/contamination_matrix_kaon_neg", "K^{-} contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tpc", "K^{-} TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof_matched", "TOF-matched reconstructed K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof", "K^{-} TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{K}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_tpc_true", "TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_tof_true", "TOF n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{K} vs transverse momentum for PID-selected K^{-} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/mc_rec_kaon_neg_pt", "MC true primary K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/mc_sec_kaon_neg_pt", "MC secondary/fake K^{-} #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_pt", "Transverse-momentum distribution of K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_eta", "Pseudorapidity distribution of K^{-} candidates in matched MC jets;#eta;N_{K^{-}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaz", "DCA_{z} vs transverse momentum for K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for K^{-} candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); // Protons - registryMC.add("mc/jets/matched/reconstructed/protons/n_protons_vs_jet_pt", "Multiplicity of PID-selected p+#bar{p} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/protons/proton_pt_vs_jet_pt", "Reconstructed p+#bar{p} #it{p}_{T} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/n_protons_per_jet", "Multiplicity of PID-selected p in matched MC jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/n_protons_per_jet", "Multiplicity of PID-selected #bar{p} in matched MC jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/reconstructed/protons/rec_proton_all", "All reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/contamination_matrix_proton", "Proton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/mc_rec_proton_pt", "MC true primary protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/mc_sec_proton_pt", "MC secondary/fake protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/proton_jet_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/protons/proton_jet_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/protons/proton_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected proton candidates in matched jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); - registryMC.add("mc/jets/matched/reconstructed/protons/proton_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected proton candidates in matched jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_all", "All reconstructed protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/contamination_matrix_proton_pos", "Proton (positive) contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tpc", "Proton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_tof_matched", "TOF-matched reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tof", "Proton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/mc_rec_proton_pos_pt", "MC true primary protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/mc_sec_proton_pos_pt", "MC secondary/fake protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_pt", "Transverse-momentum distribution of proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_eta", "Pseudorapidity distribution of proton candidates in matched MC jets;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaz", "DCA_{z} vs transverse momentum for proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_all", "All reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/contamination_matrix_proton_neg", "Antiproton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tpc", "Antiproton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_tof_matched", "TOF-matched reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tof", "Antiproton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/mc_rec_proton_neg_pt", "MC true primary antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/mc_sec_proton_neg_pt", "MC secondary/fake antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_pt", "Transverse-momentum distribution of antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_eta", "Pseudorapidity distribution of antiproton candidates in matched MC jets;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaz", "DCA_{z} vs transverse momentum for antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); - registryMC.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/n_protons_vs_jet_pt", "Multiplicity of PID-selected p+#bar{p} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/proton_pt_vs_jet_pt", "Reconstructed p+#bar{p} #it{p}_{T} vs matched reconstructed jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/n_protons_per_jet", "Multiplicity of PID-selected p in matched MC jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/n_protons_per_jet", "Multiplicity of PID-selected #bar{p} in matched MC jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/rec_proton_all", "All reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/contamination_matrix_proton", "Proton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/mc_rec_proton_pt", "MC true primary protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/mc_sec_proton_pt", "MC secondary/fake protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/proton_jet_tpc", "TPC n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/proton_jet_tof", "TOF n#sigma_{p} vs transverse momentum for PID-selected p+#bar{p} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/proton_tpc_signal_vs_p", "TPC d#it{E}/d#it{x} signal vs momentum for PID-selected proton candidates in matched jets;#it{p} (GeV/#it{c});TPC d#it{E}/d#it{x} signal (a.u.)", HistType::kTH2F, {axis.axisMomentum, axis.axisTPCSignal}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/proton_tof_beta_vs_p", "TOF #beta vs momentum for PID-selected proton candidates in matched jets;#it{p} (GeV/#it{c});#beta_{TOF}", HistType::kTH2F, {axis.axisMomentum, axis.axisTOFBeta}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_all", "All reconstructed protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/contamination_matrix_proton_pos", "Proton (positive) contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tpc", "Proton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_tof_matched", "TOF-matched reconstructed protons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tof", "Proton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tpc_true", "TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tof_true", "TOF n#sigma_{p} vs transverse momentum for PID-selected p candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected p candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/mc_rec_proton_pos_pt", "MC true primary protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/mc_sec_proton_pos_pt", "MC secondary/fake protons (positive) #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_pt", "Transverse-momentum distribution of proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_eta", "Pseudorapidity distribution of proton candidates in matched MC jets;#eta;N_{p}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaxy", "DCA_{xy} vs transverse momentum for proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaz", "DCA_{z} vs transverse momentum for proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_phi_vs_pt", "Azimuthal angle vs transverse momentum for proton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_all", "All reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/contamination_matrix_proton_neg", "Antiproton contamination matrix;True PDG Code;#it{p}_{T} (GeV/#it{c})", HistType::kTH2D, {axis.axisMCPdg, axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tpc", "Antiproton TPC n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TPC n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_tof_matched", "TOF-matched reconstructed antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tof", "Antiproton TOF n#sigma vs #it{p}_{T};#it{p}_{T} (GeV/#it{c});TOF n#sigma_{p}", HistType::kTH2D, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_combined_tof_tpc", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in matched jets;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tpc_true", "TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TPC}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTPC}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tof_true", "TOF n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{TOF}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaTOF}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_combined_tof_tpc_true", "Combined TOF+TPC n#sigma_{p} vs transverse momentum for PID-selected #bar{p} candidates in matched jets, true PDG;#it{p}_{T} (GeV/#it{c});n#sigma_{COMB}", HistType::kTH2F, {axis.axisPt, axis.axisNSigmaCOMB}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/mc_rec_proton_neg_pt", "MC true primary antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/mc_sec_proton_neg_pt", "MC secondary/fake antiprotons #it{p}_{T};#it{p}_{T} (GeV/#it{c});Counts", HistType::kTH1D, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_pt", "Transverse-momentum distribution of antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_eta", "Pseudorapidity distribution of antiproton candidates in matched MC jets;#eta;N_{#bar{p}}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaxy", "DCA_{xy} vs transverse momentum for antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{xy} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaXY}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaz", "DCA_{z} vs transverse momentum for antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});DCA_{z} (cm)", HistType::kTH2F, {axis.axisPt, axis.axisDcaZ}); + registryMCJets.add("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_phi_vs_pt", "Azimuthal angle vs transverse momentum for antiproton candidates in matched MC jets;#it{p}_{T} (GeV/#it{c});#varphi", HistType::kTH2F, {axis.axisPt, axis.axisPhi}); // --- MC: MATCHED TRUTH JETS --- // General Jet QA - registryMC.add("mc/jets/matched/truth/general/jet_pt", "Transverse-momentum distribution of particle-level matched charged jets;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); - registryMC.add("mc/jets/matched/truth/general/jet_eta", "Pseudorapidity distribution of particle-level matched charged jets;#eta_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisEta}); - registryMC.add("mc/jets/matched/truth/general/jet_phi", "Azimuthal-angle distribution of particle-level matched charged jets;#varphi_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisPhi}); - registryMC.add("mc/jets/matched/truth/general/jet_n_constituents", "Constituent multiplicity of particle-level matched charged jets;N_{constituents}^{part};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); - registryMC.add("mc/jets/matched/truth/general/jet_area", "Area distribution of particle-level matched charged jets;A_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); - registryMC.add("mc/jets/matched/truth/general/jet_n_selected_constituents", "Selected-particle multiplicity in particle-level matched charged jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/matched/truth/general/jet_pt", "Transverse-momentum distribution of particle-level matched charged jets;#it{p}_{T,jet}^{part} (GeV/#it{c});N_{jets}", HistType::kTH1F, {axis.axisJetPt}); + registryMCJets.add("mc/jets/matched/truth/general/jet_eta", "Pseudorapidity distribution of particle-level matched charged jets;#eta_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisEta}); + registryMCJets.add("mc/jets/matched/truth/general/jet_phi", "Azimuthal-angle distribution of particle-level matched charged jets;#varphi_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisPhi}); + registryMCJets.add("mc/jets/matched/truth/general/jet_n_constituents", "Constituent multiplicity of particle-level matched charged jets;N_{constituents}^{part};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); + registryMCJets.add("mc/jets/matched/truth/general/jet_area", "Area distribution of particle-level matched charged jets;A_{jet}^{part};N_{jets}", HistType::kTH1F, {axis.axisJetArea}); + registryMCJets.add("mc/jets/matched/truth/general/jet_n_selected_constituents", "Selected-particle multiplicity in particle-level matched charged jets;N_{constituents}^{selected};N_{jets}", HistType::kTH1I, {axis.axisJetNConst}); // Pions - registryMC.add("mc/jets/matched/truth/pions/n_pions_per_jet", "Multiplicity of generated #pi^{#pm} in particle-level matched jets;N_{#pi};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/pions/n_pions_vs_jet_pt", "Multiplicity of generated #pi^{#pm} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/truth/pions/mc_gen_pion_pt", "Transverse-momentum distribution of generated primary #pi^{#pm} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/truth/pions/pos/n_pions_per_jet", "Multiplicity of generated #pi^{+} in particle-level matched jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/pions/pos/mc_gen_pion_pos_pt", "Transverse-momentum distribution of generated primary #pi^{+} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/truth/pions/neg/n_pions_per_jet", "Multiplicity of generated #pi^{-} in particle-level matched jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/pions/neg/mc_gen_pion_neg_pt", "Transverse-momentum distribution of generated primary #pi^{-} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/pions/n_pions_per_jet", "Multiplicity of generated #pi^{#pm} in particle-level matched jets;N_{#pi};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/pions/n_pions_vs_jet_pt", "Multiplicity of generated #pi^{#pm} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{#pi}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/pions/pion_pt_vs_jet_pt", "Generated #pi^{#pm} #it{p}_{T} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/pions/pion_pt_vs_reco_jet_pt", "Generated #pi^{#pm} #it{p}_{T} in matched jets vs detector-level jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/pions/mc_gen_pion_pt", "Transverse-momentum distribution of generated primary #pi^{#pm} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#pi}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/pions/pos/n_pions_per_jet", "Multiplicity of generated #pi^{+} in particle-level matched jets;N_{#pi^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/pions/pos/mc_gen_pion_pos_pt", "Transverse-momentum distribution of generated primary #pi^{+} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/pions/neg/n_pions_per_jet", "Multiplicity of generated #pi^{-} in particle-level matched jets;N_{#pi^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/pions/neg/mc_gen_pion_neg_pt", "Transverse-momentum distribution of generated primary #pi^{-} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#pi^{-}}", HistType::kTH1F, {axis.axisPt}); // Kaons - registryMC.add("mc/jets/matched/truth/kaons/n_kaons_per_jet", "Multiplicity of generated K^{#pm} in particle-level matched jets;N_{K};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/kaons/n_kaons_vs_jet_pt", "Multiplicity of generated K^{#pm} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/truth/kaons/mc_gen_kaon_pt", "Transverse-momentum distribution of generated primary K^{#pm} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/truth/kaons/pos/n_kaons_per_jet", "Multiplicity of generated K^{+} in particle-level matched jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/kaons/pos/mc_gen_kaon_pos_pt", "Transverse-momentum distribution of generated primary K^{+} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/truth/kaons/neg/n_kaons_per_jet", "Multiplicity of generated K^{-} in particle-level matched jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/kaons/neg/mc_gen_kaon_neg_pt", "Transverse-momentum distribution of generated primary K^{-} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/kaons/n_kaons_per_jet", "Multiplicity of generated K^{#pm} in particle-level matched jets;N_{K};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/kaons/n_kaons_vs_jet_pt", "Multiplicity of generated K^{#pm} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{K}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/kaons/kaon_pt_vs_jet_pt", "Generated K^{#pm} #it{p}_{T} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/kaons/kaon_pt_vs_reco_jet_pt", "Generated K^{#pm} #it{p}_{T} in matched jets vs detector-level jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/kaons/mc_gen_kaon_pt", "Transverse-momentum distribution of generated primary K^{#pm} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{K}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/kaons/pos/n_kaons_per_jet", "Multiplicity of generated K^{+} in particle-level matched jets;N_{K^{+}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/kaons/pos/mc_gen_kaon_pos_pt", "Transverse-momentum distribution of generated primary K^{+} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{K^{+}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/kaons/neg/n_kaons_per_jet", "Multiplicity of generated K^{-} in particle-level matched jets;N_{K^{-}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/kaons/neg/mc_gen_kaon_neg_pt", "Transverse-momentum distribution of generated primary K^{-} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{K^{-}}", HistType::kTH1F, {axis.axisPt}); // Protons - registryMC.add("mc/jets/matched/truth/protons/n_protons_per_jet", "Multiplicity of generated p+#bar{p} in particle-level matched jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/protons/n_protons_vs_jet_pt", "Multiplicity of generated p+#bar{p} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); - registryMC.add("mc/jets/matched/truth/protons/mc_gen_proton_pt", "Transverse-momentum distribution of generated primary p+#bar{p} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/truth/protons/pos/n_protons_per_jet", "Multiplicity of generated p in particle-level matched jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/protons/pos/mc_gen_proton_pos_pt", "Transverse-momentum distribution of generated primary p in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); - registryMC.add("mc/jets/matched/truth/protons/neg/n_protons_per_jet", "Multiplicity of generated #bar{p} in particle-level matched jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); - registryMC.add("mc/jets/matched/truth/protons/neg/mc_gen_proton_neg_pt", "Transverse-momentum distribution of generated primary #bar{p} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/protons/n_protons_per_jet", "Multiplicity of generated p+#bar{p} in particle-level matched jets;N_{p+#bar{p}};N_{jets}", HistType::kTH1D, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/protons/n_protons_vs_jet_pt", "Multiplicity of generated p+#bar{p} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH2I, {axis.axisJetPt, axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/protons/proton_pt_vs_jet_pt", "Generated p+#bar{p} #it{p}_{T} vs particle-level matched jet #it{p}_{T};#it{p}_{T,jet}^{part} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/protons/proton_pt_vs_reco_jet_pt", "Generated p+#bar{p} #it{p}_{T} in matched jets vs detector-level jet #it{p}_{T};#it{p}_{T,jet}^{rec} (GeV/#it{c});#it{p}_{T} (GeV/#it{c})", HistType::kTH2F, {axis.axisJetPt, axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/protons/mc_gen_proton_pt", "Transverse-momentum distribution of generated primary p+#bar{p} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{p+#bar{p}}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/protons/pos/n_protons_per_jet", "Multiplicity of generated p in particle-level matched jets;N_{p};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/protons/pos/mc_gen_proton_pos_pt", "Transverse-momentum distribution of generated primary p in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{p}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/protons/neg/n_protons_per_jet", "Multiplicity of generated #bar{p} in particle-level matched jets;N_{#bar{p}};N_{jets}", HistType::kTH1I, {axis.axisMultiplicity}); + registryMCJets.add("mc/jets/matched/truth/protons/neg/mc_gen_proton_neg_pt", "Transverse-momentum distribution of generated primary #bar{p} in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{#bar{p}}", HistType::kTH1F, {axis.axisPt}); // General Hadrons - registryMC.add("mc/jets/matched/truth/hadrons/mc_gen_hadron_pt", "Transverse-momentum distribution of generated primary hadrons in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{hadrons}", HistType::kTH1F, {axis.axisPt}); + registryMCJets.add("mc/jets/matched/truth/hadrons/mc_gen_hadron_pt", "Transverse-momentum distribution of generated primary hadrons in particle-level matched jets;#it{p}_{T} (GeV/#it{c});N_{hadrons}", HistType::kTH1F, {axis.axisPt}); } void getPerpendicularDirections(const TVector3& p, TVector3& u1, TVector3& u2) @@ -1128,6 +1232,175 @@ struct JetHadronsPid { u2.SetPtEtaPhi(pt, eta, phi - PIHalf); } + struct ConeCounts { + bool valid = false; + std::vector nPions{0, 0}; + std::vector nKaons{0, 0}; + std::vector nProtons{0, 0}; + }; + + template + ConeCounts fillConesDetectorLevel(TTracks const& tracks, const TVector3& jetAxis, double jetPt, bool isData) + { + ConeCounts counts; + const double magnitudeThreshold = 1e-9; + TVector3 ueAxis1(0, 0, 0), ueAxis2(0, 0, 0); + getPerpendicularDirections(jetAxis, ueAxis1, ueAxis2); + if (ueAxis1.Mag() < magnitudeThreshold || ueAxis2.Mag() < magnitudeThreshold) { + return counts; + } + counts.valid = true; + + for (auto const& track : tracks) { + if (!passedTrackSelection(track)) { + continue; + } + + double deltaRUe1 = std::hypot(track.eta() - ueAxis1.Eta(), RecoDecay::constrainAngle(track.phi() - ueAxis1.Phi(), -PI)); + double deltaRUe2 = std::hypot(track.eta() - ueAxis2.Eta(), RecoDecay::constrainAngle(track.phi() - ueAxis2.Phi(), -PI)); + + if (deltaRUe1 > rJet && deltaRUe2 > rJet) { + continue; + } + + int cone = 1; + if (deltaRUe1 <= rJet) { + cone = 0; + } + + double pt = track.pt(); + bool isPositive = track.sign() > 0; + PidResult pid = getPid(track); + + if (pid.isPion) { + counts.nPions[cone]++; + if (isData) { + registryData.fill(HIST("data/ue/pions/pion_pt_vs_jet_pt"), jetPt, pt); + if (isPositive) { + registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_pt"), pt); + } + } else { + registryMC.fill(HIST("mc/ue/reconstructed/pions/pion_pt_vs_jet_pt"), jetPt, pt); + } + } + if (pid.isKaon) { + counts.nKaons[cone]++; + if (isData) { + registryData.fill(HIST("data/ue/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); + if (isPositive) { + registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_pt"), pt); + } + } else { + registryMC.fill(HIST("mc/ue/reconstructed/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); + } + } + if (pid.isProton) { + counts.nProtons[cone]++; + if (isData) { + registryData.fill(HIST("data/ue/protons/proton_pt_vs_jet_pt"), jetPt, pt); + if (isPositive) { + registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_pt"), pt); + } + } else { + registryMC.fill(HIST("mc/ue/reconstructed/protons/proton_pt_vs_jet_pt"), jetPt, pt); + } + } + } + + const int numberOfCones = 2; + for (int cone = 0; cone < numberOfCones; cone++) { + if (isData) { + registryData.fill(HIST("data/ue/pions/n_pions_per_cone_vs_jet_pt"), jetPt, counts.nPions[cone]); + registryData.fill(HIST("data/ue/kaons/n_kaons_per_cone_vs_jet_pt"), jetPt, counts.nKaons[cone]); + registryData.fill(HIST("data/ue/protons/n_protons_per_cone_vs_jet_pt"), jetPt, counts.nProtons[cone]); + } else { + registryMC.fill(HIST("mc/ue/reconstructed/pions/n_pions_per_cone_vs_jet_pt"), jetPt, counts.nPions[cone]); + registryMC.fill(HIST("mc/ue/reconstructed/kaons/n_kaons_per_cone_vs_jet_pt"), jetPt, counts.nKaons[cone]); + registryMC.fill(HIST("mc/ue/reconstructed/protons/n_protons_per_cone_vs_jet_pt"), jetPt, counts.nProtons[cone]); + } + } + return counts; + } + + template + ConeCounts fillConesParticleLevel(TParticles const& particles, const TVector3& jetAxis, double jetPt, bool isMiss) + { + ConeCounts counts; + const double magnitudeThreshold = 1e-9; + TVector3 ueAxis1(0, 0, 0), ueAxis2(0, 0, 0); + getPerpendicularDirections(jetAxis, ueAxis1, ueAxis2); + if (ueAxis1.Mag() < magnitudeThreshold || ueAxis2.Mag() < magnitudeThreshold) { + return counts; + } + counts.valid = true; + + for (auto const& particle : particles) { + if (!particle.isPhysicalPrimary()) { + continue; + } + + if (particle.eta() < minEta || particle.eta() > maxEta) { + continue; + } + + double pt = particle.pt(); + if (pt < minPt || pt > maxPt) { + continue; + } + + double deltaRUe1 = std::hypot(particle.eta() - ueAxis1.Eta(), RecoDecay::constrainAngle(particle.phi() - ueAxis1.Phi(), -PI)); + double deltaRUe2 = std::hypot(particle.eta() - ueAxis2.Eta(), RecoDecay::constrainAngle(particle.phi() - ueAxis2.Phi(), -PI)); + + if (deltaRUe1 > rJet && deltaRUe2 > rJet) { + continue; + } + + int cone = 1; + if (deltaRUe1 <= rJet) { + cone = 0; + } + + int pdg = std::abs(particle.pdgCode()); + + if (pdg == PDG_t::kPiPlus && pt >= cfg.minPtPion && pt <= cfg.maxPtPion) { + counts.nPions[cone]++; + if (isMiss) { + registryMC.fill(HIST("mc/ue/miss/pions/pion_pt_vs_jet_pt"), jetPt, pt); + } else { + registryMC.fill(HIST("mc/ue/truth/pions/pion_pt_vs_jet_pt"), jetPt, pt); + } + } else if (pdg == PDG_t::kKPlus && pt >= cfg.minPtKaon && pt <= cfg.maxPtKaon) { + counts.nKaons[cone]++; + if (isMiss) { + registryMC.fill(HIST("mc/ue/miss/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); + } else { + registryMC.fill(HIST("mc/ue/truth/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); + } + } else if (pdg == PDG_t::kProton && pt >= cfg.minPtProton && pt <= cfg.maxPtProton) { + counts.nProtons[cone]++; + if (isMiss) { + registryMC.fill(HIST("mc/ue/miss/protons/proton_pt_vs_jet_pt"), jetPt, pt); + } else { + registryMC.fill(HIST("mc/ue/truth/protons/proton_pt_vs_jet_pt"), jetPt, pt); + } + } + } + + const int numberOfCones = 2; + for (int cone = 0; cone < numberOfCones; cone++) { + if (isMiss) { + registryMC.fill(HIST("mc/ue/miss/pions/n_pions_per_cone_vs_jet_pt"), jetPt, counts.nPions[cone]); + registryMC.fill(HIST("mc/ue/miss/kaons/n_kaons_per_cone_vs_jet_pt"), jetPt, counts.nKaons[cone]); + registryMC.fill(HIST("mc/ue/miss/protons/n_protons_per_cone_vs_jet_pt"), jetPt, counts.nProtons[cone]); + } else { + registryMC.fill(HIST("mc/ue/truth/pions/n_pions_per_cone_vs_jet_pt"), jetPt, counts.nPions[cone]); + registryMC.fill(HIST("mc/ue/truth/kaons/n_kaons_per_cone_vs_jet_pt"), jetPt, counts.nKaons[cone]); + registryMC.fill(HIST("mc/ue/truth/protons/n_protons_per_cone_vs_jet_pt"), jetPt, counts.nProtons[cone]); + } + } + return counts; + } + template bool hasITSLayerHit(const TrackIts& track, int layer) { @@ -1270,78 +1543,138 @@ struct JetHadronsPid { } template - bool passedTrackSelection(const TrackType& track) + bool passedTrackSelection(const TrackType& track, bool fillCutFlow = false) { + const double ptCutFlow = track.pt(); + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 0, ptCutFlow); + } if (requirePvContributor && !(track.isPVContributor())) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 1, ptCutFlow); + } if (!track.hasITS() || !track.hasTPC()) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 2, ptCutFlow); + } if ((!hasITSLayerHit(track, 1)) && (!hasITSLayerHit(track, 2)) && (!hasITSLayerHit(track, 3))) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 3, ptCutFlow); + } if (track.tpcNClsCrossedRows() < minTpcNcrossedRows) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 4, ptCutFlow); + } if (track.tpcNClsFound() < minTpcNclusters) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 5, ptCutFlow); + } if (track.itsNCls() < minItsNclusters) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 6, ptCutFlow); + } if (track.itsNClsInnerBarrel() < minItsIbNclusters) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 7, ptCutFlow); + } if (!track.passedTPCCrossedRowsOverNCls()) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 8, ptCutFlow); + } if (track.tpcChi2NCl() < minChiSquareTpc || track.tpcChi2NCl() > maxChiSquareTpc) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 9, ptCutFlow); + } if (track.itsChi2NCl() > maxChiSquareIts) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 10, ptCutFlow); + } if (!track.passedGoldenChi2()) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 11, ptCutFlow); + } if (track.eta() < minEta || track.eta() > maxEta) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 12, ptCutFlow); + } if (track.pt() < minPt || track.pt() > maxPt) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 13, ptCutFlow); + } const double maxDcaxyCut = maxDcaxy + dcaXyPtPart / track.pt(); const double maxDcazCut = maxDcaz + dcaZPtPart / track.pt(); if (std::abs(track.dcaXY()) > maxDcaxyCut || std::abs(track.dcaZ()) > maxDcazCut) { return false; } + if (fillCutFlow) { + registryData.fill(HIST("qa/track_cuts"), 14, ptCutFlow); + } return true; } void processPureTracks(StandardEvents::iterator const& collision, HadronTracks const& globalTracks) { - if (!collision.sel8() || std::abs(collision.posZ()) > zVtx) { + + // later maybe add rct here and ITS-TPC vertex check in jets + registryData.fill(HIST("qa/event_cuts"), 0); + if (!collision.sel8()) { + return; + } + registryData.fill(HIST("qa/event_cuts"), 1); + if (std::abs(collision.posZ()) > zVtx) { return; } + registryData.fill(HIST("qa/event_cuts"), 2); if (rejectITSROFBorder && !collision.selection_bit(o2::aod::evsel::kNoITSROFrameBorder)) { return; } + registryData.fill(HIST("qa/event_cuts"), 3); if (rejectTFBorder && !collision.selection_bit(o2::aod::evsel::kNoTimeFrameBorder)) { return; } + registryData.fill(HIST("qa/event_cuts"), 4); if (requireVtxITSTPC && !collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) { return; } + registryData.fill(HIST("qa/event_cuts"), 5); if (rejectSameBunchPileup && !collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) { return; } + registryData.fill(HIST("qa/event_cuts"), 6); if (requireIsGoodZvtxFT0VsPV && !collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) { return; } + registryData.fill(HIST("qa/event_cuts"), 7); if (requireIsVertexTOFmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTOFmatched)) { return; } + registryData.fill(HIST("qa/event_cuts"), 8); int nSelectedTracks = 0; @@ -1352,7 +1685,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/pure/collisions/n_contributors"), collision.numContrib()); for (auto const& track : globalTracks) { - if (!passedTrackSelection(track)) { + if (!passedTrackSelection(track, true)) { continue; } @@ -1396,6 +1729,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/pure/pions/pos/pion_pure_pos_tof"), pt, track.tofNSigmaPi()); + registryData.fill(HIST("data/pure/pions/pos/pion_pure_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); } registryData.fill(HIST("data/pure/pions/pos/pion_pure_pos_pt"), pt); registryData.fill(HIST("data/pure/pions/pos/pion_pure_pos_eta"), eta); @@ -1408,6 +1742,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/pure/pions/neg/pion_pure_neg_tof"), pt, track.tofNSigmaPi()); + registryData.fill(HIST("data/pure/pions/neg/pion_pure_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); } registryData.fill(HIST("data/pure/pions/neg/pion_pure_neg_pt"), pt); registryData.fill(HIST("data/pure/pions/neg/pion_pure_neg_eta"), eta); @@ -1440,6 +1775,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/pure/kaons/pos/kaon_pure_pos_tof"), pt, track.tofNSigmaKa()); + registryData.fill(HIST("data/pure/kaons/pos/kaon_pure_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); } registryData.fill(HIST("data/pure/kaons/pos/kaon_pure_pos_pt"), pt); registryData.fill(HIST("data/pure/kaons/pos/kaon_pure_pos_eta"), eta); @@ -1452,6 +1788,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/pure/kaons/neg/kaon_pure_neg_tof"), pt, track.tofNSigmaKa()); + registryData.fill(HIST("data/pure/kaons/neg/kaon_pure_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); } registryData.fill(HIST("data/pure/kaons/neg/kaon_pure_neg_pt"), pt); registryData.fill(HIST("data/pure/kaons/neg/kaon_pure_neg_eta"), eta); @@ -1484,6 +1821,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/pure/protons/pos/proton_pure_pos_tof"), pt, track.tofNSigmaPr()); + registryData.fill(HIST("data/pure/protons/pos/proton_pure_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); } registryData.fill(HIST("data/pure/protons/pos/proton_pure_pos_pt"), pt); registryData.fill(HIST("data/pure/protons/pos/proton_pure_pos_eta"), eta); @@ -1496,6 +1834,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/pure/protons/neg/proton_pure_neg_tof"), pt, track.tofNSigmaPr()); + registryData.fill(HIST("data/pure/protons/neg/proton_pure_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); } registryData.fill(HIST("data/pure/protons/neg/proton_pure_neg_pt"), pt); registryData.fill(HIST("data/pure/protons/neg/proton_pure_neg_eta"), eta); @@ -1510,27 +1849,39 @@ struct JetHadronsPid { void processMC(soa::Join::iterator const& collision, HadronTracksMC const& tracks, aod::McParticles const& particles) { - if (!collision.sel8() || std::abs(collision.posZ()) > zVtx) { + registryData.fill(HIST("qa/event_cuts"), 0); + if (!collision.sel8()) { + return; + } + registryData.fill(HIST("qa/event_cuts"), 1); + if (std::abs(collision.posZ()) > zVtx) { return; } + registryData.fill(HIST("qa/event_cuts"), 2); if (rejectITSROFBorder && !collision.selection_bit(o2::aod::evsel::kNoITSROFrameBorder)) { return; } + registryData.fill(HIST("qa/event_cuts"), 3); if (rejectTFBorder && !collision.selection_bit(o2::aod::evsel::kNoTimeFrameBorder)) { return; } + registryData.fill(HIST("qa/event_cuts"), 4); if (requireVtxITSTPC && !collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) { return; } + registryData.fill(HIST("qa/event_cuts"), 5); if (rejectSameBunchPileup && !collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) { return; } + registryData.fill(HIST("qa/event_cuts"), 6); if (requireIsGoodZvtxFT0VsPV && !collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) { return; } + registryData.fill(HIST("qa/event_cuts"), 7); if (requireIsVertexTOFmatched && !collision.selection_bit(o2::aod::evsel::kIsVertexTOFmatched)) { return; } + registryData.fill(HIST("qa/event_cuts"), 8); registryMC.fill(HIST("mc/matched/general/n_events"), 1); registryMC.fill(HIST("mc/matched/general/z_vertex"), collision.posZ()); @@ -1547,7 +1898,7 @@ struct JetHadronsPid { for (auto const& track : tracks) { - if (!passedTrackSelection(track)) { + if (!passedTrackSelection(track, true)) { continue; } @@ -1609,8 +1960,16 @@ struct JetHadronsPid { registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/contamination_matrix_pion_pos"), realpdg, pt); registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_tpc"), pt, track.tpcNSigmaPi()); + if (pdg == PDG_t::kPiPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_tpc_true"), pt, track.tpcNSigmaPi()); + } if (track.hasTOF()) { registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_tof"), pt, track.tofNSigmaPi()); + registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + if (pdg == PDG_t::kPiPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_tof_true"), pt, track.tofNSigmaPi()); + registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + } } registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_eta"), eta); registryMC.fill(HIST("mc/matched/reconstruction/pions/pos/rec_pion_pos_eta_phi"), phi, eta); @@ -1626,8 +1985,16 @@ struct JetHadronsPid { registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/contamination_matrix_pion_neg"), realpdg, pt); registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_tpc"), pt, track.tpcNSigmaPi()); + if (pdg == PDG_t::kPiPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_tpc_true"), pt, track.tpcNSigmaPi()); + } if (track.hasTOF()) { registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_tof"), pt, track.tofNSigmaPi()); + registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + if (pdg == PDG_t::kPiPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_tof_true"), pt, track.tofNSigmaPi()); + registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + } } registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_eta"), eta); registryMC.fill(HIST("mc/matched/reconstruction/pions/neg/rec_pion_neg_eta_phi"), phi, eta); @@ -1677,8 +2044,16 @@ struct JetHadronsPid { registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/contamination_matrix_kaon_pos"), realpdg, pt); registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tpc"), pt, track.tpcNSigmaKa()); + if (pdg == PDG_t::kKPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tpc_true"), pt, track.tpcNSigmaKa()); + } if (track.hasTOF()) { registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tof"), pt, track.tofNSigmaKa()); + registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + if (pdg == PDG_t::kKPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_tof_true"), pt, track.tofNSigmaKa()); + registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + } } registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_eta"), eta); registryMC.fill(HIST("mc/matched/reconstruction/kaons/pos/rec_kaon_pos_eta_phi"), phi, eta); @@ -1695,8 +2070,16 @@ struct JetHadronsPid { registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/contamination_matrix_kaon_neg"), realpdg, pt); registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tpc"), pt, track.tpcNSigmaKa()); + if (pdg == PDG_t::kKPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tpc_true"), pt, track.tpcNSigmaKa()); + } if (track.hasTOF()) { registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tof"), pt, track.tofNSigmaKa()); + registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + if (pdg == PDG_t::kKPlus) { + registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_tof_true"), pt, track.tofNSigmaKa()); + registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + } } registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_eta"), eta); registryMC.fill(HIST("mc/matched/reconstruction/kaons/neg/rec_kaon_neg_eta_phi"), phi, eta); @@ -1744,8 +2127,16 @@ struct JetHadronsPid { registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/contamination_matrix_proton_pos"), realpdg, pt); registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_tpc"), pt, track.tpcNSigmaPr()); + if (pdg == PDG_t::kProton) { + registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_tpc_true"), pt, track.tpcNSigmaPr()); + } if (track.hasTOF()) { registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_tof"), pt, track.tofNSigmaPr()); + registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + if (pdg == PDG_t::kProton) { + registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_tof_true"), pt, track.tofNSigmaPr()); + registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + } } registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_eta"), eta); registryMC.fill(HIST("mc/matched/reconstruction/protons/pos/rec_proton_pos_eta_phi"), phi, eta); @@ -1761,8 +2152,16 @@ struct JetHadronsPid { registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/contamination_matrix_proton_neg"), realpdg, pt); registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_tpc"), pt, track.tpcNSigmaPr()); + if (pdg == PDG_t::kProton) { + registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_tpc_true"), pt, track.tpcNSigmaPr()); + } if (track.hasTOF()) { registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_tof"), pt, track.tofNSigmaPr()); + registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + if (pdg == PDG_t::kProton) { + registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_tof_true"), pt, track.tofNSigmaPr()); + registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + } } registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_eta"), eta); registryMC.fill(HIST("mc/matched/reconstruction/protons/neg/rec_proton_neg_eta_phi"), phi, eta); @@ -1938,13 +2337,14 @@ struct JetHadronsPid { continue; } - if (isppRefAnalysis && (jet.pt() < minJetPt || jet.pt() > maxJetPt)) { - continue; + double ptSub = jet.pt() - (centralRho * jet.area()); + double jetPt = jet.pt(); + if (useSubtractedJetPt) { + jetPt = ptSub; } - double ptSub = jet.pt() - (centralRho * jet.area()); - if (ptSub < 0) { - ptSub = 0.0; + if (isppRefAnalysis && (jetPt < minJetPt || jetPt > maxJetPt)) { + continue; } if (!isppRefAnalysis && (ptSub < minJetPt || ptSub > maxJetPt)) { @@ -2029,7 +2429,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/pions/pion_tof_beta_vs_p"), p, track.beta()); } registryData.fill(HIST("data/jets/pions/pion_jet_tpc"), pt, track.tpcNSigmaPi()); - registryData.fill(HIST("data/jets/pions/pion_pt_vs_jet_pt"), jet.pt(), pt); + registryData.fill(HIST("data/jets/pions/pion_pt_vs_jet_pt"), jetPt, pt); if (charge > 0) { nPionsInJetPos++; @@ -2041,6 +2441,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/jets/pions/pos/pion_jet_pos_tof"), pt, track.tofNSigmaPi()); + registryData.fill(HIST("data/jets/pions/pos/pion_jet_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); } registryData.fill(HIST("data/jets/pions/pos/pion_jet_pos_pt"), pt); registryData.fill(HIST("data/jets/pions/pos/pion_jet_pos_eta"), eta); @@ -2055,6 +2456,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/cone/pions/pion_neg_2d"), deltaEtaJet, deltaPhiJet); if (track.hasTOF()) { registryData.fill(HIST("data/jets/pions/neg/pion_jet_neg_tof"), pt, track.tofNSigmaPi()); + registryData.fill(HIST("data/jets/pions/neg/pion_jet_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); } registryData.fill(HIST("data/jets/pions/neg/pion_jet_neg_pt"), pt); registryData.fill(HIST("data/jets/pions/neg/pion_jet_neg_eta"), eta); @@ -2071,7 +2473,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/kaons/kaon_tof_beta_vs_p"), p, track.beta()); } registryData.fill(HIST("data/jets/kaons/kaon_jet_tpc"), pt, track.tpcNSigmaKa()); - registryData.fill(HIST("data/jets/kaons/kaon_pt_vs_jet_pt"), jet.pt(), pt); + registryData.fill(HIST("data/jets/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); if (charge > 0) { nKaonsInJetPos++; @@ -2083,6 +2485,7 @@ struct JetHadronsPid { if (track.hasTOF()) { registryData.fill(HIST("data/jets/kaons/pos/kaon_jet_pos_tof"), pt, track.tofNSigmaKa()); + registryData.fill(HIST("data/jets/kaons/pos/kaon_jet_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); } registryData.fill(HIST("data/jets/kaons/pos/kaon_jet_pos_pt"), pt); registryData.fill(HIST("data/jets/kaons/pos/kaon_jet_pos_eta"), eta); @@ -2097,6 +2500,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/cone/kaons/kaon_neg_2d"), deltaEtaJet, deltaPhiJet); if (track.hasTOF()) { registryData.fill(HIST("data/jets/kaons/neg/kaon_jet_neg_tof"), pt, track.tofNSigmaKa()); + registryData.fill(HIST("data/jets/kaons/neg/kaon_jet_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); } registryData.fill(HIST("data/jets/kaons/neg/kaon_jet_neg_pt"), pt); registryData.fill(HIST("data/jets/kaons/neg/kaon_jet_neg_eta"), eta); @@ -2113,7 +2517,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/protons/proton_tof_beta_vs_p"), p, track.beta()); } registryData.fill(HIST("data/jets/protons/proton_jet_tpc"), pt, track.tpcNSigmaPr()); - registryData.fill(HIST("data/jets/protons/proton_pt_vs_jet_pt"), jet.pt(), pt); + registryData.fill(HIST("data/jets/protons/proton_pt_vs_jet_pt"), jetPt, pt); if (charge > 0) { nProtonsInJetPos++; @@ -2124,6 +2528,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/cone/protons/proton_pos_2d"), deltaEtaJet, deltaPhiJet); if (track.hasTOF()) { registryData.fill(HIST("data/jets/protons/pos/proton_jet_pos_tof"), pt, track.tofNSigmaPr()); + registryData.fill(HIST("data/jets/protons/pos/proton_jet_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); } registryData.fill(HIST("data/jets/protons/pos/proton_jet_pos_pt"), pt); registryData.fill(HIST("data/jets/protons/pos/proton_jet_pos_eta"), eta); @@ -2137,6 +2542,7 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/cone/protons/proton_neg_2d"), deltaEtaJet, deltaPhiJet); if (track.hasTOF()) { registryData.fill(HIST("data/jets/protons/neg/proton_jet_neg_tof"), pt, track.tofNSigmaPr()); + registryData.fill(HIST("data/jets/protons/neg/proton_jet_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); } registryData.fill(HIST("data/jets/protons/neg/proton_jet_neg_pt"), pt); registryData.fill(HIST("data/jets/protons/neg/proton_jet_neg_eta"), eta); @@ -2163,140 +2569,15 @@ struct JetHadronsPid { registryData.fill(HIST("data/jets/kaons/n_kaons_per_jet"), nKaonsInJet); registryData.fill(HIST("data/jets/protons/n_protons_per_jet"), nProtonsInJet); - registryData.fill(HIST("data/jets/pions/n_pions_vs_jet_pt"), jet.pt(), nPionsInJet); - registryData.fill(HIST("data/jets/kaons/n_kaons_vs_jet_pt"), jet.pt(), nKaonsInJet); - registryData.fill(HIST("data/jets/protons/n_protons_vs_jet_pt"), jet.pt(), nProtonsInJet); + registryData.fill(HIST("data/jets/pions/n_pions_vs_jet_pt"), jetPt, nPionsInJet); + registryData.fill(HIST("data/jets/kaons/n_kaons_vs_jet_pt"), jetPt, nKaonsInJet); + registryData.fill(HIST("data/jets/protons/n_protons_vs_jet_pt"), jetPt, nProtonsInJet); registryData.fill(HIST("data/jets/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJet); registryData.fill(HIST("data/jets/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJet); registryData.fill(HIST("data/jets/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJet); - int nTracksOut = 0; - - for (auto const& track : collTracks) { - - if (!passedTrackSelection(track)) { - continue; - } - - double deltaEtaUe1 = track.eta() - ueAxis1.Eta(); - double deltaPhiUe1 = RecoDecay::constrainAngle(track.phi() - ueAxis1.Phi(), -PI); - double deltaRUe1 = std::hypot(deltaEtaUe1, deltaPhiUe1); - - double deltaEtaUe2 = track.eta() - ueAxis2.Eta(); - double deltaPhiUe2 = RecoDecay::constrainAngle(track.phi() - ueAxis2.Phi(), -PI); - double deltaRUe2 = std::hypot(deltaEtaUe2, deltaPhiUe2); - - if (deltaRUe1 > rJet && deltaRUe2 > rJet) { - continue; - } - - double pt = track.pt(); - double eta = track.eta(); - double dcaxy = track.dcaXY(); - double dcaz = track.dcaZ(); - int charge = track.sign(); - - PidResult pid = getPid(track); - nTracksOut++; - - if (pid.isPion) { - registryData.fill(HIST("data/ue/pions/pion_ue_tpc"), pt, track.tpcNSigmaPi()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/pions/pion_ue_tof"), pt, track.tofNSigmaPi()); - } - - registryData.fill(HIST("data/ue/pions/pion_ue_pt"), pt); - registryData.fill(HIST("data/ue/pions/pion_ue_eta"), eta); - registryData.fill(HIST("data/ue/pions/pion_ue_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/pions/pion_ue_dcaz"), pt, dcaz); - - if (charge > 0) { - registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_tpc"), pt, track.tpcNSigmaPi()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_tof"), pt, track.tofNSigmaPi()); - } - registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_pt"), pt); - registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_eta"), eta); - registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/pions/pos/pion_ue_pos_dcaz"), pt, dcaz); - } else { - registryData.fill(HIST("data/ue/pions/neg/pion_ue_neg_tpc"), pt, track.tpcNSigmaPi()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/pions/neg/pion_ue_neg_tof"), pt, track.tofNSigmaPi()); - } - registryData.fill(HIST("data/ue/pions/neg/pion_ue_neg_pt"), pt); - registryData.fill(HIST("data/ue/pions/neg/pion_ue_neg_eta"), eta); - registryData.fill(HIST("data/ue/pions/neg/pion_ue_neg_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/pions/neg/pion_ue_neg_dcaz"), pt, dcaz); - } - } - - if (pid.isKaon) { - registryData.fill(HIST("data/ue/kaons/kaon_ue_tpc"), pt, track.tpcNSigmaKa()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/kaons/kaon_ue_tof"), pt, track.tofNSigmaKa()); - } - - registryData.fill(HIST("data/ue/kaons/kaon_ue_pt"), pt); - registryData.fill(HIST("data/ue/kaons/kaon_ue_eta"), eta); - registryData.fill(HIST("data/ue/kaons/kaon_ue_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/kaons/kaon_ue_dcaz"), pt, dcaz); - - if (charge > 0) { - registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_tpc"), pt, track.tpcNSigmaKa()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_tof"), pt, track.tofNSigmaKa()); - } - registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_pt"), pt); - registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_eta"), eta); - registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/kaons/pos/kaon_ue_pos_dcaz"), pt, dcaz); - } else { - registryData.fill(HIST("data/ue/kaons/neg/kaon_ue_neg_tpc"), pt, track.tpcNSigmaKa()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/kaons/neg/kaon_ue_neg_tof"), pt, track.tofNSigmaKa()); - } - registryData.fill(HIST("data/ue/kaons/neg/kaon_ue_neg_pt"), pt); - registryData.fill(HIST("data/ue/kaons/neg/kaon_ue_neg_eta"), eta); - registryData.fill(HIST("data/ue/kaons/neg/kaon_ue_neg_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/kaons/neg/kaon_ue_neg_dcaz"), pt, dcaz); - } - } - - if (pid.isProton) { - registryData.fill(HIST("data/ue/protons/proton_ue_tpc"), pt, track.tpcNSigmaPr()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/protons/proton_ue_tof"), pt, track.tofNSigmaPr()); - } - - registryData.fill(HIST("data/ue/protons/proton_ue_pt"), pt); - registryData.fill(HIST("data/ue/protons/proton_ue_eta"), eta); - registryData.fill(HIST("data/ue/protons/proton_ue_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/protons/proton_ue_dcaz"), pt, dcaz); - - if (charge > 0) { - registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_tpc"), pt, track.tpcNSigmaPr()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_tof"), pt, track.tofNSigmaPr()); - } - registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_pt"), pt); - registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_eta"), eta); - registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/protons/pos/proton_ue_pos_dcaz"), pt, dcaz); - } else { - registryData.fill(HIST("data/ue/protons/neg/proton_ue_neg_tpc"), pt, track.tpcNSigmaPr()); - if (track.hasTOF()) { - registryData.fill(HIST("data/ue/protons/neg/proton_ue_neg_tof"), pt, track.tofNSigmaPr()); - } - registryData.fill(HIST("data/ue/protons/neg/proton_ue_neg_pt"), pt); - registryData.fill(HIST("data/ue/protons/neg/proton_ue_neg_eta"), eta); - registryData.fill(HIST("data/ue/protons/neg/proton_ue_neg_dcaxy"), pt, dcaxy); - registryData.fill(HIST("data/ue/protons/neg/proton_ue_neg_dcaz"), pt, dcaz); - } - } - } - registryData.fill(HIST("data/ue/general/tracks_n_in_ue"), nTracksOut); + fillConesDetectorLevel(collTracks, jetAxis, jetPt, true); } registryData.fill(HIST("data/jets/general/total_tracks_pure_vs_jets"), 2.0, static_cast(tracksInJetsCollision)); registryData.fill(HIST("data/jets/general/collision_multiplicity"), jetsInCollision); @@ -2307,11 +2588,12 @@ struct JetHadronsPid { soa::Join const& detectorLevelJets, soa::Join const&, ChargedMCPJets const& particleLevelJets, - aod::JetParticles const&, - HadronTracksMC const&, aod::McParticles const&) + aod::JetParticles const& jetParticles, + HadronTracksMC const& tracks, aod::McParticles const&, + MCPJetEvents const&) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/n_events_raw"), 1); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/n_events_raw"), 1); if (!jetderiveddatautilities::selectCollision(collision, eventSelectionBits)) { return; @@ -2321,9 +2603,18 @@ struct JetHadronsPid { return; } - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/n_events"), 1); + if (!collision.has_mcCollision()) { + return; + } + + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/n_events"), 1); double centralRho = collision.rho(); + double mcRho = collision.mcCollision_as().rho(); + + auto const tracksInCollision = tracks.sliceBy(mcTracksPerCollision, collision.collisionId()); + auto const particlesInMcCollision = jetParticles.sliceBy(jetParticlesPerMcCollision, collision.mcCollisionId()); + int jetsInCollision = 0; std::set matchedTruthJetIndices; @@ -2337,13 +2628,14 @@ struct JetHadronsPid { continue; } - if (isppRefAnalysis && (djet.pt() < minJetPt || djet.pt() > maxJetPt)) { - continue; + double ptSub = djet.pt() - (centralRho * djet.area()); + double jetPt = djet.pt(); + if (useSubtractedJetPt) { + jetPt = ptSub; } - double ptSub = djet.pt() - (centralRho * djet.area()); - if (ptSub < 0) { - ptSub = 0.0; + if (isppRefAnalysis && (jetPt < minJetPt || jetPt > maxJetPt)) { + continue; } if (!isppRefAnalysis && (ptSub < minJetPt || ptSub > maxJetPt)) { @@ -2375,11 +2667,11 @@ struct JetHadronsPid { } if (matchedIt == geoMatches.end()) { - registryMC.fill(HIST("mc/jets/matched/fake/general/jet_pt"), djet.pt()); - registryMC.fill(HIST("mc/jets/matched/fake/general/jet_eta"), djet.eta()); - registryMC.fill(HIST("mc/jets/matched/fake/general/jet_phi"), djet.phi()); - registryMC.fill(HIST("mc/jets/matched/fake/general/jet_area"), djet.area()); - registryMC.fill(HIST("mc/jets/matched/fake/general/jet_n_constituents"), djet.tracksIds().size()); + registryMCJets.fill(HIST("mc/jets/matched/fake/general/jet_pt"), djet.pt()); + registryMCJets.fill(HIST("mc/jets/matched/fake/general/jet_eta"), djet.eta()); + registryMCJets.fill(HIST("mc/jets/matched/fake/general/jet_phi"), djet.phi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/general/jet_area"), djet.area()); + registryMCJets.fill(HIST("mc/jets/matched/fake/general/jet_n_constituents"), djet.tracksIds().size()); int nSelectedConstituentsFake = 0; @@ -2420,253 +2712,257 @@ struct JetHadronsPid { isPrimary = trueParticle.isPhysicalPrimary(); } - registryMC.fill(HIST("mc/jets/matched/fake/hadrons/rec_hadron_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/hadrons/rec_hadron_all"), pt); if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/fake/hadrons/mc_rec_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/hadrons/mc_rec_hadron_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/hadrons/mc_sec_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/hadrons/mc_sec_hadron_pt"), pt); } const PidResult pid = getPid(track); if (pid.isPion) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/pion_pt_vs_jet_pt"), djet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pion_pt_vs_jet_pt"), jetPt, pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/rec_pion_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/contamination_matrix_pion"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pion_jet_tpc"), pt, track.tpcNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pion_tpc_signal_vs_p"), p, track.tpcSignal()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/rec_pion_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/contamination_matrix_pion"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pion_jet_tpc"), pt, track.tpcNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pion_tpc_signal_vs_p"), p, track.tpcSignal()); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/pion_jet_tof"), pt, track.tofNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pion_tof_beta_vs_p"), p, track.beta()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pion_jet_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pion_tof_beta_vs_p"), p, track.beta()); } if (charge > 0) { nPionsInJetPosFake++; - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/rec_pion_pos_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/contamination_matrix_pion_pos"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_tpc"), pt, track.tpcNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/rec_pion_pos_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/contamination_matrix_pion_pos"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_tpc"), pt, track.tpcNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/rec_pion_pos_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/rec_pion_pos_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/pion_jet_pos_tof"), pt, track.tofNSigmaPi()); } } else { nPionsInJetNegFake++; - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/rec_pion_neg_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/contamination_matrix_pion_neg"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_tpc"), pt, track.tpcNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/rec_pion_neg_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/contamination_matrix_pion_neg"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_tpc"), pt, track.tpcNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/rec_pion_neg_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/rec_pion_neg_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/pion_jet_neg_tof"), pt, track.tofNSigmaPi()); } } if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/mc_rec_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/mc_rec_pion_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/mc_rec_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/mc_rec_pion_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/mc_rec_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/mc_rec_pion_neg_pt"), pt); } } else { if (pdg == PDG_t::kPiPlus) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/mc_sec_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/mc_sec_pion_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/mc_sec_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/mc_sec_pion_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/mc_sec_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/mc_sec_pion_neg_pt"), pt); } } } } if (pid.isKaon) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/kaon_pt_vs_jet_pt"), djet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/rec_kaon_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/contamination_matrix_kaon"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/kaon_jet_tpc"), pt, track.tpcNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/kaon_tpc_signal_vs_p"), p, track.tpcSignal()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/rec_kaon_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/contamination_matrix_kaon"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/kaon_jet_tpc"), pt, track.tpcNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/kaon_tpc_signal_vs_p"), p, track.tpcSignal()); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/kaon_jet_tof"), pt, track.tofNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/kaon_tof_beta_vs_p"), p, track.beta()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/kaon_jet_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/kaon_tof_beta_vs_p"), p, track.beta()); } if (charge > 0) { nKaonsInJetPosFake++; - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/contamination_matrix_kaon_pos"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tpc"), pt, track.tpcNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/contamination_matrix_kaon_pos"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tpc"), pt, track.tpcNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/rec_kaon_pos_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/kaon_jet_pos_tof"), pt, track.tofNSigmaKa()); } } else { nKaonsInJetNegFake++; - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/contamination_matrix_kaon_neg"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tpc"), pt, track.tpcNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/contamination_matrix_kaon_neg"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tpc"), pt, track.tpcNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/kaon_jet_neg_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/rec_kaon_neg_tof"), pt, track.tofNSigmaKa()); } } if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/mc_rec_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/mc_rec_kaon_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/mc_rec_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/mc_rec_kaon_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/mc_rec_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/mc_rec_kaon_neg_pt"), pt); } } else { if (pdg == PDG_t::kKPlus) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/mc_sec_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/mc_sec_kaon_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/mc_sec_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/mc_sec_kaon_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/mc_sec_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/mc_sec_kaon_neg_pt"), pt); } } } } if (pid.isProton) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/proton_pt_vs_jet_pt"), djet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/proton_pt_vs_jet_pt"), jetPt, pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/rec_proton_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/contamination_matrix_proton"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/proton_jet_tpc"), pt, track.tpcNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/fake/protons/proton_tpc_signal_vs_p"), p, track.tpcSignal()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/rec_proton_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/contamination_matrix_proton"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/proton_jet_tpc"), pt, track.tpcNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/proton_tpc_signal_vs_p"), p, track.tpcSignal()); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/proton_jet_tof"), pt, track.tofNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/fake/protons/proton_tof_beta_vs_p"), p, track.beta()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/proton_jet_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/proton_tof_beta_vs_p"), p, track.beta()); } if (charge > 0) { nProtonsInJetPosFake++; - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/rec_proton_pos_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/contamination_matrix_proton_pos"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_tpc"), pt, track.tpcNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/rec_proton_pos_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/contamination_matrix_proton_pos"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_tpc"), pt, track.tpcNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/rec_proton_pos_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/rec_proton_pos_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/proton_jet_pos_tof"), pt, track.tofNSigmaPr()); } } else { nProtonsInJetNegFake++; - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/rec_proton_neg_all"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/contamination_matrix_proton_neg"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_tpc"), pt, track.tpcNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/rec_proton_neg_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/contamination_matrix_proton_neg"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_tpc"), pt, track.tpcNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/rec_proton_neg_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/rec_proton_neg_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/proton_jet_neg_tof"), pt, track.tofNSigmaPr()); } } if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/mc_rec_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/mc_rec_proton_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/mc_rec_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/mc_rec_proton_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/mc_rec_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/mc_rec_proton_neg_pt"), pt); } } else { if (pdg == PDG_t::kProton) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/mc_sec_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/mc_sec_proton_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/mc_sec_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/mc_sec_proton_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/mc_sec_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/mc_sec_proton_neg_pt"), pt); } } } } } - registryMC.fill(HIST("mc/jets/matched/fake/general/jet_n_selected_constituents"), nSelectedConstituentsFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/general/jet_n_selected_constituents"), nSelectedConstituentsFake); const int nPionsInJetFake = nPionsInJetPosFake + nPionsInJetNegFake; const int nKaonsInJetFake = nKaonsInJetPosFake + nKaonsInJetNegFake; const int nProtonsInJetFake = nProtonsInJetPosFake + nProtonsInJetNegFake; - registryMC.fill(HIST("mc/jets/matched/fake/pions/pos/n_pions_per_jet"), nPionsInJetPosFake); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/pos/n_kaons_per_jet"), nKaonsInJetPosFake); - registryMC.fill(HIST("mc/jets/matched/fake/protons/pos/n_protons_per_jet"), nProtonsInJetPosFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/pos/n_pions_per_jet"), nPionsInJetPosFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/pos/n_kaons_per_jet"), nKaonsInJetPosFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/pos/n_protons_per_jet"), nProtonsInJetPosFake); - registryMC.fill(HIST("mc/jets/matched/fake/pions/neg/n_pions_per_jet"), nPionsInJetNegFake); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/neg/n_kaons_per_jet"), nKaonsInJetNegFake); - registryMC.fill(HIST("mc/jets/matched/fake/protons/neg/n_protons_per_jet"), nProtonsInJetNegFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/neg/n_pions_per_jet"), nPionsInJetNegFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/neg/n_kaons_per_jet"), nKaonsInJetNegFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/neg/n_protons_per_jet"), nProtonsInJetNegFake); - registryMC.fill(HIST("mc/jets/matched/fake/composition/n_pions_per_jet"), nPionsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/composition/n_kaons_per_jet"), nKaonsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/composition/n_protons_per_jet"), nProtonsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/composition/n_pions_per_jet"), nPionsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/composition/n_kaons_per_jet"), nKaonsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/composition/n_protons_per_jet"), nProtonsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/pions/n_pions_vs_jet_pt"), djet.pt(), nPionsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/kaons/n_kaons_vs_jet_pt"), djet.pt(), nKaonsInJetFake); - registryMC.fill(HIST("mc/jets/matched/fake/protons/n_protons_vs_jet_pt"), djet.pt(), nProtonsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/pions/n_pions_vs_jet_pt"), jetPt, nPionsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/kaons/n_kaons_vs_jet_pt"), jetPt, nKaonsInJetFake); + registryMCJets.fill(HIST("mc/jets/matched/fake/protons/n_protons_vs_jet_pt"), jetPt, nProtonsInJetFake); - registryMC.fill(HIST("mc/jets/matched/general/jet_match_counter"), 3.0); + registryMCJets.fill(HIST("mc/jets/matched/general/jet_match_counter"), 3.0); continue; } auto const& pjet = *matchedIt; + double pjetPt = pjet.pt(); + if (useSubtractedJetPt) { + pjetPt = pjet.pt() - (mcRho * pjet.area()); + } matchedTruthJetIndices.insert(pjet.globalIndex()); - registryMC.fill(HIST("mc/jets/matched/general/jet_match_counter"), 1.0); + registryMCJets.fill(HIST("mc/jets/matched/general/jet_match_counter"), 1.0); ++jetsInCollision; @@ -2698,19 +2994,19 @@ struct JetHadronsPid { int nSelectedConstituentsTruth = 0; - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_pt"), djet.pt()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_pt_subtracted"), ptSub); - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_pt_raw_vs_sub"), djet.pt(), ptSub); - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_eta"), djet.eta()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_phi"), djet.phi()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_area"), djet.area()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_n_constituents"), djet.tracksIds().size()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_pt"), djet.pt()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_pt_subtracted"), ptSub); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_pt_raw_vs_sub"), djet.pt(), ptSub); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_eta"), djet.eta()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_phi"), djet.phi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_area"), djet.area()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_n_constituents"), djet.tracksIds().size()); - registryMC.fill(HIST("mc/jets/matched/truth/general/jet_pt"), pjet.pt()); - registryMC.fill(HIST("mc/jets/matched/truth/general/jet_eta"), pjet.eta()); - registryMC.fill(HIST("mc/jets/matched/truth/general/jet_phi"), pjet.phi()); - registryMC.fill(HIST("mc/jets/matched/truth/general/jet_area"), pjet.area()); - registryMC.fill(HIST("mc/jets/matched/truth/general/jet_n_constituents"), pjet.tracksIds().size()); + registryMCJets.fill(HIST("mc/jets/matched/truth/general/jet_pt"), pjet.pt()); + registryMCJets.fill(HIST("mc/jets/matched/truth/general/jet_eta"), pjet.eta()); + registryMCJets.fill(HIST("mc/jets/matched/truth/general/jet_phi"), pjet.phi()); + registryMCJets.fill(HIST("mc/jets/matched/truth/general/jet_area"), pjet.area()); + registryMCJets.fill(HIST("mc/jets/matched/truth/general/jet_n_constituents"), pjet.tracksIds().size()); for (auto const& jtrack : djet.tracks_as>()) { @@ -2741,243 +3037,291 @@ struct JetHadronsPid { isPrimary = trueParticle.isPhysicalPrimary(); } - registryMC.fill(HIST("mc/jets/matched/reconstructed/hadrons/rec_hadron_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/hadrons/rec_hadron_all"), pt); if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/hadrons/mc_rec_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/hadrons/mc_rec_hadron_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/hadrons/mc_sec_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/hadrons/mc_sec_hadron_pt"), pt); } const PidResult pid = getPid(track); if (pid.isPion) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pion_pt_vs_jet_pt"), djet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pion_pt_vs_jet_pt"), jetPt, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/rec_pion_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/contamination_matrix_pion"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pion_jet_tpc"), pt, track.tpcNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pion_tpc_signal_vs_p"), p, track.tpcSignal()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/rec_pion_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/contamination_matrix_pion"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pion_jet_tpc"), pt, track.tpcNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pion_tpc_signal_vs_p"), p, track.tpcSignal()); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pion_jet_tof"), pt, track.tofNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pion_tof_beta_vs_p"), p, track.beta()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pion_jet_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pion_tof_beta_vs_p"), p, track.beta()); } if (charge > 0) { nPionsInJetPos++; - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/contamination_matrix_pion_pos"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tpc"), pt, track.tpcNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/contamination_matrix_pion_pos"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tpc"), pt, track.tpcNSigmaPi()); + if (pdg == PDG_t::kPiPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tpc_true"), pt, track.tpcNSigmaPi()); + } + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/rec_pion_pos_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + if (pdg == PDG_t::kPiPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_tof_true"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/pion_jet_pos_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + } } } else { nPionsInJetNeg++; - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/contamination_matrix_pion_neg"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tpc"), pt, track.tpcNSigmaPi()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/contamination_matrix_pion_neg"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tpc"), pt, track.tpcNSigmaPi()); + if (pdg == PDG_t::kPiPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tpc_true"), pt, track.tpcNSigmaPi()); + } + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/rec_pion_neg_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tof"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + if (pdg == PDG_t::kPiPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_tof_true"), pt, track.tofNSigmaPi()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/pion_jet_neg_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPi(), track.tpcNSigmaPi())); + } } } if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/mc_rec_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/mc_rec_pion_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/mc_rec_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/mc_rec_pion_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/mc_rec_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/mc_rec_pion_neg_pt"), pt); } } else { if (pdg == PDG_t::kPiPlus) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/mc_sec_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/mc_sec_pion_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/mc_sec_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/mc_sec_pion_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/mc_sec_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/mc_sec_pion_neg_pt"), pt); } } } } if (pid.isKaon) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_pt_vs_jet_pt"), djet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/rec_kaon_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/contamination_matrix_kaon"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_jet_tpc"), pt, track.tpcNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_tpc_signal_vs_p"), p, track.tpcSignal()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/rec_kaon_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/contamination_matrix_kaon"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_jet_tpc"), pt, track.tpcNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_tpc_signal_vs_p"), p, track.tpcSignal()); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_jet_tof"), pt, track.tofNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_tof_beta_vs_p"), p, track.beta()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_jet_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/kaon_tof_beta_vs_p"), p, track.beta()); } if (charge > 0) { nKaonsInJetPos++; - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/contamination_matrix_kaon_pos"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tpc"), pt, track.tpcNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/contamination_matrix_kaon_pos"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tpc"), pt, track.tpcNSigmaKa()); + if (pdg == PDG_t::kKPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tpc_true"), pt, track.tpcNSigmaKa()); + } + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/rec_kaon_pos_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + if (pdg == PDG_t::kKPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_tof_true"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/kaon_jet_pos_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + } } } else { nKaonsInJetNeg++; - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/contamination_matrix_kaon_neg"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tpc"), pt, track.tpcNSigmaKa()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/contamination_matrix_kaon_neg"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tpc"), pt, track.tpcNSigmaKa()); + if (pdg == PDG_t::kKPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_tpc_true"), pt, track.tpcNSigmaKa()); + } + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/rec_kaon_neg_tof"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + if (pdg == PDG_t::kKPlus) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_tof_true"), pt, track.tofNSigmaKa()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/kaon_jet_neg_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaKa(), track.tpcNSigmaKa())); + } } } if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/mc_rec_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/mc_rec_kaon_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/mc_rec_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/mc_rec_kaon_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/mc_rec_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/mc_rec_kaon_neg_pt"), pt); } } else { if (pdg == PDG_t::kKPlus) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/mc_sec_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/mc_sec_kaon_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/mc_sec_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/mc_sec_kaon_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/mc_sec_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/mc_sec_kaon_neg_pt"), pt); } } } } if (pid.isProton) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/proton_pt_vs_jet_pt"), djet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/proton_pt_vs_jet_pt"), jetPt, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/rec_proton_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/contamination_matrix_proton"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/proton_jet_tpc"), pt, track.tpcNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/proton_tpc_signal_vs_p"), p, track.tpcSignal()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/rec_proton_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/contamination_matrix_proton"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/proton_jet_tpc"), pt, track.tpcNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/proton_tpc_signal_vs_p"), p, track.tpcSignal()); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/proton_jet_tof"), pt, track.tofNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/proton_tof_beta_vs_p"), p, track.beta()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/proton_jet_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/proton_tof_beta_vs_p"), p, track.beta()); } if (charge > 0) { nProtonsInJetPos++; - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/contamination_matrix_proton_pos"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tpc"), pt, track.tpcNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/contamination_matrix_proton_pos"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tpc"), pt, track.tpcNSigmaPr()); + if (pdg == PDG_t::kProton) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tpc_true"), pt, track.tpcNSigmaPr()); + } + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/rec_proton_pos_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + if (pdg == PDG_t::kProton) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_tof_true"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/proton_jet_pos_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + } } } else { nProtonsInJetNeg++; - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_all"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/contamination_matrix_proton_neg"), realpdg, pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tpc"), pt, track.tpcNSigmaPr()); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_phi_vs_pt"), pt, phi); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_all"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/contamination_matrix_proton_neg"), realpdg, pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tpc"), pt, track.tpcNSigmaPr()); + if (pdg == PDG_t::kProton) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tpc_true"), pt, track.tpcNSigmaPr()); + } + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_phi_vs_pt"), pt, phi); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_eta"), eta); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaxy"), pt, dcaxy); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaz"), pt, dcaz); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_eta"), eta); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaxy"), pt, dcaxy); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_dcaz"), pt, dcaz); if (track.hasTOF()) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_tof_matched"), pt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/rec_proton_neg_tof_matched"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tof"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_combined_tof_tpc"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + if (pdg == PDG_t::kProton) { + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_tof_true"), pt, track.tofNSigmaPr()); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/proton_jet_neg_combined_tof_tpc_true"), pt, std::hypot(track.tofNSigmaPr(), track.tpcNSigmaPr())); + } } } if (isPrimary) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/mc_rec_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/mc_rec_proton_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/mc_rec_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/mc_rec_proton_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/mc_rec_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/mc_rec_proton_neg_pt"), pt); } } else { if (pdg == PDG_t::kProton) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/mc_sec_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/mc_sec_proton_pt"), pt); if (charge > 0) { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/mc_sec_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/mc_sec_proton_pos_pt"), pt); } else { - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/mc_sec_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/mc_sec_proton_neg_pt"), pt); } } } } } - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/jet_n_selected_constituents"), nSelectedConstituents); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/jet_n_selected_constituents"), nSelectedConstituents); nPionsInJet = nPionsInJetPos + nPionsInJetNeg; nKaonsInJet = nKaonsInJetPos + nKaonsInJetNeg; nProtonsInJet = nProtonsInJetPos + nProtonsInJetNeg; - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/pos/n_pions_per_jet"), nPionsInJetPos); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/n_kaons_per_jet"), nKaonsInJetPos); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/pos/n_protons_per_jet"), nProtonsInJetPos); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/pos/n_pions_per_jet"), nPionsInJetPos); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/pos/n_kaons_per_jet"), nKaonsInJetPos); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/pos/n_protons_per_jet"), nProtonsInJetPos); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/neg/n_pions_per_jet"), nPionsInJetNeg); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/n_kaons_per_jet"), nKaonsInJetNeg); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/neg/n_protons_per_jet"), nProtonsInJetNeg); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/neg/n_pions_per_jet"), nPionsInJetNeg); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/neg/n_kaons_per_jet"), nKaonsInJetNeg); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/neg/n_protons_per_jet"), nProtonsInJetNeg); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/n_pions_per_jet"), nPionsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/n_kaons_per_jet"), nKaonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/n_protons_per_jet"), nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/n_pions_per_jet"), nPionsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/n_kaons_per_jet"), nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/n_protons_per_jet"), nProtonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/pions/n_pions_vs_jet_pt"), djet.pt(), nPionsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/kaons/n_kaons_vs_jet_pt"), djet.pt(), nKaonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/protons/n_protons_vs_jet_pt"), djet.pt(), nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/pions/n_pions_vs_jet_pt"), jetPt, nPionsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/kaons/n_kaons_vs_jet_pt"), jetPt, nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/protons/n_protons_vs_jet_pt"), jetPt, nProtonsInJet); for (auto const& particle : pjet.tracks_as()) { @@ -2999,81 +3343,96 @@ struct JetHadronsPid { int originalPdg = particle.pdgCode(); int pdg = std::abs(originalPdg); - registryMC.fill(HIST("mc/jets/matched/truth/hadrons/mc_gen_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/hadrons/mc_gen_hadron_pt"), pt); if (pdg == PDG_t::kPiPlus) { if (pt >= cfg.minPtPion && pt <= cfg.maxPtPion) { - registryMC.fill(HIST("mc/jets/matched/truth/pions/mc_gen_pion_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/truth/pions/pion_pt_vs_jet_pt"), pjet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/mc_gen_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/pion_pt_vs_jet_pt"), pjetPt, pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/pion_pt_vs_reco_jet_pt"), jetPt, pt); if (originalPdg > 0) { nPionsInJetPosTruth++; - registryMC.fill(HIST("mc/jets/matched/truth/pions/pos/mc_gen_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/pos/mc_gen_pion_pos_pt"), pt); } else { nPionsInJetNegTruth++; - registryMC.fill(HIST("mc/jets/matched/truth/pions/neg/mc_gen_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/neg/mc_gen_pion_neg_pt"), pt); } } } else if (pdg == PDG_t::kKPlus) { if (pt >= cfg.minPtKaon && pt <= cfg.maxPtKaon) { - registryMC.fill(HIST("mc/jets/matched/truth/kaons/mc_gen_kaon_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/truth/kaons/kaon_pt_vs_jet_pt"), pjet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/mc_gen_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/kaon_pt_vs_jet_pt"), pjetPt, pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/kaon_pt_vs_reco_jet_pt"), jetPt, pt); if (originalPdg > 0) { nKaonsInJetPosTruth++; - registryMC.fill(HIST("mc/jets/matched/truth/kaons/pos/mc_gen_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/pos/mc_gen_kaon_pos_pt"), pt); } else { nKaonsInJetNegTruth++; - registryMC.fill(HIST("mc/jets/matched/truth/kaons/neg/mc_gen_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/neg/mc_gen_kaon_neg_pt"), pt); } } } else if (pdg == PDG_t::kProton) { if (pt >= cfg.minPtProton && pt <= cfg.maxPtProton) { - registryMC.fill(HIST("mc/jets/matched/truth/protons/mc_gen_proton_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/truth/protons/proton_pt_vs_jet_pt"), pjet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/mc_gen_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/proton_pt_vs_jet_pt"), pjetPt, pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/proton_pt_vs_reco_jet_pt"), jetPt, pt); if (originalPdg > 0) { nProtonsInJetPosTruth++; - registryMC.fill(HIST("mc/jets/matched/truth/protons/pos/mc_gen_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/pos/mc_gen_proton_pos_pt"), pt); } else { nProtonsInJetNegTruth++; - registryMC.fill(HIST("mc/jets/matched/truth/protons/neg/mc_gen_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/neg/mc_gen_proton_neg_pt"), pt); } } } } - registryMC.fill(HIST("mc/jets/matched/truth/general/jet_n_selected_constituents"), nSelectedConstituentsTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/general/jet_n_selected_constituents"), nSelectedConstituentsTruth); - registryMC.fill(HIST("mc/jets/matched/truth/pions/pos/n_pions_per_jet"), nPionsInJetPosTruth); - registryMC.fill(HIST("mc/jets/matched/truth/kaons/pos/n_kaons_per_jet"), nKaonsInJetPosTruth); - registryMC.fill(HIST("mc/jets/matched/truth/protons/pos/n_protons_per_jet"), nProtonsInJetPosTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/pos/n_pions_per_jet"), nPionsInJetPosTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/pos/n_kaons_per_jet"), nKaonsInJetPosTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/pos/n_protons_per_jet"), nProtonsInJetPosTruth); - registryMC.fill(HIST("mc/jets/matched/truth/pions/neg/n_pions_per_jet"), nPionsInJetNegTruth); - registryMC.fill(HIST("mc/jets/matched/truth/kaons/neg/n_kaons_per_jet"), nKaonsInJetNegTruth); - registryMC.fill(HIST("mc/jets/matched/truth/protons/neg/n_protons_per_jet"), nProtonsInJetNegTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/neg/n_pions_per_jet"), nPionsInJetNegTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/neg/n_kaons_per_jet"), nKaonsInJetNegTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/neg/n_protons_per_jet"), nProtonsInJetNegTruth); nPionsInJetTruth = nPionsInJetPosTruth + nPionsInJetNegTruth; nKaonsInJetTruth = nKaonsInJetPosTruth + nKaonsInJetNegTruth; nProtonsInJetTruth = nProtonsInJetPosTruth + nProtonsInJetNegTruth; - registryMC.fill(HIST("mc/jets/matched/truth/pions/n_pions_per_jet"), nPionsInJetTruth); - registryMC.fill(HIST("mc/jets/matched/truth/kaons/n_kaons_per_jet"), nKaonsInJetTruth); - registryMC.fill(HIST("mc/jets/matched/truth/protons/n_protons_per_jet"), nProtonsInJetTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/n_pions_per_jet"), nPionsInJetTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/n_kaons_per_jet"), nKaonsInJetTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/n_protons_per_jet"), nProtonsInJetTruth); + + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/n_pions_matrix"), nPionsInJetTruth, nPionsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/n_kaons_matrix"), nKaonsInJetTruth, nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/n_protons_matrix"), nProtonsInJetTruth, nProtonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/n_pions_matrix"), nPionsInJetTruth, nPionsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/n_kaons_matrix"), nKaonsInJetTruth, nKaonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/n_protons_matrix"), nProtonsInJetTruth, nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/response_pions"), pjetPt, nPionsInJetTruth, jetPt, nPionsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/response_kaons"), pjetPt, nKaonsInJetTruth, jetPt, nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/response_protons"), pjetPt, nProtonsInJetTruth, jetPt, nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/composition/jet_pt_matrix"), pjetPt, jetPt); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/response_pions"), pjet.pt(), nPionsInJetTruth, djet.pt(), nPionsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/response_kaons"), pjet.pt(), nKaonsInJetTruth, djet.pt(), nKaonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/response_protons"), pjet.pt(), nProtonsInJetTruth, djet.pt(), nProtonsInJet); - registryMC.fill(HIST("mc/jets/matched/reconstructed/composition/jet_pt_matrix"), pjet.pt(), djet.pt()); + registryMCJets.fill(HIST("mc/jets/matched/truth/pions/n_pions_vs_jet_pt"), pjetPt, nPionsInJetTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/kaons/n_kaons_vs_jet_pt"), pjetPt, nKaonsInJetTruth); + registryMCJets.fill(HIST("mc/jets/matched/truth/protons/n_protons_vs_jet_pt"), pjetPt, nProtonsInJetTruth); - registryMC.fill(HIST("mc/jets/matched/truth/pions/n_pions_vs_jet_pt"), pjet.pt(), nPionsInJetTruth); - registryMC.fill(HIST("mc/jets/matched/truth/kaons/n_kaons_vs_jet_pt"), pjet.pt(), nKaonsInJetTruth); - registryMC.fill(HIST("mc/jets/matched/truth/protons/n_protons_vs_jet_pt"), pjet.pt(), nProtonsInJetTruth); + TVector3 djetAxis(djet.px(), djet.py(), djet.pz()); + TVector3 pjetAxis(pjet.px(), pjet.py(), pjet.pz()); + ConeCounts recoCones = fillConesDetectorLevel(tracksInCollision, djetAxis, jetPt, false); + ConeCounts truthCones = fillConesParticleLevel(particlesInMcCollision, pjetAxis, pjetPt, false); + + const int numberOfCones = 2; + for (int cone = 0; cone < numberOfCones && recoCones.valid && truthCones.valid; cone++) { + registryMC.fill(HIST("mc/ue/response/cone_response_pions"), pjetPt, truthCones.nPions[cone], jetPt, recoCones.nPions[cone]); + registryMC.fill(HIST("mc/ue/response/cone_response_kaons"), pjetPt, truthCones.nKaons[cone], jetPt, recoCones.nKaons[cone]); + registryMC.fill(HIST("mc/ue/response/cone_response_protons"), pjetPt, truthCones.nProtons[cone], jetPt, recoCones.nProtons[cone]); + } } - registryMC.fill(HIST("mc/jets/matched/reconstructed/general/collision_multiplicity"), jetsInCollision); + registryMCJets.fill(HIST("mc/jets/matched/reconstructed/general/collision_multiplicity"), jetsInCollision); auto const particleLevelJetsInCollision = particleLevelJets.sliceBy(mcpJetsPerMcCollision, collision.mcCollisionId()); @@ -3087,7 +3446,12 @@ struct JetHadronsPid { continue; } - if (isppRefAnalysis && (truthJet.pt() < minJetPt || truthJet.pt() > maxJetPt)) { + double truthJetPt = truthJet.pt(); + if (useSubtractedJetPt) { + truthJetPt = truthJet.pt() - (mcRho * truthJet.area()); + } + + if (isppRefAnalysis && (truthJetPt < minJetPt || truthJetPt > maxJetPt)) { continue; } @@ -3101,11 +3465,11 @@ struct JetHadronsPid { continue; } - registryMC.fill(HIST("mc/jets/matched/miss/general/jet_pt"), truthJet.pt()); - registryMC.fill(HIST("mc/jets/matched/miss/general/jet_eta"), truthJet.eta()); - registryMC.fill(HIST("mc/jets/matched/miss/general/jet_phi"), truthJet.phi()); - registryMC.fill(HIST("mc/jets/matched/miss/general/jet_area"), truthJet.area()); - registryMC.fill(HIST("mc/jets/matched/miss/general/jet_n_constituents"), truthJet.tracksIds().size()); + registryMCJets.fill(HIST("mc/jets/matched/miss/general/jet_pt"), truthJet.pt()); + registryMCJets.fill(HIST("mc/jets/matched/miss/general/jet_eta"), truthJet.eta()); + registryMCJets.fill(HIST("mc/jets/matched/miss/general/jet_phi"), truthJet.phi()); + registryMCJets.fill(HIST("mc/jets/matched/miss/general/jet_area"), truthJet.area()); + registryMCJets.fill(HIST("mc/jets/matched/miss/general/jet_n_constituents"), truthJet.tracksIds().size()); int nPionsInJetPosMiss = 0; int nKaonsInJetPosMiss = 0; @@ -3137,72 +3501,75 @@ struct JetHadronsPid { const int originalPdg = particle.pdgCode(); const int pdg = std::abs(originalPdg); - registryMC.fill(HIST("mc/jets/matched/miss/hadrons/mc_gen_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/hadrons/mc_gen_hadron_pt"), pt); if (pdg == PDG_t::kPiPlus) { if (pt >= cfg.minPtPion && pt <= cfg.maxPtPion) { - registryMC.fill(HIST("mc/jets/matched/miss/pions/mc_gen_pion_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/miss/pions/pion_pt_vs_jet_pt"), truthJet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/mc_gen_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/pion_pt_vs_jet_pt"), truthJetPt, pt); if (originalPdg > 0) { nPionsInJetPosMiss++; - registryMC.fill(HIST("mc/jets/matched/miss/pions/pos/mc_gen_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/pos/mc_gen_pion_pos_pt"), pt); } else { nPionsInJetNegMiss++; - registryMC.fill(HIST("mc/jets/matched/miss/pions/neg/mc_gen_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/neg/mc_gen_pion_neg_pt"), pt); } } } else if (pdg == PDG_t::kKPlus) { if (pt >= cfg.minPtKaon && pt <= cfg.maxPtKaon) { - registryMC.fill(HIST("mc/jets/matched/miss/kaons/mc_gen_kaon_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/miss/kaons/kaon_pt_vs_jet_pt"), truthJet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/mc_gen_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/kaon_pt_vs_jet_pt"), truthJetPt, pt); if (originalPdg > 0) { nKaonsInJetPosMiss++; - registryMC.fill(HIST("mc/jets/matched/miss/kaons/pos/mc_gen_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/pos/mc_gen_kaon_pos_pt"), pt); } else { nKaonsInJetNegMiss++; - registryMC.fill(HIST("mc/jets/matched/miss/kaons/neg/mc_gen_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/neg/mc_gen_kaon_neg_pt"), pt); } } } else if (pdg == PDG_t::kProton) { if (pt >= cfg.minPtProton && pt <= cfg.maxPtProton) { - registryMC.fill(HIST("mc/jets/matched/miss/protons/mc_gen_proton_pt"), pt); - registryMC.fill(HIST("mc/jets/matched/miss/protons/proton_pt_vs_jet_pt"), truthJet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/mc_gen_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/proton_pt_vs_jet_pt"), truthJetPt, pt); if (originalPdg > 0) { nProtonsInJetPosMiss++; - registryMC.fill(HIST("mc/jets/matched/miss/protons/pos/mc_gen_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/pos/mc_gen_proton_pos_pt"), pt); } else { nProtonsInJetNegMiss++; - registryMC.fill(HIST("mc/jets/matched/miss/protons/neg/mc_gen_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/neg/mc_gen_proton_neg_pt"), pt); } } } } - registryMC.fill(HIST("mc/jets/matched/miss/general/jet_n_selected_constituents"), nSelectedConstituentsMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/general/jet_n_selected_constituents"), nSelectedConstituentsMiss); - registryMC.fill(HIST("mc/jets/matched/miss/pions/pos/n_pions_per_jet"), nPionsInJetPosMiss); - registryMC.fill(HIST("mc/jets/matched/miss/kaons/pos/n_kaons_per_jet"), nKaonsInJetPosMiss); - registryMC.fill(HIST("mc/jets/matched/miss/protons/pos/n_protons_per_jet"), nProtonsInJetPosMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/pos/n_pions_per_jet"), nPionsInJetPosMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/pos/n_kaons_per_jet"), nKaonsInJetPosMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/pos/n_protons_per_jet"), nProtonsInJetPosMiss); - registryMC.fill(HIST("mc/jets/matched/miss/pions/neg/n_pions_per_jet"), nPionsInJetNegMiss); - registryMC.fill(HIST("mc/jets/matched/miss/kaons/neg/n_kaons_per_jet"), nKaonsInJetNegMiss); - registryMC.fill(HIST("mc/jets/matched/miss/protons/neg/n_protons_per_jet"), nProtonsInJetNegMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/neg/n_pions_per_jet"), nPionsInJetNegMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/neg/n_kaons_per_jet"), nKaonsInJetNegMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/neg/n_protons_per_jet"), nProtonsInJetNegMiss); const int nPionsInJetMiss = nPionsInJetPosMiss + nPionsInJetNegMiss; const int nKaonsInJetMiss = nKaonsInJetPosMiss + nKaonsInJetNegMiss; const int nProtonsInJetMiss = nProtonsInJetPosMiss + nProtonsInJetNegMiss; - registryMC.fill(HIST("mc/jets/matched/miss/pions/n_pions_per_jet"), nPionsInJetMiss); - registryMC.fill(HIST("mc/jets/matched/miss/kaons/n_kaons_per_jet"), nKaonsInJetMiss); - registryMC.fill(HIST("mc/jets/matched/miss/protons/n_protons_per_jet"), nProtonsInJetMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/n_pions_per_jet"), nPionsInJetMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/n_kaons_per_jet"), nKaonsInJetMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/n_protons_per_jet"), nProtonsInJetMiss); - registryMC.fill(HIST("mc/jets/matched/miss/pions/n_pions_vs_jet_pt"), truthJet.pt(), nPionsInJetMiss); - registryMC.fill(HIST("mc/jets/matched/miss/kaons/n_kaons_vs_jet_pt"), truthJet.pt(), nKaonsInJetMiss); - registryMC.fill(HIST("mc/jets/matched/miss/protons/n_protons_vs_jet_pt"), truthJet.pt(), nProtonsInJetMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/pions/n_pions_vs_jet_pt"), truthJetPt, nPionsInJetMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/kaons/n_kaons_vs_jet_pt"), truthJetPt, nKaonsInJetMiss); + registryMCJets.fill(HIST("mc/jets/matched/miss/protons/n_protons_vs_jet_pt"), truthJetPt, nProtonsInJetMiss); - registryMC.fill(HIST("mc/jets/matched/general/jet_match_counter"), 2.0); + TVector3 truthJetAxis(truthJet.px(), truthJet.py(), truthJet.pz()); + fillConesParticleLevel(particlesInMcCollision, truthJetAxis, truthJetPt, true); + + registryMCJets.fill(HIST("mc/jets/matched/general/jet_match_counter"), 2.0); } } PROCESS_SWITCH(JetHadronsPid, processMatchJets, "Process dector level jets matched to particle level", false); @@ -3211,7 +3578,7 @@ struct JetHadronsPid { ChargedMCPJets const& particleLevelJets, aod::JetParticles const&) { - registryMC.fill(HIST("mc/jets/truth/general/n_events_raw"), 1); + registryMCJets.fill(HIST("mc/jets/truth/general/n_events_raw"), 1); if (!jetderiveddatautilities::selectCollision(collision, eventSelectionBits)) { return; @@ -3222,8 +3589,8 @@ struct JetHadronsPid { return; } - registryMC.fill(HIST("mc/jets/truth/general/n_events"), 1); - registryMC.fill(HIST("mc/jets/truth/general/z_vtx"), zVertex); + registryMCJets.fill(HIST("mc/jets/truth/general/n_events"), 1); + registryMCJets.fill(HIST("mc/jets/truth/general/z_vtx"), zVertex); double centralRho = collision.rho(); int jetsInCollision = 0; @@ -3238,13 +3605,14 @@ struct JetHadronsPid { continue; } - if (isppRefAnalysis && (jet.pt() < minJetPt || jet.pt() > maxJetPt)) { - continue; + double ptSub = jet.pt() - (centralRho * jet.area()); + double jetPt = jet.pt(); + if (useSubtractedJetPt) { + jetPt = ptSub; } - double ptSub = jet.pt() - (centralRho * jet.area()); - if (ptSub < 0) { - ptSub = 0.0; + if (isppRefAnalysis && (jetPt < minJetPt || jetPt > maxJetPt)) { + continue; } if (!isppRefAnalysis && (ptSub < minJetPt || ptSub > maxJetPt)) { @@ -3258,13 +3626,13 @@ struct JetHadronsPid { ++jetsInCollision; - registryMC.fill(HIST("mc/jets/truth/general/jet_pt_subtracted"), ptSub); - registryMC.fill(HIST("mc/jets/truth/general/jet_pt_raw_vs_sub"), jet.pt(), ptSub); - registryMC.fill(HIST("mc/jets/truth/general/jet_eta"), jet.eta()); - registryMC.fill(HIST("mc/jets/truth/general/jet_phi"), jet.phi()); - registryMC.fill(HIST("mc/jets/truth/general/jet_area"), jet.area()); - registryMC.fill(HIST("mc/jets/truth/general/jet_pt"), jet.pt()); - registryMC.fill(HIST("mc/jets/truth/general/jet_n_constituents"), jet.tracksIds().size()); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_pt_subtracted"), ptSub); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_pt_raw_vs_sub"), jet.pt(), ptSub); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_eta"), jet.eta()); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_phi"), jet.phi()); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_area"), jet.area()); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_pt"), jet.pt()); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_n_constituents"), jet.tracksIds().size()); int nPionsInJetPos = 0; int nKaonsInJetPos = 0; @@ -3294,74 +3662,74 @@ struct JetHadronsPid { int originalPdg = particle.pdgCode(); int pdg = std::abs(originalPdg); - registryMC.fill(HIST("mc/jets/truth/hadrons/mc_gen_hadron_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/hadrons/mc_gen_hadron_pt"), pt); if (pdg == PDG_t::kPiPlus) { if (pt >= cfg.minPtPion && pt <= cfg.maxPtPion) { - registryMC.fill(HIST("mc/jets/truth/pions/mc_gen_pion_pt"), pt); - registryMC.fill(HIST("mc/jets/truth/pions/pion_pt_vs_jet_pt"), jet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/truth/pions/mc_gen_pion_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/pions/pion_pt_vs_jet_pt"), jetPt, pt); if (originalPdg > 0) { nPionsInJetPos++; - registryMC.fill(HIST("mc/jets/truth/pions/pos/mc_gen_pion_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/pions/pos/mc_gen_pion_pos_pt"), pt); } else { nPionsInJetNeg++; - registryMC.fill(HIST("mc/jets/truth/pions/neg/mc_gen_pion_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/pions/neg/mc_gen_pion_neg_pt"), pt); } } } else if (pdg == PDG_t::kKPlus) { if (pt >= cfg.minPtKaon && pt <= cfg.maxPtKaon) { - registryMC.fill(HIST("mc/jets/truth/kaons/mc_gen_kaon_pt"), pt); - registryMC.fill(HIST("mc/jets/truth/kaons/kaon_pt_vs_jet_pt"), jet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/truth/kaons/mc_gen_kaon_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/kaons/kaon_pt_vs_jet_pt"), jetPt, pt); if (originalPdg > 0) { nKaonsInJetPos++; - registryMC.fill(HIST("mc/jets/truth/kaons/pos/mc_gen_kaon_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/kaons/pos/mc_gen_kaon_pos_pt"), pt); } else { nKaonsInJetNeg++; - registryMC.fill(HIST("mc/jets/truth/kaons/neg/mc_gen_kaon_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/kaons/neg/mc_gen_kaon_neg_pt"), pt); } } } else if (pdg == PDG_t::kProton) { if (pt >= cfg.minPtProton && pt <= cfg.maxPtProton) { - registryMC.fill(HIST("mc/jets/truth/protons/mc_gen_proton_pt"), pt); - registryMC.fill(HIST("mc/jets/truth/protons/proton_pt_vs_jet_pt"), jet.pt(), pt); + registryMCJets.fill(HIST("mc/jets/truth/protons/mc_gen_proton_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/protons/proton_pt_vs_jet_pt"), jetPt, pt); if (originalPdg > 0) { nProtonsInJetPos++; - registryMC.fill(HIST("mc/jets/truth/protons/pos/mc_gen_proton_pos_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/protons/pos/mc_gen_proton_pos_pt"), pt); } else { nProtonsInJetNeg++; - registryMC.fill(HIST("mc/jets/truth/protons/neg/mc_gen_proton_neg_pt"), pt); + registryMCJets.fill(HIST("mc/jets/truth/protons/neg/mc_gen_proton_neg_pt"), pt); } } } } - registryMC.fill(HIST("mc/jets/truth/general/jet_n_selected_constituents"), selectedConstituentCount); + registryMCJets.fill(HIST("mc/jets/truth/general/jet_n_selected_constituents"), selectedConstituentCount); - registryMC.fill(HIST("mc/jets/truth/pions/pos/n_pions_per_jet"), nPionsInJetPos); - registryMC.fill(HIST("mc/jets/truth/kaons/pos/n_kaons_per_jet"), nKaonsInJetPos); - registryMC.fill(HIST("mc/jets/truth/protons/pos/n_protons_per_jet"), nProtonsInJetPos); - registryMC.fill(HIST("mc/jets/truth/pions/neg/n_pions_per_jet"), nPionsInJetNeg); - registryMC.fill(HIST("mc/jets/truth/kaons/neg/n_kaons_per_jet"), nKaonsInJetNeg); - registryMC.fill(HIST("mc/jets/truth/protons/neg/n_protons_per_jet"), nProtonsInJetNeg); + registryMCJets.fill(HIST("mc/jets/truth/pions/pos/n_pions_per_jet"), nPionsInJetPos); + registryMCJets.fill(HIST("mc/jets/truth/kaons/pos/n_kaons_per_jet"), nKaonsInJetPos); + registryMCJets.fill(HIST("mc/jets/truth/protons/pos/n_protons_per_jet"), nProtonsInJetPos); + registryMCJets.fill(HIST("mc/jets/truth/pions/neg/n_pions_per_jet"), nPionsInJetNeg); + registryMCJets.fill(HIST("mc/jets/truth/kaons/neg/n_kaons_per_jet"), nKaonsInJetNeg); + registryMCJets.fill(HIST("mc/jets/truth/protons/neg/n_protons_per_jet"), nProtonsInJetNeg); double nPionsInJet = nPionsInJetPos + nPionsInJetNeg; double nKaonsInJet = nKaonsInJetPos + nKaonsInJetNeg; double nProtonsInJet = nProtonsInJetPos + nProtonsInJetNeg; - registryMC.fill(HIST("mc/jets/truth/pions/n_pions_per_jet"), nPionsInJet); - registryMC.fill(HIST("mc/jets/truth/kaons/n_kaons_per_jet"), nKaonsInJet); - registryMC.fill(HIST("mc/jets/truth/protons/n_protons_per_jet"), nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/truth/pions/n_pions_per_jet"), nPionsInJet); + registryMCJets.fill(HIST("mc/jets/truth/kaons/n_kaons_per_jet"), nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/truth/protons/n_protons_per_jet"), nProtonsInJet); - registryMC.fill(HIST("mc/jets/truth/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJet); - registryMC.fill(HIST("mc/jets/truth/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJet); - registryMC.fill(HIST("mc/jets/truth/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/truth/composition/particle_multiplicity_per_jet"), 1.0, nPionsInJet); + registryMCJets.fill(HIST("mc/jets/truth/composition/particle_multiplicity_per_jet"), 2.0, nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/truth/composition/particle_multiplicity_per_jet"), 3.0, nProtonsInJet); - registryMC.fill(HIST("mc/jets/truth/pions/n_pions_vs_jet_pt"), jet.pt(), nPionsInJet); - registryMC.fill(HIST("mc/jets/truth/kaons/n_kaons_vs_jet_pt"), jet.pt(), nKaonsInJet); - registryMC.fill(HIST("mc/jets/truth/protons/n_protons_vs_jet_pt"), jet.pt(), nProtonsInJet); + registryMCJets.fill(HIST("mc/jets/truth/pions/n_pions_vs_jet_pt"), jetPt, nPionsInJet); + registryMCJets.fill(HIST("mc/jets/truth/kaons/n_kaons_vs_jet_pt"), jetPt, nKaonsInJet); + registryMCJets.fill(HIST("mc/jets/truth/protons/n_protons_vs_jet_pt"), jetPt, nProtonsInJet); } - registryMC.fill(HIST("mc/jets/truth/general/collision_multiplicity"), jetsInCollision); + registryMCJets.fill(HIST("mc/jets/truth/general/collision_multiplicity"), jetsInCollision); } PROCESS_SWITCH(JetHadronsPid, processJetsMCP, "Particle-level charged jets in MC", false); };