@@ -129,22 +129,22 @@ void GPUTPCTracker::DumpTrackletHits(std::ostream& out)
129129 std::iota (Ids.begin (), Ids.end (), 0 );
130130 if (mRec ->GetProcessingSettings ().deterministicGPUReconstruction ) {
131131 std::sort (Ids.begin (), Ids.end (), [this ](const int32_t & a, const int32_t & b) {
132- if (this ->Tracklets ()[a] .FirstRow () != this ->Tracklets ()[b] .FirstRow ()) {
133- return this ->Tracklets ()[a] .FirstRow () > this ->Tracklets ()[b] .FirstRow ();
132+ if (this ->Tracklet (a) .FirstRow () != this ->Tracklet (b) .FirstRow ()) {
133+ return this ->Tracklet (a) .FirstRow () > this ->Tracklet (b) .FirstRow ();
134134 }
135- if (this ->Tracklets ()[a] .LastRow () != this ->Tracklets ()[b] .LastRow ()) {
136- return this ->Tracklets ()[a] .LastRow () > this ->Tracklets ()[b] .LastRow ();
135+ if (this ->Tracklet (a) .LastRow () != this ->Tracklet (b) .LastRow ()) {
136+ return this ->Tracklet (a) .LastRow () > this ->Tracklet (b) .LastRow ();
137137 }
138- if (this ->Tracklets ()[a] .Param ().Y () != this ->Tracklets ()[b] .Param ().Y ()) {
139- return this ->Tracklets ()[a] .Param ().Y () > this ->Tracklets ()[b] .Param ().Y ();
138+ if (this ->Tracklet (a) .Param ().Y () != this ->Tracklet (b) .Param ().Y ()) {
139+ return this ->Tracklet (a) .Param ().Y () > this ->Tracklet (b) .Param ().Y ();
140140 }
141- return this ->Tracklets ()[a] .Param ().Z () > this ->Tracklets ()[b] .Param ().Z ();
141+ return this ->Tracklet (a) .Param ().Z () > this ->Tracklet (b) .Param ().Z ();
142142 });
143143 }
144144 for (int32_t jj = 0 ; jj < nTracklets; jj++) {
145145 const int32_t j = Ids[jj];
146- const auto & tracklet = Tracklets ()[j] ;
147- out << " Tracklet " << std::setw (4 ) << jj << " (Rows: " << Tracklets ()[j] .FirstRow () << " - " << tracklet.LastRow () << " , Weight " << Tracklets ()[j] .HitWeight () << " ) " ;
146+ const auto & tracklet = Tracklet (j) ;
147+ out << " Tracklet " << std::setw (4 ) << jj << " (Rows: " << Tracklet (j) .FirstRow () << " - " << tracklet.LastRow () << " , Weight " << Tracklet (j) .HitWeight () << " ) " ;
148148 if (tracklet.LastRow () > tracklet.FirstRow () && (tracklet.FirstRow () >= GPUCA_ROW_COUNT || tracklet.LastRow () >= GPUCA_ROW_COUNT)) {
149149 GPUError (" Error: Tracklet %d First %d Last %d" , j, tracklet.FirstRow (), tracklet.LastRow ());
150150 out << " (Error: Tracklet " << j << " First " << tracklet.FirstRow () << " Last " << tracklet.LastRow () << " ) " ;
0 commit comments