@@ -591,6 +591,8 @@ template <int NLayers>
591591void countTrackletsInROFsHandler (const IndexTableUtils<NLayers>* utils,
592592 const typename ROFMaskTable<NLayers>::View& rofMask,
593593 const int transitionId,
594+ const int fromLayer,
595+ const int toLayer,
594596 const typename ROFOverlapTable<NLayers>::View& rofOverlaps,
595597 const typename ROFVertexLookupTable<NLayers>::View& vertexLUT,
596598 const int vertexId,
@@ -616,9 +618,6 @@ void countTrackletsInROFsHandler(const IndexTableUtils<NLayers>* utils,
616618 o2::its::ExternalAllocator* alloc,
617619 gpu::Streams& streams)
618620{
619- const auto transition = topology.getTransition (transitionId);
620- const int fromLayer = transition.fromLayer ;
621- const int toLayer = transition.toLayer ;
622621 gpu::computeLayerTrackletsMultiROFKernel<true ><<<60 , 256 , 0 , streams[transitionId].get()>>> (
623622 utils,
624623 rofMask,
@@ -652,6 +651,8 @@ template <int NLayers>
652651void computeTrackletsInROFsHandler (const IndexTableUtils<NLayers>* utils,
653652 const typename ROFMaskTable<NLayers>::View& rofMask,
654653 const int transitionId,
654+ const int fromLayer,
655+ const int toLayer,
655656 const typename ROFOverlapTable<NLayers>::View& rofOverlaps,
656657 const typename ROFVertexLookupTable<NLayers>::View& vertexLUT,
657658 const int vertexId,
@@ -680,9 +681,6 @@ void computeTrackletsInROFsHandler(const IndexTableUtils<NLayers>* utils,
680681 o2::its::ExternalAllocator* alloc,
681682 gpu::Streams& streams)
682683{
683- const auto transition = topology.getTransition (transitionId);
684- const int fromLayer = transition.fromLayer ;
685- const int toLayer = transition.toLayer ;
686684 gpu::computeLayerTrackletsMultiROFKernel<false ><<<60 , 256 , 0 , streams[transitionId].get()>>> (
687685 utils,
688686 rofMask,
@@ -1153,6 +1151,8 @@ void computeTrackSeedHandler(TrackSeed<NLayers>* trackSeeds,
11531151template void countTrackletsInROFsHandler<7 >(const IndexTableUtils<7 >* utils,
11541152 const ROFMaskTable<7 >::View& rofMask,
11551153 const int transitionId,
1154+ const int fromLayer,
1155+ const int toLayer,
11561156 const ROFOverlapTable<7 >::View& rofOverlaps,
11571157 const ROFVertexLookupTable<7 >::View& vertexLUT,
11581158 const int vertexId,
@@ -1181,6 +1181,8 @@ template void countTrackletsInROFsHandler<7>(const IndexTableUtils<7>* utils,
11811181template void computeTrackletsInROFsHandler<7 >(const IndexTableUtils<7 >* utils,
11821182 const ROFMaskTable<7 >::View& rofMask,
11831183 const int transitionId,
1184+ const int fromLayer,
1185+ const int toLayer,
11841186 const ROFOverlapTable<7 >::View& rofOverlaps,
11851187 const ROFVertexLookupTable<7 >::View& vertexLUT,
11861188 const int vertexId,
0 commit comments