Skip to content

Commit

Permalink
Added special case for L1D1.
Browse files Browse the repository at this point in the history
  • Loading branch information
aehart committed Dec 11, 2023
1 parent 879ac76 commit 5395a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrackletAlgorithm/TrackBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void TrackBuilder(
// with the minimum tracklet ID.
const TCIDType &TCID = (min_id != kInvalidTrackletID) ? (min_id >> kNBits_MemAddr) : TrackletIDType(TPAROffset);
const ITCType &iTC = TCID.range(kNBitsITC - 1, 0);
const typename TrackFit<NBarrelStubs, NDiskStubs>::TFPHIREGION phiRegionOuter = iTC / (Seed == TF::L1L2 ? 3 : 1);
const typename TrackFit<NBarrelStubs, NDiskStubs>::TFPHIREGION phiRegionOuter = iTC / (Seed == TF::L1L2 ? 3 : (Seed == TF::L1D1 ? 2 : 1));
const IndexType &trackletIndex = (min_id != kInvalidTrackletID) ? (min_id & TrackletIDType(0x7F)) : TrackletIDType(0);
const auto &tpar = trackletParameters[TCID - TPAROffset].read_mem(bx, trackletIndex);

Expand Down

0 comments on commit 5395a63

Please sign in to comment.