Skip to content

Commit 28e7393

Browse files
authored
[PWGCF]: Update lambdaR2Correlation.cxx
Updated the track selection criteria for matching efficiency estimation
1 parent a11e182 commit 28e7393

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -989,13 +989,12 @@ struct LambdaTableProducer {
989989
continue;
990990
}
991991
}
992-
if (track.pt() <= cTrackMinPt && std::abs(track.eta()) >= cTrackEtaCut) { // Kinematic selection
993-
continue;
994-
}
995-
if (track.hasITS()) { // ITS only track
992+
// ITS only track
993+
if (track.pt() > cTrackMinPt && std::abs(track.eta()) < cTrackEtaCut && track.hasITS() && track.isQualityTrackITS()) {
996994
histos.fill(HIST("Tracks/h2f_itstrack_centpt"), cent, track.pt());
997995
}
998-
if (track.hasITS() && track.hasTPC()) { // ITS + TPC track
996+
// ITS+TPC track
997+
if (track.pt() > cTrackMinPt && std::abs(track.eta()) < cTrackEtaCut && track.hasITS() && track.hasTPC() && track.isQualityTrackITS() && track.isQualityTrackTPC()) {
999998
histos.fill(HIST("Tracks/h2f_itstpctrack_centpt"), cent, track.pt());
1000999
}
10011000
}

0 commit comments

Comments
 (0)