Skip to content

Commit

Permalink
Merge branch 'main' into fix/unify-chi2-track-trackstate
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Nov 16, 2023
2 parents c0a3258 + 6517c35 commit 4887d19
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 14 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check
run: >
sudo apt-get install -y git
Expand All @@ -53,6 +55,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check
run: >
CI/check_include_guards.py . --fail-global --exclude "*thirdparty/*"
Expand All @@ -68,6 +72,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check
run: >
CI/check_end_of_file.py . --exclude "thirdparty/*" --reject-multiple-newlines --github
Expand All @@ -93,6 +99,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check
run: >
CI/check_smearing_config.py .
Expand All @@ -101,6 +109,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Check
run: >
docs/parse_cmake_options.py CMakeLists.txt --write docs/getting_started.md --verify
Expand All @@ -109,6 +119,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install codespell
run: >
pip install codespell==2.2.5
Expand All @@ -130,6 +142,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: >
pip install -r CI/requirements_fpe_masks.txt
Expand Down
9 changes: 0 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,18 +440,9 @@ lcg_104:

parallel:
matrix:
- OS: [centos7]
COMPILER:
- gcc11
- gcc12

- OS: [alma9]
COMPILER:
- gcc11
- gcc12
- gcc13
- clang16

- OS: [centos8]
COMPILER: [gcc11]

2 changes: 1 addition & 1 deletion Core/include/Acts/Seeding/SeedFinder.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ inline void SeedFinder<external_spacepoint_t, platform_t>::filterCandidates(

// sqrt(S2)/B = 2 * helixradius
// calculated radius must not be smaller than minimum radius
if (S2 < B2 * options.minHelixDiameter2 * m_config.helixCut) {
if (S2 < B2 * options.minHelixDiameter2) {
continue;
}

Expand Down
10 changes: 6 additions & 4 deletions Core/include/Acts/Seeding/SeedFinderConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ struct SeedFinderConfig {
// xyz
float toleranceParam = 1.1 * Acts::UnitConstants::mm;

// Parameter which can loosen the tolerance of the track seed to form to a
// helix, useful for (e.g.) misaligned seeding
float helixCut = 1.;
// Parameter which can loosen the tolerance of the track seed to form a
// helix. This is useful for e.g. misaligned seeding.
float helixCutTolerance = 1.;

// Geometry Settings
// Detector ROI
Expand All @@ -130,6 +130,7 @@ struct SeedFinderConfig {
// default is 5%
// TODO: necessary to make amount of material dependent on detector region?
float radLengthPerSeed = 0.05;

// alignment uncertainties, used for uncertainties in the
// non-measurement-plane of the modules
// which otherwise would be 0
Expand Down Expand Up @@ -279,7 +280,8 @@ struct SeedFinderOptions {
// TODO: change using ACTS units
options.pTPerHelixRadius = 1_T * 1e6 * options.bFieldInZ;
options.minHelixDiameter2 =
std::pow(config.minPt * 2 / options.pTPerHelixRadius, 2);
std::pow(config.minPt * 2 / options.pTPerHelixRadius, 2) *
config.helixCutTolerance;
options.pT2perRadius =
std::pow(config.highland / options.pTPerHelixRadius, 2);
options.sigmapT2perRadius =
Expand Down
4 changes: 4 additions & 0 deletions Core/include/Acts/Seeding/SeedFinderFTFConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ struct SeedFinderFTFConfig {
/// for load space points
unsigned int maxSeedsPerSpM = 5;

// Parameter which can loosen the tolerance of the track seed to form a
// helix. This is useful for e.g. misaligned seeding.
float helixCutTolerance = 1.;

float m_phiSliceWidth{};
float m_nMaxPhiSlice{};
bool m_useClusterWidth = false;
Expand Down
4 changes: 4 additions & 0 deletions Core/include/Acts/Seeding/SeedFinderOrthogonalConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ struct SeedFinderOrthogonalConfig {
// TODO: necessary to make amount of material dependent on detector region?
float radLengthPerSeed = 0.05;

// Parameter which can loosen the tolerance of the track seed to form a
// helix. This is useful for e.g. misaligned seeding.
float helixCutTolerance = 1.;

// derived values, set on SeedFinder construction
float highland = 0;
float maxScatteringAngle2 = 0;
Expand Down

0 comments on commit 4887d19

Please sign in to comment.