Skip to content

Commit 3b629e5

Browse files
authored
[Common] Fix fake tag check (#10023)
1 parent 045f74c commit 3b629e5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Common/Tasks/flowTest.cxx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,8 @@ struct flowTest {
145145
auto const& tracks = mcParticle.tracks_as<recoTracksWithLabels>();
146146
for (auto const& track : tracks) {
147147
bool isITSFake = false;
148-
149-
for (int bit = 0; bit < 7; bit++) {
150-
if (bitcheck(track.mcMask(), bit)) {
151-
isITSFake = true;
152-
}
148+
if (bitcheck(track.mcMask(), 13)) { // should perhaps be done better at some point
149+
isITSFake = true;
153150
}
154151

155152
if (track.tpcNClsFound() >= analysisMinimumTPCClusters && track.itsNCls() >= analysisMinimumITSClusters) {

0 commit comments

Comments
 (0)