Skip to content

Commit 6cfd18c

Browse files
committed
FU - fixing macOS error
1 parent 062c6c5 commit 6cfd18c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ struct FemtoUniverseProducerMCTruthTask {
166166
if (particle.pt() < ConfFilteringTracks.confPtLowFilterCut || particle.pt() > ConfFilteringTracks.confPtHighFilterCut)
167167
continue;
168168

169-
uint32_t pdgCode = (uint32_t)particle.pdgCode();
169+
int pdgCode = particle.pdgCode();
170170

171171
if (confAnalysisWithPID) {
172172
bool pass = false;
173173
std::vector<int> tmpPDGCodes = confPDGCodes; // necessary due to some features of the Configurable
174-
for (const uint32_t& pdg : tmpPDGCodes) {
174+
for (const int& pdg : tmpPDGCodes) {
175175
if (pdgCode == Pdg::kPhi) { // phi meson
176176
pass = true;
177177
} else if (pdgCode == Pdg::kD0) { // D0 meson

0 commit comments

Comments
 (0)