Skip to content

Commit 777c4a8

Browse files
author
arkaprabha
committed
Added some track selection cuts on my task
1 parent 10d85c8 commit 777c4a8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

PWGLF/Tasks/Nuspex/antinucleiTask.cxx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ struct antinucleiTask {
5555
// Configurable track cuts
5656
Configurable<float> trackNclusTPCcut{"trackNclusTPCcut", 70.0f, "min number of TPC clusters"};
5757
Configurable<float> trackNclusITScut{"trackNclusITScut", 4.0f, "min number of ITS clusters"};
58-
Configurable<float> chi2TPC{"chi2TPC", 4.0f, "max chi2 per cluster TPC"};
58+
Configurable<float> maxChi2TPC{"maxChi2TPC", 4.0f, "max chi2 per cluster TPC"};
59+
Configurable<float> minChi2TPC{"minChi2TPC", 0.0f, "min chi2 per cluster TPC"};
5960
Configurable<float> chi2ITS{"chi2ITS", 36.0f, "max chi2 per cluster ITS"};
6061
Configurable<float> trackDCAz{"trackDCAz", 0.1f, "maxDCAz"};
6162
Configurable<float> trackDCAxy{"trackDCAxy", 0.1f, "maxDCAxy"};
@@ -101,7 +102,9 @@ struct antinucleiTask {
101102
return false;
102103
if (track.itsNCls() < trackNclusITScut)
103104
return false;
104-
if (track.tpcChi2NCl() > chi2TPC)
105+
if (track.tpcChi2NCl() > maxChi2TPC)
106+
return false;
107+
if (track.tpcChi2NCl() < minChi2TPC)
105108
return false;
106109
if (track.itsChi2NCl() > chi2ITS)
107110
return false;

0 commit comments

Comments
 (0)