Skip to content

Commit 13f8631

Browse files
author
Zuzanna Anna Chochulska
committed
Changes required by aliBuild
1 parent ad2155e commit 13f8631

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackPhi.cxx‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ struct FemtoUniversePairTaskTrackPhi {
138138
Configurable<bool> confTrackUseRun3PIDforKaons{"confTrackUseRun3PIDforKaons", true, "Use Run3 PID for kaons from Veronika Barbasova's AN (https://alice-notes.web.cern.ch/node/1758). If this is on the other PID methods are ignored for kaons."};
139139

140140
/// Partitions for the track (particle 1)
141-
Partition<FilteredFemtoFullParticles> partsTrack = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kTrack)) &&
141+
Partition<FilteredFemtoFullParticles> partsTrack = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kTrack)) &&
142142
(aod::femtouniverseparticle::sign == confTrackSign) &&
143143
(aod::femtouniverseparticle::pt > confTrackPtLow) &&
144144
(aod::femtouniverseparticle::pt < confTrackPtHigh);
145145

146-
Partition<FemtoRecoParticles> partsTrackMCReco = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kTrack)) &&
146+
Partition<FemtoRecoParticles> partsTrackMCReco = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kTrack)) &&
147147
(aod::femtouniverseparticle::sign == confTrackSign) &&
148148
(aod::femtouniverseparticle::pt > confTrackPtLow) &&
149149
(aod::femtouniverseparticle::pt < confTrackPtHigh);
@@ -159,25 +159,25 @@ struct FemtoUniversePairTaskTrackPhi {
159159
Configurable<bool> confFillMinvBackgroundKmKm{"confFillMinvBackgroundKmKm", false, "Fill background histograms for K-K- invariant mass."};
160160

161161
/// Partitions for the Phi meson (particle 2)
162-
Partition<FilteredFemtoFullParticles> partsPhi = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhi)) &&
162+
Partition<FilteredFemtoFullParticles> partsPhi = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kPhi)) &&
163163
(aod::femtouniverseparticle::pt > confPhiPtLow) &&
164164
(aod::femtouniverseparticle::pt < confPhiPtHigh) &&
165165
(aod::femtouniverseparticle::tempFitVar > confInvMassLowLimitPhi) &&
166166
(aod::femtouniverseparticle::tempFitVar < confInvMassUpLimitPhi);
167167

168-
Partition<FemtoRecoParticles> partsPhiMCReco = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhi)) &&
168+
Partition<FemtoRecoParticles> partsPhiMCReco = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kPhi)) &&
169169
(aod::femtouniverseparticle::pt > confPhiPtLow) &&
170170
(aod::femtouniverseparticle::pt < confPhiPtHigh) &&
171171
(aod::femtouniverseparticle::tempFitVar > confInvMassLowLimitPhi) &&
172172
(aod::femtouniverseparticle::tempFitVar < confInvMassUpLimitPhi);
173173

174174
/// Partitions for Phi daughters kPhiChild
175-
Partition<FilteredFemtoFullParticles> partsPhiDaugh = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhiChild));
176-
Partition<soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels>> partsPhiDaughMC = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhiChild));
175+
Partition<FilteredFemtoFullParticles> partsPhiDaugh = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kPhiChild));
176+
Partition<soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels>> partsPhiDaughMC = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kPhiChild));
177177

178178
// Partition for K+K- minv
179-
Partition<FilteredFemtoFullParticles> partsKaons = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kTrack));
180-
Partition<soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels>> partsKaonsMC = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kTrack));
179+
Partition<FilteredFemtoFullParticles> partsKaons = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kTrack));
180+
Partition<soa::Join<FilteredFemtoFullParticles, aod::FDMCLabels>> partsKaonsMC = (aod::femtouniverseparticle::partType == static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kTrack));
181181

182182
/// Histogramming for particle 1
183183
FemtoUniverseParticleHisto<aod::femtouniverseparticle::ParticleType::kTrack, 1> trackHistoPartTrack;
@@ -684,7 +684,7 @@ struct FemtoUniversePairTaskTrackPhi {
684684
void processMCTruth(aod::FDParticles const& parts)
685685
{
686686
for (auto const& part : parts) {
687-
if (part.partType() != uint8_t(aod::femtouniverseparticle::ParticleType::kMCTruthTrack)) {
687+
if (part.partType() != static_cast<uint8_t>(aod::femtouniverseparticle::ParticleType::kMCTruthTrack)) {
688688
continue;
689689
}
690690

0 commit comments

Comments
 (0)