Skip to content

Commit 20a3147

Browse files
committed
fix build errors
1 parent 7f798ee commit 20a3147

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGJE/Tasks/lfJetSpectra.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ struct LfJetSpectra {
222222
float candPtMax = 100.0;
223223
float candYMin = -0.8;
224224
float candYMax = 0.8;
225-
float candPDG = PDG_t::kK0Short;
225+
float candPDG = static_cast<float>(PDG_t::kK0Short);
226226
bool useV0SignalFlags = true;
227227
std::vector<int> eventSelectionBits;
228228
};
@@ -343,7 +343,7 @@ struct LfJetSpectra {
343343
}
344344
}
345345
trackSelection = jetderiveddatautilities::initialiseTrackSelection(jetFinderConfigDet.trackSelections);
346-
candIndex = (jetFinderConfigDet.candPDG == PDG_t::kLambda0) ? 1 : 0; // same convention as the V0 jet finder
346+
candIndex = (jetFinderConfigDet.candPDG == static_cast<float>(PDG_t::kLambda0)) ? 1 : 0; // same convention as the V0 jet finder
347347

348348
const AxisSpec multAxis{multBinning, "FT0M percentile"};
349349
const AxisSpec ptAxis{100, 0.0, 10.0, "#it{p}_{T} (GeV/#it{c})"};

0 commit comments

Comments
 (0)