Skip to content

Commit de42bd8

Browse files
vkuceraDelloStritto
authored andcommitted
[PWGUD] Fix unused variables, parameters, values (#18647)
1 parent 2e996f7 commit de42bd8

11 files changed

Lines changed: 17 additions & 17 deletions

‎PWGUD/TableProducer/UPCCandidateProducer.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ struct UpcCandProducer {
876876
++curit;
877877
if (curit == v.end())
878878
break;
879-
curbc = curit->first;
879+
// curbc = curit->first; // FIXME: unused
880880
}
881881
uint32_t size = curit->second.size();
882882
if (size > 1) // too many tracks per BC -> possibly another event

‎PWGUD/TableProducer/tauEventTableProducer.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ struct TauEventTableProducer {
513513
if (verboseInfo)
514514
printLargeMessage("Truth collision has more than 1 reco collision. Skipping this event.");
515515
histos.get<TH1>(HIST("Truth/hTroubles"))->Fill(1);
516-
problem = true;
516+
// problem = true; // FIXME: unused
517517
continue;
518518
}
519519
// grap reco-level collision

‎PWGUD/TableProducer/twoTracksEventTableProducer.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ struct TwoTracksEventTableProducer {
577577
if (verboseInfo)
578578
printLargeMessage("Truth collision has more than 1 reco collision. Skipping this event.");
579579
histos.get<TH1>(HIST("Truth/hTroubles"))->Fill(1);
580-
problem = true;
580+
// problem = true; // FIXME: unused
581581
continue;
582582
}
583583
// grap reco-level collision

‎PWGUD/Tasks/diffQA.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ struct DiffQA {
950950
for (const auto& col : collisions) {
951951
bc1 = -1;
952952
bc2 = -2;
953-
bc3 = -3;
953+
// bc3 = -3; // FIXME: unused
954954
if (col.has_foundBC()) {
955955
auto bc = col.foundBC_as<BCs>();
956956
bc1 = bc.globalBC();

‎PWGUD/Tasks/exclusivePentaquark.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ struct ExclusivePentaquark {
116116
int truegapSide = sgSelector.trueGap(collision, FV0_cut, FT0A_cut, FT0C_cut, ZDC_cut);
117117
registry.fill(HIST("GapSide"), gapSide);
118118
registry.fill(HIST("TrueGapSide"), truegapSide);
119-
gapSide = truegapSide;
119+
// gapSide = truegapSide;
120120
// if (gapSide != gap_Side) {
121121
// return;
122122
// }

‎PWGUD/Tasks/exclusivePhiLeptons.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ struct ExclusivePhiLeptons {
259259
registry.fill(HIST("hEta1"), onlyElectronTracks[1].Eta());
260260
resonance += onlyElectronTracks[0];
261261
resonance += onlyElectronTracks[1];
262-
sigmaTotal = 0;
262+
// sigmaTotal = 0; // FIXME: unused
263263
sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigma[1] * onlyElectronSigma[1];
264264
;
265265
registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigma[1]);
@@ -285,7 +285,7 @@ struct ExclusivePhiLeptons {
285285
registry.fill(HIST("hEta1"), onlyElectronTracksTOF[0].Eta());
286286
resonance += onlyElectronTracks[0];
287287
resonance += onlyElectronTracksTOF[0];
288-
sigmaTotal = 0;
288+
// sigmaTotal = 0; // FIXME: unused
289289
sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0];
290290
;
291291
registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigmaTOF[0]);
@@ -311,7 +311,7 @@ struct ExclusivePhiLeptons {
311311
registry.fill(HIST("hEta1"), onlyElectronTracksTOF[1].Eta());
312312
resonance += onlyElectronTracksTOF[0];
313313
resonance += onlyElectronTracksTOF[1];
314-
sigmaTotal = 0;
314+
// sigmaTotal = 0; // FIXME: unused
315315
sigmaTotal = onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0] + onlyElectronSigmaTOF[1] * onlyElectronSigmaTOF[1];
316316
;
317317
registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigmaTOF[0], onlyElectronSigmaTOF[1]);

‎PWGUD/Tasks/exclusivePhiLeptonsTrees.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ struct ExclusivePhiLeptonsTrees {
237237
resonance += onlyElectronTracks[1];
238238
a += onlyElectronTracks[0];
239239
b += onlyElectronTracks[1];
240-
sigmaTotal = 0;
240+
// sigmaTotal = 0; // FIXME: unused
241241
sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigma[1] * onlyElectronSigma[1];
242242
;
243243
registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigma[1]);
@@ -254,7 +254,7 @@ struct ExclusivePhiLeptonsTrees {
254254
resonance += onlyElectronTracksTOF[0];
255255
a += onlyElectronTracks[0];
256256
b += onlyElectronTracksTOF[0];
257-
sigmaTotal = 0;
257+
// sigmaTotal = 0; // FIXME: unused
258258
sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0];
259259
;
260260
registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigmaTOF[0]);
@@ -271,7 +271,7 @@ struct ExclusivePhiLeptonsTrees {
271271
resonance += onlyElectronTracksTOF[1];
272272
a += onlyElectronTracksTOF[0];
273273
b += onlyElectronTracksTOF[1];
274-
sigmaTotal = 0;
274+
// sigmaTotal = 0; // FIXME: unused
275275
sigmaTotal = onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0] + onlyElectronSigmaTOF[1] * onlyElectronSigmaTOF[1];
276276
;
277277
registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigmaTOF[0], onlyElectronSigmaTOF[1]);

‎PWGUD/Tasks/exclusiveTwoProtons.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ struct ExclusiveTwoProtons {
284284
resonance += onlyProtonTracksTOF[0];
285285
a = onlyProtonTracks[0];
286286
b = onlyProtonTracksTOF[0];
287-
sigmaTotal = 0;
287+
// sigmaTotal = 0; // FIXME: unused
288288
sigmaTotal = onlyProtonSigma[0] * onlyProtonSigma[0] + onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0];
289289
;
290290
registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigma[0], onlyProtonSigmaTOF[0]);
@@ -327,7 +327,7 @@ struct ExclusiveTwoProtons {
327327
resonance += onlyProtonTracksTOF[1];
328328
a = onlyProtonTracksTOF[0];
329329
b = onlyProtonTracksTOF[1];
330-
sigmaTotal = 0;
330+
// sigmaTotal = 0; // FIXME: unused
331331
sigmaTotal = onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0] + onlyProtonSigmaTOF[1] * onlyProtonSigmaTOF[1];
332332
;
333333
registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigmaTOF[0], onlyProtonSigmaTOF[1]);

‎PWGUD/Tasks/exclusiveTwoProtonsSG.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ struct ExclusiveTwoProtonsSG {
311311
resonance += onlyProtonTracksTOF[0];
312312
a = onlyProtonTracks[0];
313313
b = onlyProtonTracksTOF[0];
314-
sigmaTotal = 0;
314+
// sigmaTotal = 0; // FIXME: unused
315315
sigmaTotal = onlyProtonSigma[0] * onlyProtonSigma[0] + onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0];
316316
;
317317
registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigma[0], onlyProtonSigmaTOF[0]);
@@ -355,7 +355,7 @@ struct ExclusiveTwoProtonsSG {
355355
resonance += onlyProtonTracksTOF[1];
356356
a = onlyProtonTracksTOF[0];
357357
b = onlyProtonTracksTOF[1];
358-
sigmaTotal = 0;
358+
// sigmaTotal = 0; // FIXME: unused
359359
sigmaTotal = onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0] + onlyProtonSigmaTOF[1] * onlyProtonSigmaTOF[1];
360360
;
361361
registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigmaTOF[0], onlyProtonSigmaTOF[1]);

‎PWGUD/Tasks/sgExclOmega.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ struct SGExclOmega {
120120
int truegapSide = sgSelector.trueGap(collision, FIT_cut[0], FIT_cut[1], FIT_cut[2], ZDC_cut);
121121
registry.fill(HIST("GapSide"), gapSide);
122122
registry.fill(HIST("TrueGapSide"), truegapSide);
123-
gapSide = truegapSide;
123+
// gapSide = truegapSide;
124124
// if (gapSide!=2) return;
125125
int pvtracks = 0;
126126
int esign = 0;

0 commit comments

Comments
 (0)