Skip to content

Commit

Permalink
[PWGJE] Fix compilation warnings (AliceO2Group#8920)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera authored Dec 11, 2024
1 parent 9929f97 commit a2fd229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PWGJE/Tasks/emcClusterMonitor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ struct ClusterMonitor {
mCellTime.push_back(cell.calo().time());
} // end of loop over cells
mHistManager.fill(HIST("clusterCellTimeMean"), std::accumulate(mCellTime.begin(), mCellTime.end(), 0.0f) / mCellTime.size());
for (int iCell1 = 0; iCell1 < mCellTime.size() - 1; iCell1++) {
for (int iCell2 = iCell1 + 1; iCell2 < mCellTime.size(); iCell2++) {
for (std::size_t iCell1 = 0; iCell1 < mCellTime.size() - 1; iCell1++) {
for (std::size_t iCell2 = iCell1 + 1; iCell2 < mCellTime.size(); iCell2++) {
mHistManager.fill(HIST("clusterCellTimeDiff"), mCellTime[iCell1] - mCellTime[iCell2]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion PWGJE/Tasks/jetChargedV2.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ struct Jetchargedv2Task {

void processInOutJetV2(soa::Filtered<soa::Join<aod::JetCollisions, aod::BkgChargedRhos, aod::Qvectors>>::iterator const& collision,
soa::Join<aod::ChargedJets, aod::ChargedJetConstituents> const& jets,
aod::JetTracks const& tracks)
aod::JetTracks const&)
{
if (!jetderiveddatautilities::selectCollision(collision, eventSelection)) {
return;
Expand Down

0 comments on commit a2fd229

Please sign in to comment.