Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisFelipeCoelho committed Nov 13, 2023
1 parent 4758bf7 commit a3683e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Core/include/Acts/Seeding/SeedFinderConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ struct SeedFinderConfig {
// default is 5%
// 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 to a
// helix, useful for (e.g.) misaligned seeding
float helixCutTolerance = 1.;
Expand Down Expand Up @@ -284,7 +284,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) * config.helixCutTolerance;
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 to a
// helix, useful for (e.g.) misaligned seeding
float helixCutTolerance = 1.;

float m_phiSliceWidth{};
float m_nMaxPhiSlice{};
bool m_useClusterWidth = false;
Expand Down
4 changes: 2 additions & 2 deletions Core/include/Acts/Seeding/SeedFinderOrthogonalConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ struct SeedFinderOrthogonalConfig {
// default is 5%
// 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 to a
// helix, useful for (e.g.) misaligned seeding
float helixCutTolerance = 1.;
float helixCutTolerance = 1.;

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

0 comments on commit a3683e3

Please sign in to comment.