From d014339304b1bd1b7ae9e5651267c12ad9ad4b2c Mon Sep 17 00:00:00 2001 From: Matteo Concas Date: Sun, 21 Apr 2024 11:06:23 +0200 Subject: [PATCH] Extend configuration --- .../ITSMFT/ITS/tracking/include/ITStracking/Configuration.h | 4 +++- Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h b/Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h index 2a66bbd245e87..a700dc1e806c0 100644 --- a/Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h +++ b/Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h @@ -34,7 +34,8 @@ namespace its enum class TrackingMode { Sync, Async, - Cosmics + Cosmics, + Unset, // Special value to leave a default in case we want to override via Configurable Params }; std::string asString(TrackingMode mode); @@ -146,6 +147,7 @@ struct TimeFrameGPUParameters { size_t maxVerticesCapacity = 5e4; size_t nMaxROFs = 1e3; size_t nTimeFrameChunks = 3; + size_t nROFsPerChunk = 768; // pp defaults int maxGPUMemoryGB = -1; }; diff --git a/Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx b/Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx index 3c22260901900..13cf6b472db9a 100644 --- a/Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx +++ b/Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx @@ -22,6 +22,8 @@ std::string asString(TrackingMode mode) return "async"; case TrackingMode::Cosmics: return "cosmics"; + case TrackingMode::Unset: + return "unset"; } return "unknown"; }