214 table.defineLayer(0, 2, 3, 0, 0, 0);
215 table.defineLayer(1, 3, 2, 0, 0, 0);
216 table.defineLayer(2, 6, 1, 0, 0, 0);
218 const auto view = table.getView();
221 const auto&
range = view.getOverlap(0, 1, 0);
226 const auto&
range = view.getOverlap(0, 2, 0);
231 const auto&
range = view.getOverlap(0, 1, 1);
236 const auto&
range = view.getOverlap(0, 2, 1);
241 const auto&
range = view.getOverlap(1, 2, 0);
246 const auto&
range = view.getOverlap(1, 0, 0);
251 const auto&
range = view.getOverlap(1, 2, 1);
256 const auto&
range = view.getOverlap(1, 0, 1);
261 const auto&
range = view.getOverlap(1, 2, 2);
266 const auto&
range = view.getOverlap(1, 0, 2);
271 const auto&
range = view.getOverlap(2, 1, 0);
276 const auto&
range = view.getOverlap(2, 1, 1);
281 const auto&
range = view.getOverlap(2, 1, 2);
286 const auto&
range = view.getOverlap(2, 1, 3);
291 const auto&
range = view.getOverlap(2, 1, 4);
296 const auto&
range = view.getOverlap(2, 1, 5);
301 const auto&
range = view.getOverlap(2, 0, 0);
306 const auto&
range = view.getOverlap(2, 0, 1);
311 const auto&
range = view.getOverlap(2, 0, 2);
316 const auto&
range = view.getOverlap(2, 0, 3);
321 const auto&
range = view.getOverlap(2, 0, 4);
326 const auto&
range = view.getOverlap(2, 0, 5);
336 table.defineLayer(0, 2, 3, 0, 0, 0);
337 table.defineLayer(1, 3, 2, 1, 0, 0);
338 table.defineLayer(2, 6, 1, 0, 0, 1);
340 const auto view = table.getView();
344 const auto&
range = view.getOverlap(0, 1, 0);
349 const auto&
range = view.getOverlap(0, 2, 0);
354 const auto&
range = view.getOverlap(0, 1, 1);
359 const auto&
range = view.getOverlap(0, 2, 1);
364 const auto&
range = view.getOverlap(1, 2, 0);
369 const auto&
range = view.getOverlap(1, 0, 0);
374 const auto&
range = view.getOverlap(1, 2, 1);
379 const auto&
range = view.getOverlap(1, 0, 1);
384 const auto&
range = view.getOverlap(1, 2, 2);
389 const auto&
range = view.getOverlap(1, 0, 2);
394 const auto&
range = view.getOverlap(2, 1, 0);
399 const auto&
range = view.getOverlap(2, 1, 1);
404 const auto&
range = view.getOverlap(2, 1, 2);
409 const auto&
range = view.getOverlap(2, 1, 3);
414 const auto&
range = view.getOverlap(2, 1, 4);
419 const auto&
range = view.getOverlap(2, 1, 5);
424 const auto&
range = view.getOverlap(2, 0, 0);
429 const auto&
range = view.getOverlap(2, 0, 1);
434 const auto&
range = view.getOverlap(2, 0, 2);
439 const auto&
range = view.getOverlap(2, 0, 3);
444 const auto&
range = view.getOverlap(2, 0, 4);
449 const auto&
range = view.getOverlap(2, 0, 5);
493 table.defineLayer(0, 4, 100, 0, 0, 0);
494 table.defineLayer(1, 4, 100, 0, 0, 0);
495 table.defineLayer(2, 8, 50, 0, 0, 0);
496 table.defineLayer(3, 7, 50, 50, 0, 0);
498 const auto& view = table.getView();
500 const auto t01 = view.getTimeStamp(0, 3, 1, 3);
504 const auto t02 = view.getTimeStamp(0, 1, 2, 3);
508 const auto t03 = view.getTimeStamp(0, 0, 3, 0);
512 const auto t23 = view.getTimeStamp(2, 2, 3, 1);
520 table.defineLayer(0, 4, 100, 0, 0, 0);
521 table.defineLayer(1, 4, 100, 0, 0, 10);
522 table.defineLayer(2, 8, 50, 0, 0, 0);
523 table.defineLayer(3, 7, 50, 50, 0, 10);
525 const auto& view = table.getView();
526 view.printMapping(0, 1);
528 const auto t010 = view.getTimeStamp(0, 3, 1, 3);
532 const auto t011 = view.getTimeStamp(0, 2, 1, 3);
536 const auto t02 = view.getTimeStamp(0, 1, 2, 3);
540 const auto t03 = view.getTimeStamp(0, 0, 3, 0);
611 table.defineLayer(0, 4, 100, 0, 0, 0);
612 table.defineLayer(1, 4, 100, 0, 0, 10);
613 table.defineLayer(2, 8, 50, 0, 0, 0);
614 table.defineLayer(3, 7, 50, 50, 0, 10);
617 std::vector<o2::its::Vertex> vertices;
619 auto&
v = vertices.emplace_back();
620 v.getTimeStamp().setTimeStamp(100);
621 v.getTimeStamp().setTimeStampError(10);
624 auto&
v = vertices.emplace_back();
625 v.getTimeStamp().setTimeStamp(100);
626 v.getTimeStamp().setTimeStampError(0);
629 auto&
v = vertices.emplace_back();
630 v.getTimeStamp().setTimeStamp(100);
631 v.getTimeStamp().setTimeStampError(60);
635 std::sort(vertices.begin(), vertices.end(), [](
const auto& pvA,
const auto& pvB) {
636 const auto& a = pvA.getTimeStamp();
637 const auto& b = pvB.getTimeStamp();
638 const auto aLower = a.getTimeStamp() - a.getTimeStampError();
639 const auto bLower = b.getTimeStamp() - b.getTimeStampError();
640 if (aLower != bLower) {
641 return aLower < bLower;
643 return pvA.getNContributors() > pvB.getNContributors();
646 table.update(vertices.data(), vertices.size());
647 const auto& view = table.getView();
649 const auto&
v0 = vertices[0];
650 const auto&
v1 = vertices[1];
651 const auto&
v2 = vertices[2];
744 table.defineLayer(0, 4, 100, 0, 0, 0);
745 table.defineLayer(1, 4, 100, 0, 0, 10);
746 table.defineLayer(2, 8, 50, 0, 0, 0);
747 table.defineLayer(3, 7, 50, 50, 0, 10);
751 std::vector<o2::its::Vertex> vertices;
753 auto&
v = vertices.emplace_back();
754 v.getTimeStamp().setTimeStamp(100);
755 v.getTimeStamp().setTimeStampError(60);
758 auto&
v = vertices.emplace_back();
759 v.getTimeStamp().setTimeStamp(100);
760 v.getTimeStamp().setTimeStampError(10);
763 auto&
v = vertices.emplace_back();
764 v.getTimeStamp().setTimeStamp(100);
765 v.getTimeStamp().setTimeStampError(0);
768 table.update(vertices.data(), vertices.size());
769 const auto& view = table.getView();
772 BOOST_CHECK(!view.isVertexCompatible(0, 0, vertices[0]));
773 BOOST_CHECK(!view.isVertexCompatible(0, 0, vertices[1]));
774 BOOST_CHECK(!view.isVertexCompatible(0, 0, vertices[2]));
778 const auto&
range = view.getVertices(0, 1);
781 size_t exactCount = 0;
782 for (
size_t i =
range.getFirstEntry();
i <
range.getEntriesBound(); ++
i) {
783 if (view.isVertexCompatible(0, 1, vertices[
i])) {
791 BOOST_CHECK(!view.isVertexCompatible(0, 2, vertices[0]));
792 BOOST_CHECK(!view.isVertexCompatible(0, 2, vertices[1]));
793 BOOST_CHECK(!view.isVertexCompatible(0, 2, vertices[2]));
796 BOOST_CHECK(!view.isVertexCompatible(2, 0, vertices[0]));
797 BOOST_CHECK(!view.isVertexCompatible(2, 0, vertices[1]));
800 BOOST_CHECK(!view.isVertexCompatible(2, 1, vertices[0]));
801 BOOST_CHECK(!view.isVertexCompatible(2, 1, vertices[1]));
802 BOOST_CHECK(!view.isVertexCompatible(2, 1, vertices[2]));
805 BOOST_CHECK(view.isVertexCompatible(2, 3, vertices[0]));
806 BOOST_CHECK(!view.isVertexCompatible(2, 3, vertices[1]));
809 BOOST_CHECK(view.isVertexCompatible(3, 0, vertices[0]));
810 BOOST_CHECK(view.isVertexCompatible(3, 0, vertices[1]));
811 BOOST_CHECK(view.isVertexCompatible(3, 0, vertices[2]));
814 BOOST_CHECK(view.isVertexCompatible(3, 2, vertices[0]));
815 BOOST_CHECK(!view.isVertexCompatible(3, 2, vertices[1]));
816 BOOST_CHECK(!view.isVertexCompatible(3, 2, vertices[2]));
822 for (
int layers : {1, 2, 7, 10, 17}) {
823 ROFOverlapTable table{layers};
828 const auto originalSize = table.getFlatTableSize();
832 BOOST_CHECK(copy.getView().mLayers != table.getView().mLayers);
833 BOOST_CHECK(copy.getView().mIndices != table.getView().mIndices);
834 auto moved = std::move(copy);
836 table = ROFOverlapTable{0};
837 const auto view = moved.getView();
840 for (
int from = 0; from < layers; ++from) {
841 const auto&
source = view.getLayer(from);
842 for (
int to = 0; to < layers; ++to) {
846 const auto& destination = view.getLayer(to);
851 for (
uint32_t candidate = 0; candidate < destination.mNROFsTF; ++candidate) {
852 const int64_t otherLower = std::max<int64_t>(0,
int64_t(destination.getROFStartInBC(candidate)) - destination.mROFAddTimeErr);
853 const int64_t otherUpper =
int64_t(destination.getROFEndInBC(candidate)) + destination.mROFAddTimeErr;
854 if (
lower < otherUpper && otherLower <
upper) {
858 const auto actual = view.getOverlap(from, to, rof);
867 const auto deviceView = moved.getDeviceView(view.mFlatTable, view.mIndices, view.mLayers);
869 BOOST_CHECK(deviceView.mFlatTable == view.mFlatTable);
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this Except pad from cluster finding if number of consecutive charges in a fragment is above this Threshold where a timebin is considered disabling the noisy pad check for that pad Treat signal above this minimum as saturated Smoothing factor for the exponential Highly Ionising Particle tail filter Number of timebins to use for the averaging Add additional custom track errors when crossing relative as fraction of Do N fit passes in final fit of< 0:reject at max -n hits") AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 1, "", 0, "Reject clusters that get the IFC mask error during refit") AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128") AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128") AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking(prolong tracks to adjacent sectors to find short segments)") AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit(1:attachment, 2:propagation, 4:loop following, 8:mirroring)") AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression(0=no, 1=strategy A, 2=strategy B)") AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging") AddOptionRTC(compressionTypeMask, uint8_t, o2::gpu::GPUSettings::CompressionFull, "", 0, "TPC Compression mode bits(1=truncate charge/width LSB, 2=differences, 4=track-model)") AddOptionRTC(compressionSortOrder, uint8_t, o2::gpu::GPUSettings::SortTime, "", 0, "Sort order of TPC compression(0=time, 1=pad, 2=Z-time-pad, 3=Z-pad-time, 4=no sorting(use incoming order))") AddOptionRTC(sigBitsCharge, uint8_t, 4, "", 0, "Number of significant bits for TPC cluster charge in compression mode 1") AddOptionRTC(sigBitsWidth, uint8_t, 3, "", 0, "Number of significant bits for TPC cluster width in compression mode 1") AddOptionRTC(dropLoopers, uint8_t, 0, "", 0, "Drop looping tracks starting from second loop") AddOptionRTC(mergerInterpolateErrors, uint8_t, 1, "", 0, "Use interpolation instead of extrapolation for chi2 based cluster rejection") AddOptionRTC(mergerInterpolateRejectAlsoOnCurrentPosition, uint8_t, 1, "", 0, "When using mergerInterpolateErrors, reject based on chi2 twice computed with interpolated and current track position starting from NDF > mergerNonInterpolateRejectMinNDF Merge tracks accross the central electrode Enable PID response Add sub threshold clusters in TPC dEdx computation OR mask of TPC flags that will reject the cluster in alternative dEdx Reject edge clusters based on uncorrected track Y during track fit Increase decrease removal by when on this number of pads from the edge h configStandalone Reconstruction rec_trd Max chi2 for TRD tracklets to be matched to a track Chi2 cut for strict matching mode Number of sigmas for ITS TPC track time error estimate Addition to search road around track prolongation along Y in cm Optimal tracklet rphi resolution in maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc Replace constant variables static by constexpr expressions Compile RTC in deterministic with NO_FAST_MATH flags and GPUCA_DETERMINISTIC_MODE define Use RTC to optimize GPU code h configStandalone Processing proc_rtctech Use a file lock to serialize access to the cache folder int32_t