Skip to content

Commit daad74d

Browse files
committed
Trackeracts
1 parent 4c68d44 commit daad74d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Detectors/Upgrades/ALICE3/TRK/reconstruction/src/TRKReconstructionLinkDef.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#pragma link C++ class o2::trk::Clusterer + ;
2020
#ifdef O2_WITH_ACTS
2121
#pragma link C++ class o2::trk::ClustererACTS + ;
22+
2223
#endif
2324

2425
#endif

Detectors/Upgrades/ALICE3/TRK/reconstruction/src/TrackerACTS.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void TrackerACTS<nLayers>::computeTracksMClabels()
280280
std::vector<std::pair<MCCompLabel, size_t>> occurrences;
281281
occurrences.clear();
282282

283-
for (int iCluster = 0; iCluster < TrackITSExt::MaxClusters; ++iCluster) {
283+
for (int iCluster = 0; iCluster < o2::its::TrackITSExt::MaxClusters; ++iCluster) {
284284
const int index = track.getClusterIndex(iCluster);
285285
if (index == o2::its::constants::UnusedIndex) {
286286
continue;
@@ -310,7 +310,7 @@ void TrackerACTS<nLayers>::computeTracksMClabels()
310310
auto maxOccurrencesValue = occurrences[0].first;
311311
uint32_t pattern = track.getPattern();
312312
// set fake clusters pattern
313-
for (int ic{TrackITSExt::MaxClusters}; ic--;) {
313+
for (int ic{o2::its::TrackITSExt::MaxClusters}; ic--;) {
314314
auto clid = track.getClusterIndex(ic);
315315
if (clid != o2::its::constants::UnusedIndex) {
316316
auto labelsSpan = mTimeFrame->getClusterLabels(ic, clid);
@@ -336,7 +336,7 @@ void TrackerACTS<nLayers>::rectifyClusterIndices()
336336
{
337337
for (int iROF{0}; iROF < mTimeFrame->getNrof(); ++iROF) {
338338
for (auto& track : mTimeFrame->getTracks(iROF)) {
339-
for (int iCluster = 0; iCluster < TrackITSExt::MaxClusters; ++iCluster) {
339+
for (int iCluster = 0; iCluster < o2::its::TrackITSExt::MaxClusters; ++iCluster) {
340340
const int index = track.getClusterIndex(iCluster);
341341
if (index != o2::its::constants::UnusedIndex) {
342342
track.setExternalClusterIndex(iCluster, mTimeFrame->getClusterExternalIndex(iCluster, index));

0 commit comments

Comments
 (0)