Skip to content

Commit df341d0

Browse files
committed
Adapt nucleiFlow to the updated data model
1 parent 42a7799 commit df341d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PWGLF/Tasks/Nuspex/nucleiFlow.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ struct nucleiFlow {
103103
/// \brief bethe-bloch parameters
104104
Configurable<LabeledArray<float>> cfgBetheBlochParams{"cfgBetheBlochParams", {nuclei_spectra::betheBlochDefault[0], 5, 6, nuclei_spectra::names, nuclei_spectra::betheBlochParNames}, "TPC Bethe-Bloch parameterisation for light nuclei"};
105105

106+
// Selected nuclei tracks with the ID of the collision
107+
using TracksWithFlowCollID = soa::Join<aod::NucleiTable, aod::NucleiCollId>;
108+
106109
EventPlaneHelper epHelper;
107110

108111
/// \brief Get n-sigma TPC
@@ -221,7 +224,7 @@ struct nucleiFlow {
221224
histos.add("hSpFV0AvsNsigmaHe3VsPtvsCent", "", HistType::kTHnSparseF, {FV0AspAxis, nSigmaTPCHe3Axis, ptAxis, centAxis});
222225
}
223226

224-
void process(aod::NucleiFlowColl const& coll, aod::NucleiTable const& tracks)
227+
void process(aod::NucleiFlowColl const& coll, TracksWithFlowCollID const& tracks)
225228
{
226229
histos.fill(HIST("hCentFV0A"), coll.centFV0A());
227230
histos.fill(HIST("hCentFT0M"), coll.centFT0M());

0 commit comments

Comments
 (0)