From 576757a136926f747761bfc82daa0e02c6ee549c Mon Sep 17 00:00:00 2001 From: ariffero Date: Wed, 3 Jun 2026 14:26:55 +0200 Subject: [PATCH 1/2] Change subscription of processData Do not subscribe to MC info in data workflow. --- PWGUD/Tasks/ptSpectraInclusiveUpc.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx b/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx index 8ddaff46569..7e93d932912 100644 --- a/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx +++ b/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx @@ -59,10 +59,12 @@ struct PtSpectraInclusiveUpc { Preslice perCollision = aod::track::collisionId; Preslice perMcCollision = o2::aod::mcparticle::mcCollisionId; // define abbreviations - using CCs = soa::Join; + using CCs = soa::Join; using CC = CCs::iterator; - using TCs = soa::Join; - using TC = TCs::iterator; + using CCMCs = soa::Join; + using CCMC = CCMCs::iterator; + using TCs = soa::Join; + using TCMCs = soa::Join; const double etaMax = 0.9; const double yMax = 0.9; @@ -153,7 +155,7 @@ struct PtSpectraInclusiveUpc { } } - void processReco(CC const&, TCs const& tracks, aod::UDMcParticles const&) + void processReco(CCMC const&, TCMCs const& tracks, aod::UDMcParticles const&) { double dcaXyLimit = 0; From 2f83758a8ccea2d1879f7f3a29f5d733e4f9a460 Mon Sep 17 00:00:00 2001 From: ariffero Date: Thu, 4 Jun 2026 11:54:14 +0200 Subject: [PATCH 2/2] Remove unused Preslice --- PWGUD/Tasks/ptSpectraInclusiveUpc.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx b/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx index 7e93d932912..f4523ae3135 100644 --- a/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx +++ b/PWGUD/Tasks/ptSpectraInclusiveUpc.cxx @@ -56,8 +56,6 @@ struct PtSpectraInclusiveUpc { Configurable nBinsDCAxy{"nBinsDCAxy", 100, "N bins in DCA_{xy} histos"}; Configurable applyKineCutsInGen{"applyKineCutsInGen", false, "Apply kinematic cuts in the generated level"}; - Preslice perCollision = aod::track::collisionId; - Preslice perMcCollision = o2::aod::mcparticle::mcCollisionId; // define abbreviations using CCs = soa::Join; using CC = CCs::iterator;