Skip to content

Commit fff91ed

Browse files
authored
Fix o2 linter error
1 parent 3f8f895 commit fff91ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longrangeCorrelation.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ struct LongrangeCorrelation {
146146
Configurable<bool> isApplyGoodZvtxFT0vsPV{"isApplyGoodZvtxFT0vsPV", false, "Enable GoodZvtxFT0vsPV cut"};
147147
Configurable<bool> isReadoutCenter{"isReadoutCenter", false, "Enable Readout Center"};
148148
Configurable<bool> isUseEffCorr{"isUseEffCorr", false, "Enable efficiency correction"};
149+
Configurable<float> cfgLowEffCut{"cfgLowEffCut", 0.001f, "Low efficiency cut"};
149150
Configurable<bool> isUseItsPid{"isUseItsPid", false, "Use ITS PID for particle identification"};
150151
Configurable<float> cfgTofPidPtCut{"cfgTofPidPtCut", 0.3f, "Minimum pt to use TOF N-sigma"};
151152
Configurable<int> cfgTrackPid{"cfgTrackPid", 0, "1 = pion, 2 = kaon, 3 = proton, 0 for no PID"};
@@ -434,7 +435,7 @@ struct LongrangeCorrelation {
434435
} else {
435436
eff = 1.0;
436437
}
437-
if (eff < 0.001)
438+
if (eff < cfgLowEffCut)
438439
eff = 1.0;
439440

440441
return eff;
@@ -449,7 +450,7 @@ struct LongrangeCorrelation {
449450
} else {
450451
eff = 1.0;
451452
}
452-
if (eff < 0.001)
453+
if (eff < cfgLowEffCut)
453454
eff = 1.0;
454455

455456
return eff;

0 commit comments

Comments
 (0)