File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ GPUTPCExtraADC GenerateSaturatedSignals(size_t seed = 42)
280280 const int32_t lastTB = 4000 - MaxTailLength; // Don't allow cut off tails at fragment borders
281281 const int32_t tailADC = 250 ; // charge should decrease over time, but for now just hardcode ADC above the threshold
282282
283- std::mt19937 gen{seed};
283+ std::mt19937 gen{( uint32_t ) seed};
284284 std::uniform_int_distribution<> randomRow (0 , GPUTPCGeometry::NROWS - 1 );
285285 std::uniform_int_distribution<> randomTB (firstTB, lastTB);
286286 std::uniform_int_distribution<> randomTailLength (MinTailLength, MaxTailLength);
Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ GPUd() void GPUTPCCFMCLabelFlattener::Thread<GPUTPCCFMCLabelFlattener::setRowOff
5353 // but HIP clusters don't support MC labels yet and containers are missing for those clusters.
5454 // So append empty label container for each HIP cluster.
5555 // Note: This assumes that HIP cluster are store behind regular clusters!
56- auto & labels = clusterer.mPlabelsByRow [row].data ;
56+ auto & labels = clusterer.mPlabelsByRow [row].data ;
5757 labels.resize (std::max (labels.size (), clusterInRow));
5858
5959 uint32_t labelCount = 0 ;
6060
6161 for (size_t i = 0 ; i < clusterInRow; i++) {
62- auto & interim = clusterer. mPlabelsByRow [row]. data [i];
62+ auto & interim = labels [i];
6363 labelCount += interim.labels .size ();
6464 }
6565
You can’t perform that action at this time.
0 commit comments