Skip to content

Commit a13fdcb

Browse files
authored
[PWGLF] fixed configurable in dca selection (AliceO2Group#8535)
1 parent d48d503 commit a13fdcb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

PWGLF/Tasks/Nuspex/nuclei_in_jets.cxx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ struct nuclei_in_jets {
264264

265265
// standard selection
266266
if (!setDCAselectionPtDep) {
267-
if (TMath::Abs(track.dcaXY()) > 0.1)
267+
if (TMath::Abs(track.dcaXY()) > max_dcaxy)
268268
return false;
269-
if (TMath::Abs(track.dcaZ()) > 0.1)
269+
if (TMath::Abs(track.dcaZ()) > max_dcaz)
270270
return false;
271271
}
272272

@@ -378,7 +378,7 @@ struct nuclei_in_jets {
378378
double c = pz * pz * pz * pz - py * py * py * py - px * px * py * py;
379379
double delta = b * b - 4.0 * a * c;
380380

381-
// Protection agains delta<0
381+
// Protection against delta<0
382382
if (delta < 0) {
383383
return;
384384
}
@@ -1127,9 +1127,9 @@ struct nuclei_in_jets {
11271127
continue;
11281128
}
11291129
if (!setDCAselectionPtDep) {
1130-
if (dcaxy > 0.1)
1130+
if (dcaxy > max_dcaxy)
11311131
continue;
1132-
if (dcaz > 0.1)
1132+
if (dcaz > max_dcaz)
11331133
continue;
11341134
}
11351135

@@ -1228,9 +1228,9 @@ struct nuclei_in_jets {
12281228
continue;
12291229
}
12301230
if (!setDCAselectionPtDep) {
1231-
if (dcaxy > 0.1)
1231+
if (dcaxy > max_dcaxy)
12321232
continue;
1233-
if (dcaz > 0.1)
1233+
if (dcaz > max_dcaz)
12341234
continue;
12351235
}
12361236

0 commit comments

Comments
 (0)