Skip to content

Commit 98d6b15

Browse files
Thorkjalibuild
andauthored
[PWGCF] minor change in regard to MFT selection (#11479)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 02ae8c6 commit 98d6b15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGCF/TwoParticleCorrelations/Tasks/corrSparse.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/// \file corrSparse.cxx
1313
/// \brief Provides a sparse with usefull two particle correlation info
14-
/// \author Thor Jensen (thor.kjaersgaard.jensen@cern.ch) and Debojit Sarkar (debojit.sarkar@cern.ch)
14+
/// \author Thor Jensen (thor.kjaersgaard.jensen@cern.ch)
1515

1616
#include <CCDB/BasicCCDBManager.h>
1717
#include "TRandom3.h"
@@ -253,15 +253,15 @@ struct CorrSparse {
253253

254254
for (auto const& track2 : tracks2) {
255255

256-
if (track1.pt() <= track2.pt())
257-
continue; // skip if the trigger pt is less than the associate pt
258-
259256
if (processMFT) {
260257
if constexpr (std::is_same_v<aod::MFTTracks, TTracksAssoc>) {
261258
if (!isAcceptedMftTrack(track2)) {
262259
continue;
263260
}
264261
}
262+
} else {
263+
if (track1.pt() <= track2.pt())
264+
continue; // skip if the trigger pt is less than the associate pt
265265
}
266266

267267
float deltaPhi = RecoDecay::constrainAngle(track1.phi() - track2.phi(), -PIHalf);

0 commit comments

Comments
 (0)