Skip to content

Commit

Permalink
Added parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmookler committed Nov 15, 2024
1 parent 7949889 commit 5f4c48a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/algorithms/tracking/OrthogonalTrackSeedingConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ namespace eicrecon {
float rMinMiddle = 20. * Acts::UnitConstants::mm; // Middle spacepoint must fall between these two radii
float rMaxMiddle = 400. * Acts::UnitConstants::mm;

float deltaPhiMax = 0.085; // Max difference in phi between middle and either top or bottom sp

//////////////////////////////////////////////////////////////////////////
/// SEED FILTER GENERAL PARAMETERS
/// The parameters below control the process of filtering out seeds before
Expand Down
1 change: 1 addition & 0 deletions src/algorithms/tracking/TrackSeeding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ void eicrecon::TrackSeeding::configure() {
m_seedFinderConfig.impactMax = m_cfg.impactMax;
m_seedFinderConfig.rMinMiddle = m_cfg.rMinMiddle;
m_seedFinderConfig.rMaxMiddle = m_cfg.rMaxMiddle;
m_seedFinderConfig.deltaPhiMax = m_cfg.deltaPhiMax;

m_seedFinderOptions.beamPos = Acts::Vector2(m_cfg.beamPosX, m_cfg.beamPosY);
m_seedFinderOptions.bFieldInZ = m_cfg.bFieldInZ;
Expand Down
1 change: 1 addition & 0 deletions src/global/tracking/TrackSeeding_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class TrackSeeding_factory :
ParameterRef<float> m_impactMax {this, "impactMax", config().impactMax, "maximum impact parameter allowed for seeds for Acts::OrthogonalSeedFinder. rMin should be larger than impactMax."};
ParameterRef<float> m_rMinMiddle {this, "rMinMiddle", config().rMinMiddle, "min radius for middle space point for Acts::OrthogonalSeedFinder"};
ParameterRef<float> m_rMaxMiddle {this, "rMaxMiddle", config().rMaxMiddle, "max radius for middle space point for Acts::OrthogonalSeedFinder"};
ParameterRef<float> m_deltaPhiMax {this, "deltaPhiMax", config().deltaPhiMax, "Max phi difference between middle and top/bottom space point"};
ParameterRef<float> m_locaError {this, "loc_a_Error", config().locaError, "Error on Loc a for Acts::OrthogonalSeedFinder"};
ParameterRef<float> m_locbError {this, "loc_b_Error", config().locbError, "Error on Loc b for Acts::OrthogonalSeedFinder"};
ParameterRef<float> m_phiError {this, "phi_Error", config().phiError, "Error on phi for Acts::OrthogonalSeedFinder"};
Expand Down

0 comments on commit 5f4c48a

Please sign in to comment.