Skip to content

Commit 79fd720

Browse files
authored
PWGDQ: Fix compilation warnings (#5763)
1 parent ad69acc commit 79fd720

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

PWGDQ/Core/CutsLibrary.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName)
10201020
vecTypetrack.emplace_back("_TPCstrongncls"); // default TightGlobalTrackRun3 but with 130 TPC clusters
10211021

10221022
// loop to define PID cuts with and without post calibration
1023-
for (int icase = 0; icase < vecTypetrack.size(); icase++) {
1023+
for (size_t icase = 0; icase < vecTypetrack.size(); icase++) {
10241024
// 4 cuts to separate pos & neg tracks in pos & neg eta range
10251025
if (!nameStr.compare(Form("lmee_posTrack_posEta_selection%s", vecTypetrack.at(icase).Data()))) {
10261026
cut->AddCut(GetAnalysisCut("posTrack"));
@@ -1128,7 +1128,7 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName)
11281128
vecPIDcase.emplace_back("_CorrWithKaon"); // case of using post calibrated PID spectra with also the kaons
11291129

11301130
// loop to define PID cuts with and without post calibration
1131-
for (int icase = 0; icase < vecPIDcase.size(); icase++) {
1131+
for (size_t icase = 0; icase < vecPIDcase.size(); icase++) {
11321132
if (!nameStr.compare(Form("ITSTPC_TPCPIDalone%s_PbPb", vecPIDcase.at(icase).Data()))) {
11331133
cut->AddCut(GetAnalysisCut("lmeeStandardKine"));
11341134
cut->AddCut(GetAnalysisCut("TightGlobalTrackRun3"));
@@ -3049,7 +3049,7 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
30493049
vecTypetrack.emplace_back("_TPCstrongncls"); // default TightGlobalTrackRun3 but with 130 TPC clusters
30503050

30513051
// loop to define PID cuts with and without post calibration
3052-
for (int icase = 1; icase < vecTypetrack.size(); icase++) {
3052+
for (size_t icase = 1; icase < vecTypetrack.size(); icase++) {
30533053
if (!nameStr.compare(Form("lmeeQCTrackCuts%s", vecTypetrack.at(icase).Data()))) {
30543054
if (icase == 1) {
30553055
cut->AddCut(VarManager::kIsSPDfirst, 0.5, 1.5);
@@ -3483,7 +3483,7 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
34833483
vecPIDcase.emplace_back("_CorrWithKaon"); // case of using post calibrated PID spectra with also the kaons
34843484

34853485
// loop to define TPC PID cuts with and without post calibration
3486-
for (int icase = 0; icase < vecPIDcase.size(); icase++) {
3486+
for (size_t icase = 0; icase < vecPIDcase.size(); icase++) {
34873487
if (!nameStr.compare(Form("electronPIDOnly%s", vecPIDcase.at(icase).Data()))) {
34883488
if (icase == 0) {
34893489
cut->AddCut(VarManager::kTPCnSigmaEl, -3.0, 3.0);
@@ -3947,7 +3947,7 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
39473947
}
39483948

39493949
// loop to define TOF PID cuts with and without post calibration
3950-
for (int icase = 0; icase < vecPIDcase.size(); icase++) {
3950+
for (size_t icase = 0; icase < vecPIDcase.size(); icase++) {
39513951
if (!nameStr.compare(Form("electronPID_TOFnsigma%s_loose", vecPIDcase.at(icase).Data()))) {
39523952
if (icase == 0) {
39533953
cut->AddCut(VarManager::kTPCnSigmaEl, -3., 3., false, VarManager::kPin, 0.0, 1e+10, false);

0 commit comments

Comments
 (0)