diff --git a/PWGUD/TableProducer/UPCCandidateProducer.cxx b/PWGUD/TableProducer/UPCCandidateProducer.cxx index b5bcd1cd848..670e6b1f158 100644 --- a/PWGUD/TableProducer/UPCCandidateProducer.cxx +++ b/PWGUD/TableProducer/UPCCandidateProducer.cxx @@ -876,7 +876,7 @@ struct UpcCandProducer { ++curit; if (curit == v.end()) break; - curbc = curit->first; + // curbc = curit->first; // FIXME: unused } uint32_t size = curit->second.size(); if (size > 1) // too many tracks per BC -> possibly another event diff --git a/PWGUD/TableProducer/tauEventTableProducer.cxx b/PWGUD/TableProducer/tauEventTableProducer.cxx index 2538415540f..d7e15959b85 100644 --- a/PWGUD/TableProducer/tauEventTableProducer.cxx +++ b/PWGUD/TableProducer/tauEventTableProducer.cxx @@ -513,7 +513,7 @@ struct TauEventTableProducer { if (verboseInfo) printLargeMessage("Truth collision has more than 1 reco collision. Skipping this event."); histos.get(HIST("Truth/hTroubles"))->Fill(1); - problem = true; + // problem = true; // FIXME: unused continue; } // grap reco-level collision diff --git a/PWGUD/TableProducer/twoTracksEventTableProducer.cxx b/PWGUD/TableProducer/twoTracksEventTableProducer.cxx index cf5f91a34a6..3526401d72c 100644 --- a/PWGUD/TableProducer/twoTracksEventTableProducer.cxx +++ b/PWGUD/TableProducer/twoTracksEventTableProducer.cxx @@ -577,7 +577,7 @@ struct TwoTracksEventTableProducer { if (verboseInfo) printLargeMessage("Truth collision has more than 1 reco collision. Skipping this event."); histos.get(HIST("Truth/hTroubles"))->Fill(1); - problem = true; + // problem = true; // FIXME: unused continue; } // grap reco-level collision diff --git a/PWGUD/Tasks/diffQA.cxx b/PWGUD/Tasks/diffQA.cxx index adc79e0c37f..b97b7e3eeb6 100644 --- a/PWGUD/Tasks/diffQA.cxx +++ b/PWGUD/Tasks/diffQA.cxx @@ -950,7 +950,7 @@ struct DiffQA { for (const auto& col : collisions) { bc1 = -1; bc2 = -2; - bc3 = -3; + // bc3 = -3; // FIXME: unused if (col.has_foundBC()) { auto bc = col.foundBC_as(); bc1 = bc.globalBC(); diff --git a/PWGUD/Tasks/exclusivePentaquark.cxx b/PWGUD/Tasks/exclusivePentaquark.cxx index ed5b440add0..a37d73f1096 100644 --- a/PWGUD/Tasks/exclusivePentaquark.cxx +++ b/PWGUD/Tasks/exclusivePentaquark.cxx @@ -116,7 +116,7 @@ struct ExclusivePentaquark { int truegapSide = sgSelector.trueGap(collision, FV0_cut, FT0A_cut, FT0C_cut, ZDC_cut); registry.fill(HIST("GapSide"), gapSide); registry.fill(HIST("TrueGapSide"), truegapSide); - gapSide = truegapSide; + // gapSide = truegapSide; // if (gapSide != gap_Side) { // return; // } diff --git a/PWGUD/Tasks/exclusivePhiLeptons.cxx b/PWGUD/Tasks/exclusivePhiLeptons.cxx index 9576ece02b5..383273a34cc 100644 --- a/PWGUD/Tasks/exclusivePhiLeptons.cxx +++ b/PWGUD/Tasks/exclusivePhiLeptons.cxx @@ -259,7 +259,7 @@ struct ExclusivePhiLeptons { registry.fill(HIST("hEta1"), onlyElectronTracks[1].Eta()); resonance += onlyElectronTracks[0]; resonance += onlyElectronTracks[1]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigma[1] * onlyElectronSigma[1]; ; registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigma[1]); @@ -285,7 +285,7 @@ struct ExclusivePhiLeptons { registry.fill(HIST("hEta1"), onlyElectronTracksTOF[0].Eta()); resonance += onlyElectronTracks[0]; resonance += onlyElectronTracksTOF[0]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0]; ; registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigmaTOF[0]); @@ -311,7 +311,7 @@ struct ExclusivePhiLeptons { registry.fill(HIST("hEta1"), onlyElectronTracksTOF[1].Eta()); resonance += onlyElectronTracksTOF[0]; resonance += onlyElectronTracksTOF[1]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0] + onlyElectronSigmaTOF[1] * onlyElectronSigmaTOF[1]; ; registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigmaTOF[0], onlyElectronSigmaTOF[1]); diff --git a/PWGUD/Tasks/exclusivePhiLeptonsTrees.cxx b/PWGUD/Tasks/exclusivePhiLeptonsTrees.cxx index 5a7ccd7a315..3bf485b55da 100644 --- a/PWGUD/Tasks/exclusivePhiLeptonsTrees.cxx +++ b/PWGUD/Tasks/exclusivePhiLeptonsTrees.cxx @@ -237,7 +237,7 @@ struct ExclusivePhiLeptonsTrees { resonance += onlyElectronTracks[1]; a += onlyElectronTracks[0]; b += onlyElectronTracks[1]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigma[1] * onlyElectronSigma[1]; ; registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigma[1]); @@ -254,7 +254,7 @@ struct ExclusivePhiLeptonsTrees { resonance += onlyElectronTracksTOF[0]; a += onlyElectronTracks[0]; b += onlyElectronTracksTOF[0]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyElectronSigma[0] * onlyElectronSigma[0] + onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0]; ; registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigma[0], onlyElectronSigmaTOF[0]); @@ -271,7 +271,7 @@ struct ExclusivePhiLeptonsTrees { resonance += onlyElectronTracksTOF[1]; a += onlyElectronTracksTOF[0]; b += onlyElectronTracksTOF[1]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyElectronSigmaTOF[0] * onlyElectronSigmaTOF[0] + onlyElectronSigmaTOF[1] * onlyElectronSigmaTOF[1]; ; registry.fill(HIST("hNsigEvsKa1"), onlyElectronSigmaTOF[0], onlyElectronSigmaTOF[1]); diff --git a/PWGUD/Tasks/exclusiveTwoProtons.cxx b/PWGUD/Tasks/exclusiveTwoProtons.cxx index 3b0b081dc86..5fea2cb18e7 100644 --- a/PWGUD/Tasks/exclusiveTwoProtons.cxx +++ b/PWGUD/Tasks/exclusiveTwoProtons.cxx @@ -284,7 +284,7 @@ struct ExclusiveTwoProtons { resonance += onlyProtonTracksTOF[0]; a = onlyProtonTracks[0]; b = onlyProtonTracksTOF[0]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyProtonSigma[0] * onlyProtonSigma[0] + onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0]; ; registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigma[0], onlyProtonSigmaTOF[0]); @@ -327,7 +327,7 @@ struct ExclusiveTwoProtons { resonance += onlyProtonTracksTOF[1]; a = onlyProtonTracksTOF[0]; b = onlyProtonTracksTOF[1]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0] + onlyProtonSigmaTOF[1] * onlyProtonSigmaTOF[1]; ; registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigmaTOF[0], onlyProtonSigmaTOF[1]); diff --git a/PWGUD/Tasks/exclusiveTwoProtonsSG.cxx b/PWGUD/Tasks/exclusiveTwoProtonsSG.cxx index def67ca1bd0..a28473e7c41 100644 --- a/PWGUD/Tasks/exclusiveTwoProtonsSG.cxx +++ b/PWGUD/Tasks/exclusiveTwoProtonsSG.cxx @@ -311,7 +311,7 @@ struct ExclusiveTwoProtonsSG { resonance += onlyProtonTracksTOF[0]; a = onlyProtonTracks[0]; b = onlyProtonTracksTOF[0]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyProtonSigma[0] * onlyProtonSigma[0] + onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0]; ; registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigma[0], onlyProtonSigmaTOF[0]); @@ -355,7 +355,7 @@ struct ExclusiveTwoProtonsSG { resonance += onlyProtonTracksTOF[1]; a = onlyProtonTracksTOF[0]; b = onlyProtonTracksTOF[1]; - sigmaTotal = 0; + // sigmaTotal = 0; // FIXME: unused sigmaTotal = onlyProtonSigmaTOF[0] * onlyProtonSigmaTOF[0] + onlyProtonSigmaTOF[1] * onlyProtonSigmaTOF[1]; ; registry.fill(HIST("hNsigEvsKa1"), onlyProtonSigmaTOF[0], onlyProtonSigmaTOF[1]); diff --git a/PWGUD/Tasks/sgExclOmega.cxx b/PWGUD/Tasks/sgExclOmega.cxx index cb8c298ce0f..14da74f4411 100644 --- a/PWGUD/Tasks/sgExclOmega.cxx +++ b/PWGUD/Tasks/sgExclOmega.cxx @@ -120,7 +120,7 @@ struct SGExclOmega { int truegapSide = sgSelector.trueGap(collision, FIT_cut[0], FIT_cut[1], FIT_cut[2], ZDC_cut); registry.fill(HIST("GapSide"), gapSide); registry.fill(HIST("TrueGapSide"), truegapSide); - gapSide = truegapSide; + // gapSide = truegapSide; // if (gapSide!=2) return; int pvtracks = 0; int esign = 0; diff --git a/PWGUD/Tasks/sgSpectraAnalyzer.cxx b/PWGUD/Tasks/sgSpectraAnalyzer.cxx index 2d0d577bb84..bd041e7269b 100644 --- a/PWGUD/Tasks/sgSpectraAnalyzer.cxx +++ b/PWGUD/Tasks/sgSpectraAnalyzer.cxx @@ -234,7 +234,7 @@ struct SGSpectraAnalyzer { int goodtracks = 0; int alltracks = 0; sum.SetXYZM(0, 0, 0, 0); - int gapSide = collision.gapSide(); + int gapSide{}; // = collision.gapSide(); // FIXME: unused float FIT_cut[5] = {FV0_cut, FT0A_cut, FT0C_cut, FDDA_cut, FDDC_cut}; std::vector parameters = {PV_cut, dcaZ_cut, dcaXY_cut, tpcChi2_cut, tpcNClsFindable_cut, itsChi2_cut, eta_cut, pt_cut}; int truegapSide = sgSelector.trueGap(collision, FIT_cut[0], FIT_cut[1], FIT_cut[2], ZDC_cut);