From 7a01fc3a5d9fed6f63742653b24613cbccbfa95d Mon Sep 17 00:00:00 2001 From: cvarni Date: Mon, 7 Oct 2024 14:26:47 +0200 Subject: [PATCH] changes --- .../Acts/Seeding/detail/CylindricalSpacePointGrid.hpp | 6 ++++-- Examples/Scripts/Python/full_chain_odd.py | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Core/include/Acts/Seeding/detail/CylindricalSpacePointGrid.hpp b/Core/include/Acts/Seeding/detail/CylindricalSpacePointGrid.hpp index 1621c1a948b..8cdbac27f72 100644 --- a/Core/include/Acts/Seeding/detail/CylindricalSpacePointGrid.hpp +++ b/Core/include/Acts/Seeding/detail/CylindricalSpacePointGrid.hpp @@ -91,8 +91,10 @@ struct CylindricalSpacePointGridConfig { if (phiMin < -M_PI || phiMax > M_PI) { throw std::runtime_error( - "CylindricalSpacePointGridConfig: phiMin and/or phiMax are outside " - "the allowed phi range, defined as [-M_PI, M_PI]"); + "CylindricalSpacePointGridConfig: phiMin (" + << phiMin << ") and/or phiMax (" << phiMax + << ") are outside " + "the allowed phi range, defined as [-M_PI, M_PI]"); } if (phiMin > phiMax) { throw std::runtime_error( diff --git a/Examples/Scripts/Python/full_chain_odd.py b/Examples/Scripts/Python/full_chain_odd.py index e6da5eee4dd..22f20d3b257 100755 --- a/Examples/Scripts/Python/full_chain_odd.py +++ b/Examples/Scripts/Python/full_chain_odd.py @@ -3,6 +3,7 @@ import os import argparse import pathlib +import math import acts import acts.examples @@ -412,8 +413,8 @@ maxSharedTracksPerMeasurement=2, pTMax=1400, pTMin=0.5, - phiMax=3.14, - phiMin=-3.14, + phiMax=math.pi, + phiMin=-math.pi, etaMax=4, etaMin=-4, useAmbiguityFunction=False,