Skip to content

Commit c4ddb15

Browse files
vkuceraalibuild
andauthored
[PWGDQ] Fix compilation warnings (#8382)
Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
1 parent d20a939 commit c4ddb15

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

PWGDQ/Core/MCProng.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void MCProng::Print() const
147147
std::cout << "Generation #" << i << " PDGcode(" << fPDGcodes[i] << ") CheckBothCharges(" << fCheckBothCharges[i]
148148
<< ") ExcludePDG(" << fExcludePDG[i] << ") SourceBits(" << fSourceBits[i] << ") ExcludeSource(" << fExcludeSource[i]
149149
<< ") UseANDonSource(" << fUseANDonSourceBitMap[i] << ") CheckGenerationsInTime(" << fCheckGenerationsInTime << ")";
150-
for (int j = 0; j < fPDGInHistory.size(); j++) {
150+
for (std::size_t j = 0; j < fPDGInHistory.size(); j++) {
151151
std::cout << " #" << j << " PDGInHistory(" << fPDGInHistory[j] << ") ExcludePDGInHistory(" << fExcludePDGInHistory[j] << ")";
152152
}
153153
std::cout << std::endl;

PWGDQ/TableProducer/tableMaker_withAssoc.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ struct TableMaker {
10591059

10601060
// produce the muon-only DQ skimmed data model typically for pp/p-Pb or UPC Pb-Pb (no centrality), meant to run on skimmed data
10611061
void processPPMuonOnly(MyEventsWithMults const& collisions, BCsWithTimestamps const& bcs,
1062-
MyMuonsWithCov const& muons, FwdTrackAssoc const& fwdTrackAssocs, MFTTracks const& mftTracks)
1062+
MyMuonsWithCov const& muons, FwdTrackAssoc const& fwdTrackAssocs, MFTTracks const& /*mftTracks*/)
10631063
{
10641064
fullSkimming<gkEventFillMapWithMults, 0u, gkMuonFillMapWithCov, 0u>(collisions, bcs, nullptr, nullptr, muons, nullptr, nullptr, fwdTrackAssocs, nullptr);
10651065
}

PWGDQ/Tasks/mchAlignRecord.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ struct mchAlignRecordTask {
137137

138138
// Configuration for chamber fixing
139139
auto chambers = fFixChamber.value;
140-
for (int i = 0; i < chambers.length(); ++i) {
140+
for (std::size_t i = 0; i < chambers.length(); ++i) {
141141
if (chambers[i] == ',')
142142
continue;
143143
int chamber = chambers[i] - '0';

PWGDQ/Tasks/tableReader_withAssoc.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,6 @@ struct AnalysisDileptonTrack {
24902490
bool isBarrelAsymmetric = context.mOptions.get<bool>("processDstarToD0Pi");
24912491
bool isMuon = context.mOptions.get<bool>("processMuonSkimmed");
24922492
bool isMuonME = context.mOptions.get<bool>("processMuonMixedEvent");
2493-
bool isAnyProcessEnabled = isBarrel || isBarrelME || isMuon || isMuonME;
24942493

24952494
fCurrentRun = 0;
24962495
fValuesDilepton = new float[VarManager::kNVars];

0 commit comments

Comments
 (0)