From 14270bb4787eeed0ea8981ad7172b5377b0b82c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Mon, 22 Apr 2024 11:05:23 +0200 Subject: [PATCH] PWGDQ: Fix compilation warnings --- PWGDQ/Core/CutsLibrary.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PWGDQ/Core/CutsLibrary.cxx b/PWGDQ/Core/CutsLibrary.cxx index e074d52da5a..700c2943a50 100644 --- a/PWGDQ/Core/CutsLibrary.cxx +++ b/PWGDQ/Core/CutsLibrary.cxx @@ -1020,7 +1020,7 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName) vecTypetrack.emplace_back("_TPCstrongncls"); // default TightGlobalTrackRun3 but with 130 TPC clusters // loop to define PID cuts with and without post calibration - for (int icase = 0; icase < vecTypetrack.size(); icase++) { + for (size_t icase = 0; icase < vecTypetrack.size(); icase++) { // 4 cuts to separate pos & neg tracks in pos & neg eta range if (!nameStr.compare(Form("lmee_posTrack_posEta_selection%s", vecTypetrack.at(icase).Data()))) { cut->AddCut(GetAnalysisCut("posTrack")); @@ -1128,7 +1128,7 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName) vecPIDcase.emplace_back("_CorrWithKaon"); // case of using post calibrated PID spectra with also the kaons // loop to define PID cuts with and without post calibration - for (int icase = 0; icase < vecPIDcase.size(); icase++) { + for (size_t icase = 0; icase < vecPIDcase.size(); icase++) { if (!nameStr.compare(Form("ITSTPC_TPCPIDalone%s_PbPb", vecPIDcase.at(icase).Data()))) { cut->AddCut(GetAnalysisCut("lmeeStandardKine")); cut->AddCut(GetAnalysisCut("TightGlobalTrackRun3")); @@ -3049,7 +3049,7 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName) vecTypetrack.emplace_back("_TPCstrongncls"); // default TightGlobalTrackRun3 but with 130 TPC clusters // loop to define PID cuts with and without post calibration - for (int icase = 1; icase < vecTypetrack.size(); icase++) { + for (size_t icase = 1; icase < vecTypetrack.size(); icase++) { if (!nameStr.compare(Form("lmeeQCTrackCuts%s", vecTypetrack.at(icase).Data()))) { if (icase == 1) { cut->AddCut(VarManager::kIsSPDfirst, 0.5, 1.5); @@ -3483,7 +3483,7 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName) vecPIDcase.emplace_back("_CorrWithKaon"); // case of using post calibrated PID spectra with also the kaons // loop to define TPC PID cuts with and without post calibration - for (int icase = 0; icase < vecPIDcase.size(); icase++) { + for (size_t icase = 0; icase < vecPIDcase.size(); icase++) { if (!nameStr.compare(Form("electronPIDOnly%s", vecPIDcase.at(icase).Data()))) { if (icase == 0) { cut->AddCut(VarManager::kTPCnSigmaEl, -3.0, 3.0); @@ -3947,7 +3947,7 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName) } // loop to define TOF PID cuts with and without post calibration - for (int icase = 0; icase < vecPIDcase.size(); icase++) { + for (size_t icase = 0; icase < vecPIDcase.size(); icase++) { if (!nameStr.compare(Form("electronPID_TOFnsigma%s_loose", vecPIDcase.at(icase).Data()))) { if (icase == 0) { cut->AddCut(VarManager::kTPCnSigmaEl, -3., 3., false, VarManager::kPin, 0.0, 1e+10, false);