diff --git a/Common/Core/macros/testCollisionTypeHelper.C b/Common/Core/macros/testCollisionTypeHelper.C index f84970a46a3..345fc01ceaa 100644 --- a/Common/Core/macros/testCollisionTypeHelper.C +++ b/Common/Core/macros/testCollisionTypeHelper.C @@ -26,5 +26,5 @@ void testCollisionTypeHelper(int runNumber = 544124) o2::parameters::GRPLHCIFData* grpo = ccdb.getSpecificForRun("GLO/Config/GRPLHCIF", runNumber); grpo->print(); - int collsys = o2::common::core::CollisionSystemType::getCollisionTypeFromGrp(grpo); + [[maybe_unused]] int collsys = o2::common::core::CollisionSystemType::getCollisionTypeFromGrp(grpo); } diff --git a/Common/TableProducer/PID/pidTOFBase.cxx b/Common/TableProducer/PID/pidTOFBase.cxx index 257dbf5b6b9..733da06b1ea 100644 --- a/Common/TableProducer/PID/pidTOFBase.cxx +++ b/Common/TableProducer/PID/pidTOFBase.cxx @@ -469,7 +469,7 @@ struct tofEventTime { // Reset the event time eventTime = 0.f; sumOfWeights = 0.f; - weight = 0.f; + // weight = 0.f; // FIXME: unused // Remove the bias on TOF ev. time if constexpr (removeTOFEvTimeBias) { evTimeTOF.removeBias(trk, nGoodTracksForTOF, t0TOF[0], t0TOF[1], 2); diff --git a/Common/TableProducer/PID/pidTOFMerge.cxx b/Common/TableProducer/PID/pidTOFMerge.cxx index 8b1486f94d2..337e828630c 100644 --- a/Common/TableProducer/PID/pidTOFMerge.cxx +++ b/Common/TableProducer/PID/pidTOFMerge.cxx @@ -435,7 +435,7 @@ struct tofEventTime { // Reset the event time eventTime = 0.f; sumOfWeights = 0.f; - weight = 0.f; + // weight = 0.f; // FIXME: unused // Remove the bias on TOF ev. time if constexpr (kRemoveTOFEvTimeBias) { evTimeMakerTOF.removeBias(trk, nGoodTracksForTOF, t0TOF[0], t0TOF[1], 2); diff --git a/Common/TableProducer/caloClusterProducer.cxx b/Common/TableProducer/caloClusterProducer.cxx index 5227b133335..c7707eb3652 100644 --- a/Common/TableProducer/caloClusterProducer.cxx +++ b/Common/TableProducer/caloClusterProducer.cxx @@ -1116,9 +1116,9 @@ struct CaloClusterProducer { if (cpvdist != 99.) { // was evaluated cpvdist = std::sqrt(cpvdist); // was squared } - if (trackdist != 99.) { // was evaluated - trackdist = std::sqrt(trackdist); // was squared - } + // if (trackdist != 99.) { // was evaluated + // trackdist = std::sqrt(trackdist); // was squared // FIXME: unused + // } float lambdaShort = 0., lambdaLong = 0.; clu.getElipsAxis(lambdaShort, lambdaLong); @@ -1544,9 +1544,9 @@ struct CaloClusterProducer { if (cpvdist != 99.) { // was evaluated cpvdist = std::sqrt(cpvdist); // was squared } - if (trackdist != 99.) { // was evaluated - trackdist = std::sqrt(trackdist); // was squared - } + // if (trackdist != 99.) { // was evaluated + // trackdist = std::sqrt(trackdist); // was squared // FIXME: unused + // } float lambdaShort = 0., lambdaLong = 0.; clu.getElipsAxis(lambdaShort, lambdaLong); diff --git a/Common/TableProducer/match-mft-ft0.cxx b/Common/TableProducer/match-mft-ft0.cxx index d282c75c6fe..05bd98f6952 100644 --- a/Common/TableProducer/match-mft-ft0.cxx +++ b/Common/TableProducer/match-mft-ft0.cxx @@ -367,7 +367,7 @@ struct matchmftft0 { auto ft0s = bc.ft0s(); i = 0; // reinitialise - D = 0.0; + // D = 0.0; // FIXME: unused minD = 999.9; for (auto const& ft0 : ft0s) { // printf("---------ft0.bcId %d\n", ft0.bcId()); diff --git a/Common/Tools/Multiplicity/macros/runCalibration.C b/Common/Tools/Multiplicity/macros/runCalibration.C index 1e1d4f96b5f..2264df723db 100644 --- a/Common/Tools/Multiplicity/macros/runCalibration.C +++ b/Common/Tools/Multiplicity/macros/runCalibration.C @@ -40,7 +40,7 @@ void runCalibration(const TString& lInputFileName = "results/AR_544122_glauberNB TH1F* hData = dynamic_cast(file->Get("hV0MUltraFine")); TH1F* hGlauberParameters = dynamic_cast(file->Get("hGlauberParameters")); - TH1F* hGlauberFitRange = dynamic_cast(file->Get("hGlauberFitRange")); + [[maybe_unused]] TH1F* hGlauberFitRange = dynamic_cast(file->Get("hGlauberFitRange")); hData->SetName("hData"); TH1F* hStitched = dynamic_cast(hData->Clone("hStitched")); TH1F* hFit = dynamic_cast(file->Get("hGlauber")); diff --git a/Common/Tools/Multiplicity/macros/runGlauberFit.C b/Common/Tools/Multiplicity/macros/runGlauberFit.C index 9524985b1ff..ea4b33c8a48 100644 --- a/Common/Tools/Multiplicity/macros/runGlauberFit.C +++ b/Common/Tools/Multiplicity/macros/runGlauberFit.C @@ -357,8 +357,8 @@ int runGlauberFit(const TString& lInputFileName = "AnalysisResultsLHC24ar.root", c1->cd(1); TLatex* lat = new TLatex(); lat->SetNDC(); - Float_t lPosText = 0.76; - Float_t lYShift = 0.25; + // Float_t lPosText = 0.76; // FIXME: unused + // Float_t lYShift = 0.25; // FIXME: unused lat->SetTextSize(0.042); // save the glauber parameters explicitly diff --git a/Common/Tools/Multiplicity/macros/saveCorrelation.C b/Common/Tools/Multiplicity/macros/saveCorrelation.C index 04b27fc6c1b..ed0376fab54 100644 --- a/Common/Tools/Multiplicity/macros/saveCorrelation.C +++ b/Common/Tools/Multiplicity/macros/saveCorrelation.C @@ -59,6 +59,7 @@ void saveCorrelation(const TString& filename = "gmc-PbPb-snn68.21-md0.40-nd-1.0- // 2D correlation plot necessary for Glauber + NBD fitting // The provided range should be enough for Pb-Pb + // NOLINTNEXTLINE(clang-analyzer-deadcode.DeadStores,clang-diagnostic-unused-variable) TH2D* hNpNc = new TH2D("hNpNc", "", 500, -0.5, 499.5, 2500, -0.5, 2499.5); // let's draw this on screen for inspection