diff --git a/PWGDQ/Core/VarManager.h b/PWGDQ/Core/VarManager.h index 565e1c5614a..203dff50c3a 100644 --- a/PWGDQ/Core/VarManager.h +++ b/PWGDQ/Core/VarManager.h @@ -1451,7 +1451,7 @@ void VarManager::FillTwoEvents(T const& ev1, T const& ev2, float* values) } template -void VarManager::FillTwoMixEvents(T1 const& ev1, T1 const& ev2, T2 const& tracks1, T2 const& tracks2, float* values) +void VarManager::FillTwoMixEvents(T1 const& ev1, T1 const& ev2, T2 const& /*tracks1*/, T2 const& /*tracks2*/, float* values) { if (!values) { values = fgValues; @@ -2957,7 +2957,7 @@ void VarManager::FillDileptonTrackVertexing(C const& collision, T1 const& lepton } template -void VarManager::FillQVectorFromGFW(C const& collision, A const& compA11, A const& compB11, A const& compC11, A const& compA21, A const& compB21, A const& compC21, A const& compA31, A const& compB31, A const& compC31, A const& compA41, A const& compB41, A const& compC41, A const& compA23, A const& compA42, float S10A, float S10B, float S10C, float S11A, float S11B, float S11C, float S12A, float S13A, float S14A, float S21A, float S22A, float S31A, float S41A, float* values) +void VarManager::FillQVectorFromGFW(C const& /*collision*/, A const& compA11, A const& compB11, A const& compC11, A const& compA21, A const& compB21, A const& compC21, A const& compA31, A const& compB31, A const& compC31, A const& compA41, A const& compB41, A const& compC41, A const& compA23, A const& compA42, float S10A, float S10B, float S10C, float S11A, float S11B, float S11C, float S12A, float S13A, float S14A, float S21A, float S22A, float S31A, float S41A, float* values) { if (!values) { values = fgValues; diff --git a/PWGDQ/TableProducer/tableMaker.cxx b/PWGDQ/TableProducer/tableMaker.cxx index b5b52144b46..a34892a09fa 100644 --- a/PWGDQ/TableProducer/tableMaker.cxx +++ b/PWGDQ/TableProducer/tableMaker.cxx @@ -1540,7 +1540,7 @@ struct TableMaker { // Produce muon tables only based on track-collision association tables -------------------------------------------------------------------------------------- void processAssociatedMuonOnly(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs, - soa::Filtered const& tracksMuon, aod::AmbiguousTracksFwd const& ambiTracksFwd, aod::FwdTrackAssoc const& fwdtrackIndices) + soa::Filtered const& tracksMuon, aod::AmbiguousTracksFwd const&, aod::FwdTrackAssoc const& fwdtrackIndices) { for (auto& collision : collisions) { auto muonIdsThisCollision = fwdtrackIndices.sliceBy(fwdtrackIndicesPerCollision, collision.globalIndex()); @@ -1549,7 +1549,7 @@ struct TableMaker { } void processAssociatedMuonOnlyWithCov(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs, - soa::Filtered const& tracksMuon, aod::AmbiguousTracksFwd const& ambiTracksFwd, aod::FwdTrackAssoc const& fwdtrackIndices) + soa::Filtered const& tracksMuon, aod::AmbiguousTracksFwd const&, aod::FwdTrackAssoc const& fwdtrackIndices) { for (auto& collision : collisions) { auto muonIdsThisCollision = fwdtrackIndices.sliceBy(fwdtrackIndicesPerCollision, collision.globalIndex()); diff --git a/PWGDQ/TableProducer/tableMakerJpsiHf.cxx b/PWGDQ/TableProducer/tableMakerJpsiHf.cxx index 7b5d4a1e287..9c18f0b9fc4 100644 --- a/PWGDQ/TableProducer/tableMakerJpsiHf.cxx +++ b/PWGDQ/TableProducer/tableMakerJpsiHf.cxx @@ -88,7 +88,7 @@ struct tableMakerJpsiHf { HistogramManager* fHistMan{}; OutputObj fOutputList{"output"}; - void init(o2::framework::InitContext& context) + void init(o2::framework::InitContext&) { fValuesDileptonCharmHadron = new float[VarManager::kNVars]; VarManager::SetDefaultVarNames(); @@ -238,7 +238,7 @@ struct tableMakerJpsiHf { } // process J/psi(->mumu) - D0 - void processJspiToMuMuD0(MyEvents const& collisions, MyDimuonCandidatesSelected const& dileptons, MyD0CandidatesSelected const& dmesons) + void processJspiToMuMuD0(MyEvents const& collisions, MyDimuonCandidatesSelected const&, MyD0CandidatesSelected const&) { if (storeTableForNorm) { redCollCounter(collisions.size()); @@ -251,7 +251,7 @@ struct tableMakerJpsiHf { } // process J/psi(->ee) - D0 - void processJspiToEED0(MyEvents const& collisions, MyDielectronCandidatesSelected const& dileptons, MyD0CandidatesSelected const& dmesons) + void processJspiToEED0(MyEvents const& collisions, MyDielectronCandidatesSelected const&, MyD0CandidatesSelected const&) { if (storeTableForNorm) { redCollCounter(collisions.size()); @@ -264,7 +264,7 @@ struct tableMakerJpsiHf { } // process J/psi(->mumu) - D0 adding the BDT output scores to the D0 table - void processJspiToMuMuD0WithBdt(MyEvents const& collisions, MyDimuonCandidatesSelected const& dileptons, MyD0CandidatesSelectedWithBdt const& dmesons) + void processJspiToMuMuD0WithBdt(MyEvents const& collisions, MyDimuonCandidatesSelected const&, MyD0CandidatesSelectedWithBdt const&) { if (storeTableForNorm) { redCollCounter(collisions.size()); @@ -277,7 +277,7 @@ struct tableMakerJpsiHf { } // process J/psi(->ee) - D0 adding the BDT output scores to the D0 table - void processJspiToEED0WithBdt(MyEvents const& collisions, MyDielectronCandidatesSelected const& dileptons, MyD0CandidatesSelectedWithBdt const& dmesons) + void processJspiToEED0WithBdt(MyEvents const& collisions, MyDielectronCandidatesSelected const&, MyD0CandidatesSelectedWithBdt const&) { if (storeTableForNorm) { redCollCounter(collisions.size()); diff --git a/PWGDQ/TableProducer/tableMakerMC.cxx b/PWGDQ/TableProducer/tableMakerMC.cxx index b4f79de95cb..7e73247701b 100644 --- a/PWGDQ/TableProducer/tableMakerMC.cxx +++ b/PWGDQ/TableProducer/tableMakerMC.cxx @@ -305,8 +305,8 @@ struct TableMakerMC { // Templated function instantianed for all of the process functions template - void fullSkimming(TEvent const& collisions, aod::BCsWithTimestamps const& bcs, TTracks const& tracksBarrel, TMuons const& tracksMuon, - aod::McCollisions const& mcEvents, aod::McParticles_001 const& mcTracks, TAmbiTracks const& ambiTracksMid, TAmbiMuons const& ambiTracksFwd) + void fullSkimming(TEvent const& collisions, aod::BCsWithTimestamps const& /*bcs*/, TTracks const& tracksBarrel, TMuons const& tracksMuon, + aod::McCollisions const& /*mcEvents*/, aod::McParticles_001 const& mcTracks, TAmbiTracks const& ambiTracksMid, TAmbiMuons const& ambiTracksFwd) { // Loop over collisions and produce skimmed data tables for: // 1) all selected collisions diff --git a/PWGDQ/TableProducer/tableMakerMuonMchTrkEfficiency.cxx b/PWGDQ/TableProducer/tableMakerMuonMchTrkEfficiency.cxx index 123ad96fa16..6fe09efed16 100644 --- a/PWGDQ/TableProducer/tableMakerMuonMchTrkEfficiency.cxx +++ b/PWGDQ/TableProducer/tableMakerMuonMchTrkEfficiency.cxx @@ -359,7 +359,7 @@ struct tableMakerMuonMchTrkEfficiency { } /// process to fill histograms - void FillHistosMC(double mEta, double mPhi, double mPt, uint16_t mchBitmap, bool isSel, double mGenEta, double mGenPt, double mGenPhi) + void FillHistosMC(double mEta, double mPhi, double mPt, uint16_t /*mchBitmap*/, bool isSel, double mGenEta, double mGenPt, double mGenPhi) { registry.fill(HIST("hPtRecPtGen"), mPt, mGenPt); @@ -585,7 +585,7 @@ struct tableMakerMuonMchTrkEfficiency { } //! process function for full muon information - void processReco(myEvents::iterator const& collision, aod::BCsWithTimestamps const& bcs, myMuons const& muons) + void processReco(myEvents::iterator const& collision, aod::BCsWithTimestamps const&, myMuons const& muons) { /// Run event selection runEventSelection(collision); @@ -606,8 +606,8 @@ struct tableMakerMuonMchTrkEfficiency { //! process function for simulated muon information //! group according to reconstructed Collisions - void processSim(myEventsMC::iterator const& collision, aod::BCsWithTimestamps const& bcs, myMuonsMC const& muons, - aod::McParticles_001 const& mcParticles, aod::McCollisions const& mcCollisions) + void processSim(myEventsMC::iterator const& collision, aod::BCsWithTimestamps const&, myMuonsMC const& muons, + aod::McParticles_001 const&, aod::McCollisions const&) { // TODO: investigate the collisions without corresponding mcCollision if (!collision.has_mcCollision()) { @@ -629,7 +629,7 @@ struct tableMakerMuonMchTrkEfficiency { //! process function for reducedsimulated muon information //! group according to reconstructed Collisions void processSimReduced(myReducedEventsMC::iterator const& collision, myReducedMuonsMC const& muons, - aod::McParticles_001 const& mcParticles, aod::McCollisions const& mcCollisions) + aod::McParticles_001 const&, aod::McCollisions const&) { /// Run event selection diff --git a/PWGDQ/TableProducer/tableMaker_withAssoc.cxx b/PWGDQ/TableProducer/tableMaker_withAssoc.cxx index 4dd54b24be3..65854e70614 100644 --- a/PWGDQ/TableProducer/tableMaker_withAssoc.cxx +++ b/PWGDQ/TableProducer/tableMaker_withAssoc.cxx @@ -420,7 +420,7 @@ struct TableMaker { } template - void skimCollisions(TEvents const& collisions, BCsWithTimestamps const& bcs) + void skimCollisions(TEvents const& collisions, BCsWithTimestamps const& /*bcs*/) { // Skim collisions // NOTE: So far, collisions are filtered based on the user specified analysis cuts and the filterPP event filter. @@ -531,7 +531,7 @@ struct TableMaker { } template - void skimTracks(TEvent const& collision, BCsWithTimestamps const& bcs, TTracks const& tracks, TrackAssoc const& assocs) + void skimTracks(TEvent const& collision, BCsWithTimestamps const& /*bcs*/, TTracks const& /*tracks*/, TrackAssoc const& assocs) { // Skim the barrel tracks // Loop over the collision-track associations, retrieve the track, and apply track cuts for selection @@ -648,7 +648,7 @@ struct TableMaker { } // end skimTracks template - void skimMFT(TEvent const& collision, BCsWithTimestamps const& bcs, MFTTracks const& mfts, MFTTrackAssoc const& mftAssocs) + void skimMFT(TEvent const& collision, BCsWithTimestamps const& /*bcs*/, MFTTracks const& /*mfts*/, MFTTrackAssoc const& mftAssocs) { // Skim MFT tracks // So far no cuts are applied here @@ -675,7 +675,7 @@ struct TableMaker { } template - void skimMuons(TEvent const& collision, BCsWithTimestamps const& bcs, TMuons const& muons, FwdTrackAssoc const& muonAssocs) + void skimMuons(TEvent const& collision, BCsWithTimestamps const& /*bcs*/, TMuons const& muons, FwdTrackAssoc const& muonAssocs) { // Skim the fwd-tracks (muons) // Loop over the collision-track associations, recompute track properties depending on the collision assigned, and apply track cuts for selection diff --git a/PWGDQ/Tasks/DalitzSelection.cxx b/PWGDQ/Tasks/DalitzSelection.cxx index ae5f9e13eda..6b285d4e04a 100755 --- a/PWGDQ/Tasks/DalitzSelection.cxx +++ b/PWGDQ/Tasks/DalitzSelection.cxx @@ -258,7 +258,7 @@ struct dalitzPairing { } } - void processFullTracks(MyEvents const& collisions, aod::BCsWithTimestamps const& bcs, soa::Filtered const& filteredTracks, MyBarrelTracks const& tracks) + void processFullTracks(MyEvents const& collisions, aod::BCsWithTimestamps const&, soa::Filtered const& filteredTracks, MyBarrelTracks const& tracks) { const int pairType = VarManager::kDecayToEE; fDalitzmap.clear(); diff --git a/PWGDQ/Tasks/MIDefficiency.cxx b/PWGDQ/Tasks/MIDefficiency.cxx index 6e2d6eaa4e1..125761e173d 100644 --- a/PWGDQ/Tasks/MIDefficiency.cxx +++ b/PWGDQ/Tasks/MIDefficiency.cxx @@ -61,7 +61,7 @@ struct midEfficiency { // MID mapping for LB calculation o2::mid::Mapping mapping; - void init(o2::framework::InitContext const& ic) + void init(o2::framework::InitContext const&) { LOGF(debug, "Initialization starting"); @@ -93,7 +93,7 @@ struct midEfficiency { } // end of init template - void runMidEffCounters(TEvent const& event, Muons const& muons) + void runMidEffCounters(TEvent const& /*event*/, Muons const& muons) { LOGF(debug, "Calling process function"); diff --git a/PWGDQ/Tasks/dqCorrelation.cxx b/PWGDQ/Tasks/dqCorrelation.cxx index cfaa5252e72..353a7fbf575 100644 --- a/PWGDQ/Tasks/dqCorrelation.cxx +++ b/PWGDQ/Tasks/dqCorrelation.cxx @@ -181,7 +181,7 @@ struct DqCumulantFlow { TRandom3* fRndm = new TRandom3(0); TAxis* fPtAxis; - void init(o2::framework::InitContext& context) + void init(o2::framework::InitContext&) { ccdb->setURL(url.value); @@ -388,7 +388,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) adaptAnalysisTask(cfgc)}; } -void FillFC(GFW* fGFW, OutputObj fFC, const GFW::CorrConfig& corrconf, const double& cent, const double& rndm, bool fillflag) +void FillFC(GFW* fGFW, OutputObj fFC, const GFW::CorrConfig& corrconf, const double& cent, const double& rndm, bool /*fillflag*/) { // Calculate the correlations from the GFW double dnx, dny, valx; diff --git a/PWGDQ/Tasks/dqEfficiency.cxx b/PWGDQ/Tasks/dqEfficiency.cxx index fe11e85eddc..eca1a96e73a 100644 --- a/PWGDQ/Tasks/dqEfficiency.cxx +++ b/PWGDQ/Tasks/dqEfficiency.cxx @@ -116,7 +116,7 @@ struct AnalysisEventSelection { } template - void runSelection(TEvent const& event, TEventsMC const& mcEvents) + void runSelection(TEvent const& event, TEventsMC const& /*mcEvents*/) { // Reset the values array VarManager::ResetValues(0, VarManager::kNEventWiseVariables); @@ -222,7 +222,7 @@ struct AnalysisTrackSelection { } template - void runSelection(TEvent const& event, TTracks const& tracks, TEventsMC const& eventsMC, TTracksMC const& tracksMC) + void runSelection(TEvent const& event, TTracks const& tracks, TEventsMC const& /*eventsMC*/, TTracksMC const& /*tracksMC*/) { VarManager::ResetValues(0, VarManager::kNMCParticleVariables); // fill event information which might be needed in histograms that combine track and event properties @@ -382,7 +382,7 @@ struct AnalysisMuonSelection { } template - void runSelection(TEvent const& event, TMuons const& muons, TEventsMC const& eventsMC, TMuonsMC const& muonsMC) + void runSelection(TEvent const& event, TMuons const& muons, TEventsMC const& /*eventsMC*/, TMuonsMC const& /*muonsMC*/) { // cout << "Event ######################################" << endl; VarManager::ResetValues(0, VarManager::kNMCParticleVariables); @@ -685,7 +685,7 @@ struct AnalysisSameEventPairing { } template - void runPairing(TEvent const& event, TTracks1 const& tracks1, TTracks2 const& tracks2, TEventsMC const& eventsMC, TTracksMC const& tracksMC) + void runPairing(TEvent const& event, TTracks1 const& tracks1, TTracks2 const& tracks2, TEventsMC const& /*eventsMC*/, TTracksMC const& /*tracksMC*/) { if (fCurrentRun != event.runNumber()) { if (fUseRemoteField.value) { @@ -1084,7 +1084,7 @@ struct AnalysisDileptonTrack { // Template function to run pair - track combinations template - void runDileptonTrack(TEvent const& event, TTracks const& tracks, TDileptons const& dileptons, TEventsMC const& eventsMC, TTracksMC const& tracksMC) + void runDileptonTrack(TEvent const& event, TTracks const& tracks, TDileptons const& dileptons, TEventsMC const& /*eventsMC*/, TTracksMC const& /*tracksMC*/) { VarManager::ResetValues(0, VarManager::kNVars, fValuesTrack); VarManager::ResetValues(0, VarManager::kNVars, fValuesDilepton); diff --git a/PWGDQ/Tasks/dqFlow.cxx b/PWGDQ/Tasks/dqFlow.cxx index 32e0582234c..3eb3cde054a 100644 --- a/PWGDQ/Tasks/dqFlow.cxx +++ b/PWGDQ/Tasks/dqFlow.cxx @@ -234,7 +234,7 @@ struct DQEventQvector { } // Fill the FlowContainer - void FillFC(const GFW::CorrConfig& corrconf, const double& cent, const double& rndm, bool fillflag) + void FillFC(const GFW::CorrConfig& corrconf, const double& cent, const double& rndm, bool /*fillflag*/) { // Calculate the correlations from the GFW double dnx, dny, valx; diff --git a/PWGDQ/Tasks/filterPP.cxx b/PWGDQ/Tasks/filterPP.cxx index b8e21cefe94..f13392d197f 100644 --- a/PWGDQ/Tasks/filterPP.cxx +++ b/PWGDQ/Tasks/filterPP.cxx @@ -137,7 +137,7 @@ struct DQEventSelectionTask { } template - void runEventSelection(TEvent const& collision, aod::BCs const& bcs) + void runEventSelection(TEvent const& collision, aod::BCs const&) { // Reset the Values array VarManager::ResetValues(0, VarManager::kNEventWiseVariables); @@ -491,7 +491,7 @@ struct DQFilterPPTask { } template - void runFilterPP(TEvent const& collision, aod::BCs const& bcs, TTracks const& tracksBarrel, TMuons const& muons) + void runFilterPP(TEvent const& collision, aod::BCs const&, TTracks const& tracksBarrel, TMuons const& muons) { fStats->Fill(-2.0); // if the event is not selected produce tables and return diff --git a/PWGDQ/Tasks/filterPPwithAssociation.cxx b/PWGDQ/Tasks/filterPPwithAssociation.cxx index ce804d5264b..a245c2dac0a 100644 --- a/PWGDQ/Tasks/filterPPwithAssociation.cxx +++ b/PWGDQ/Tasks/filterPPwithAssociation.cxx @@ -151,7 +151,7 @@ struct DQEventSelectionTask { } template - void runEventSelection(TEvent const& collision, aod::BCs const& bcs) + void runEventSelection(TEvent const& collision, aod::BCs const& /*bcs*/) { // Reset the Values array VarManager::ResetValues(0, VarManager::kNEventWiseVariables); @@ -638,9 +638,9 @@ struct DQFilterPPTask { template uint64_t runFilterPP(TEvent const& collision, - aod::BCsWithTimestamps const& bcs, - TTracks const& tracksBarrel, - TMuons const& muons, + aod::BCsWithTimestamps const& /*bcs*/, + TTracks const& /*tracksBarrel*/, + TMuons const& /*muons*/, AssocTracks const& barrelAssocs, AssocMuons const& muonAssocs) { auto bc = collision.template bc_as(); diff --git a/PWGDQ/Tasks/tableReader.cxx b/PWGDQ/Tasks/tableReader.cxx index fd637c776be..3838f40380c 100644 --- a/PWGDQ/Tasks/tableReader.cxx +++ b/PWGDQ/Tasks/tableReader.cxx @@ -455,7 +455,7 @@ struct AnalysisPrefilterSelection { std::map fPrefiltermap; AnalysisCompositeCut* fPairCut; - void init(o2::framework::InitContext& context) + void init(o2::framework::InitContext&) { fPairCut = new AnalysisCompositeCut(true); TString pairCutStr = fConfigPrefilterPairCut.value; @@ -1332,7 +1332,7 @@ struct AnalysisFwdTrackPid { Configurable fConfigMaxDCA{"cfgMaxDCA", 0.5f, "Manually set maximum DCA of the track"}; - void init(o2::framework::InitContext& context) + void init(o2::framework::InitContext&) { } diff --git a/PWGDQ/Tasks/tableReader_withAssoc.cxx b/PWGDQ/Tasks/tableReader_withAssoc.cxx index f7e385ad0bf..f34b3d73a51 100644 --- a/PWGDQ/Tasks/tableReader_withAssoc.cxx +++ b/PWGDQ/Tasks/tableReader_withAssoc.cxx @@ -571,7 +571,7 @@ struct AnalysisMuonSelection { } template - void runMuonSelection(ReducedMuonsAssoc const& assocs, TEvents const& events, TMuons const& muons) + void runMuonSelection(ReducedMuonsAssoc const& assocs, TEvents const& events, TMuons const& /*muons*/) { if (events.size() > 0 && fCurrentRun != events.begin().runNumber()) { o2::parameters::GRPMagField* grpmag = fCCDB->getForTimeStamp(grpmagPath, events.begin().timestamp()); @@ -708,7 +708,7 @@ struct AnalysisPrefilterSelection { } template - void runPrefilter(soa::Join const& assocs, TTracks const& tracks) + void runPrefilter(soa::Join const& assocs, TTracks const& /*tracks*/) { for (auto& [assoc1, assoc2] : o2::soa::combinations(assocs, assocs)) { @@ -1086,7 +1086,7 @@ struct AnalysisSameEventPairing { // Template function to run same event pairing (barrel-barrel, muon-muon, barrel-muon) template - void runSameEventPairing(TEvents const& events, Preslice& preslice, TTrackAssocs const& assocs, TTracks const& tracks) + void runSameEventPairing(TEvents const& events, Preslice& preslice, TTrackAssocs const& assocs, TTracks const& /*tracks*/) { if (fCurrentRun != events.begin().runNumber()) { initParamsFromCCDB(events.begin().timestamp(), TTwoProngFitter); @@ -1307,7 +1307,7 @@ struct AnalysisSameEventPairing { } template - void runMixedPairing(TAssoc1 const& assocs1, TAssoc2 const& assocs2, TTracks1 const& tracks1, TTracks2 const& tracks2) + void runMixedPairing(TAssoc1 const& assocs1, TAssoc2 const& assocs2, TTracks1 const& /*tracks1*/, TTracks2 const& /*tracks2*/) { std::map> histNames = fTrackHistNames; int pairSign = 0; @@ -1691,7 +1691,7 @@ struct AnalysisDileptonTrack { void processBarrelMixedEvent(soa::Filtered& events, soa::Filtered> const& assocs, - MyBarrelTracksWithCov const& tracks, soa::Filtered const& dileptons) + MyBarrelTracksWithCov const&, soa::Filtered const& dileptons) { if (events.size() == 0) { return; @@ -1729,7 +1729,7 @@ struct AnalysisDileptonTrack { void processMuonMixedEvent(soa::Filtered& events, soa::Filtered> const& assocs, - MyMuonTracksWithCov const& tracks, soa::Filtered const& dileptons) + MyMuonTracksWithCov const&, soa::Filtered const& dileptons) { if (events.size() == 0) { return; diff --git a/PWGDQ/Tasks/taskJpsiHf.cxx b/PWGDQ/Tasks/taskJpsiHf.cxx index a98411ee7a6..0b00497c3d8 100644 --- a/PWGDQ/Tasks/taskJpsiHf.cxx +++ b/PWGDQ/Tasks/taskJpsiHf.cxx @@ -72,7 +72,7 @@ struct taskJPsiHf { std::shared_ptr hCollisions; HistogramRegistry registry{"registry"}; - void init(o2::framework::InitContext& context) + void init(o2::framework::InitContext&) { hCollisions = registry.add("hCollisions", ";;entries", HistType::kTH1F, {{2, -0.5, 1.5}}); hCollisions->GetXaxis()->SetBinLabel(1, "all collisions"); @@ -82,7 +82,7 @@ struct taskJPsiHf { // Template function to run pair - hadron combinations // TODO: generalise to all charm-hadron species template - void runDileptonDmeson(TEvent const& event, TDqTrack const& dileptons, THfTrack const& dmesons) + void runDileptonDmeson(TEvent const& /*event*/, TDqTrack const& dileptons, THfTrack const& dmesons) { float ptDilepton = -999; float ptDmeson = -999; diff --git a/PWGDQ/Tasks/taskMuonMchTrkEfficiency.cxx b/PWGDQ/Tasks/taskMuonMchTrkEfficiency.cxx index c1df70cbad1..4914658ae81 100644 --- a/PWGDQ/Tasks/taskMuonMchTrkEfficiency.cxx +++ b/PWGDQ/Tasks/taskMuonMchTrkEfficiency.cxx @@ -155,7 +155,7 @@ struct taskMuonMchTrkEfficiency { /// Method to define and apply the weight required to optimise the generated distributions /// TO BE UPDATED with realistic distributions and probably using input TF1 as weights - void FillHistosWeight(double eta, double pt, double phi, uint16_t map, double etaGen, double ptGen, double phiGen) + void FillHistosWeight(double eta, double pt, double phi, uint16_t map, double /*etaGen*/, double /*ptGen*/, double /*phiGen*/) { double weighteta = 1, weightpt = 1, weightphi = 1; // default weight set to unity for now: no effect double etaw = eta * weighteta; diff --git a/PWGDQ/Tasks/v0selector.cxx b/PWGDQ/Tasks/v0selector.cxx index c76f9034852..45c352ee386 100644 --- a/PWGDQ/Tasks/v0selector.cxx +++ b/PWGDQ/Tasks/v0selector.cxx @@ -137,7 +137,7 @@ struct v0selector { Configurable fillhisto{"fillhisto", false, "flag to fill histograms"}; HistogramRegistry registry{"registry"}; - void init(o2::framework::InitContext& context) + void init(o2::framework::InitContext&) { if (fillhisto) { registry.add("hV0Candidate", "hV0Candidate", HistType::kTH1F, {{2, 0.5f, 2.5f}}); @@ -540,7 +540,7 @@ struct trackPIDQA { } } - void processDummy(soa::Join::iterator const& collision) + void processDummy(soa::Join::iterator const&) { // do nothing }