From 2f4ab7853e54670b5ab9c3052d4001dc322492db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Fri, 27 Jun 2025 09:13:46 +0200 Subject: [PATCH 1/2] Update LFNucleiBATask.cxx --- PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx b/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx index f3f57325bac..2d79cc8d2e9 100644 --- a/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx +++ b/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx @@ -241,8 +241,9 @@ struct LFNucleiBATask { } } - void init(o2::framework::InitContext&) + void init(o2::framework::InitContext& context) { + o2::aod::ITSResponse::setParameters(context); if (skimmingOptions.applySkimming) { zorroSummary.setObject(zorro.getZorroSummary()); } From 5505f2639cf4c39b7097864c005f3884d3b1f4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Jacazio?= Date: Fri, 27 Jun 2025 13:48:24 +0200 Subject: [PATCH 2/2] Update LFNucleiBATask.cxx --- PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx b/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx index 2d79cc8d2e9..407b13fcb77 100644 --- a/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx +++ b/PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx @@ -112,6 +112,7 @@ struct LFNucleiBATask { } kinemOptions; Configurable isPVContributorCut{"isPVContributorCut", false, "Flag to enable isPVContributor cut."}; + Configurable initITSPID{"initITSPID", false, "Flag to init the ITS PID response"}; struct : ConfigurableGroup { Configurable nsigmaTPCPr{"nsigmaTPCPr", 3.f, "Value of the Nsigma TPC cut for protons"}; @@ -243,7 +244,9 @@ struct LFNucleiBATask { void init(o2::framework::InitContext& context) { - o2::aod::ITSResponse::setParameters(context); + if (initITSPID) { + o2::aod::ITSResponse::setParameters(context); + } if (skimmingOptions.applySkimming) { zorroSummary.setObject(zorro.getZorroSummary()); }