Skip to content

Commit 46a7cd2

Browse files
committed
Fix error messages relevant to unused members
1 parent 229856c commit 46a7cd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGUD/Tasks/processMCDPMJetSGv3.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ struct ProcessMCDPMJetSGv3 {
254254
double sigmaMax = 3.;
255255
double ptMin = 0.1;
256256
int nFindableMin = 70;
257+
double dcaZlimit = 2.;
257258

258259
int counter = 0;
259260
for (const auto& track : tracks) {
@@ -270,7 +271,7 @@ struct ProcessMCDPMJetSGv3 {
270271
if (track.pt() < ptMin) {
271272
continue;
272273
}
273-
if (!(std::abs(track.dcaZ()) < 2.)) {
274+
if (!(std::abs(track.dcaZ()) < dcaZlimit)) {
274275
continue;
275276
}
276277
double dcaLimit = 0.0105 + 0.035 / std::pow(track.pt(), 1.1);

0 commit comments

Comments
 (0)