From 2080539bcc35c31304996a5d08fb8af15cf7fd0e Mon Sep 17 00:00:00 2001 From: LuisFelipeCoelho Date: Tue, 1 Mar 2022 14:41:40 +0100 Subject: [PATCH] Fixing units in SeedFinderConfig --- Core/include/Acts/Seeding/SeedfinderConfig.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Core/include/Acts/Seeding/SeedfinderConfig.hpp b/Core/include/Acts/Seeding/SeedfinderConfig.hpp index d27fbb6145e..17445418edc 100644 --- a/Core/include/Acts/Seeding/SeedfinderConfig.hpp +++ b/Core/include/Acts/Seeding/SeedfinderConfig.hpp @@ -54,7 +54,7 @@ struct SeedfinderConfig { // radial range for middle SP std::vector> rRangeMiddleSP; bool useVariableMiddleSPRange = false; - float deltaRMiddleSPRange = 10.; + float deltaRMiddleSPRange = 10. * Acts::UnitConstants::mm; float rMinMiddleSP; float rMaxMiddleSP; @@ -148,6 +148,11 @@ struct SeedfinderConfig { config.minPt /= 1_MeV; config.deltaRMin /= 1_mm; config.deltaRMax /= 1_mm; + config.deltaRMinTopSP /= 1_mm; + config.deltaRMaxTopSP /= 1_mm; + config.deltaRMinBottomSP /= 1_mm; + config.deltaRMaxBottomSP /= 1_mm; + config.deltaRMiddleSPRange /= 1_mm; config.impactMax /= 1_mm; config.maxPtScattering /= 1_MeV; // correct? config.collisionRegionMin /= 1_mm;