Skip to content

Commit a2fd229

Browse files
authored
[PWGJE] Fix compilation warnings (#8920)
1 parent 9929f97 commit a2fd229

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PWGJE/Tasks/emcClusterMonitor.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ struct ClusterMonitor {
255255
mCellTime.push_back(cell.calo().time());
256256
} // end of loop over cells
257257
mHistManager.fill(HIST("clusterCellTimeMean"), std::accumulate(mCellTime.begin(), mCellTime.end(), 0.0f) / mCellTime.size());
258-
for (int iCell1 = 0; iCell1 < mCellTime.size() - 1; iCell1++) {
259-
for (int iCell2 = iCell1 + 1; iCell2 < mCellTime.size(); iCell2++) {
258+
for (std::size_t iCell1 = 0; iCell1 < mCellTime.size() - 1; iCell1++) {
259+
for (std::size_t iCell2 = iCell1 + 1; iCell2 < mCellTime.size(); iCell2++) {
260260
mHistManager.fill(HIST("clusterCellTimeDiff"), mCellTime[iCell1] - mCellTime[iCell2]);
261261
}
262262
}

PWGJE/Tasks/jetChargedV2.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ struct Jetchargedv2Task {
334334

335335
void processInOutJetV2(soa::Filtered<soa::Join<aod::JetCollisions, aod::BkgChargedRhos, aod::Qvectors>>::iterator const& collision,
336336
soa::Join<aod::ChargedJets, aod::ChargedJetConstituents> const& jets,
337-
aod::JetTracks const& tracks)
337+
aod::JetTracks const&)
338338
{
339339
if (!jetderiveddatautilities::selectCollision(collision, eventSelection)) {
340340
return;

0 commit comments

Comments
 (0)