Skip to content

Commit e9260f2

Browse files
committed
ITS: ltracks with no cell are also dead
1 parent e2a4262 commit e9260f2

File tree

1 file changed

+1
-1
lines changed
  • Detectors/ITSMFT/ITS/tracking/include/ITStracking

1 file changed

+1
-1
lines changed

Detectors/ITSMFT/ITS/tracking/include/ITStracking/Seeding.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ struct LinearizedTrack {
7272
uint8_t status{0}; ///< status bits
7373

7474
GPUhdi() void markDead() noexcept { status |= kDead; }
75-
GPUhdi() bool isDead() const noexcept { return (status & kDead) == kDead; }
75+
GPUhdi() bool isDead() const noexcept { return ((status & kDead) == kDead) || cellIdx < 0; }
7676

7777
GPUh() void print() const
7878
{

0 commit comments

Comments
 (0)