Skip to content
Snippets Groups Projects
Commit 1bcfa312 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'gsf_fixSurfaceAndChi2' into 'main'

Acts GSF: Fix surface order and chi2 cut

See merge request atlas/athena!78732
parents 0c361ff6 f560d197
Branches
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ def createActsConfigFlags(): ...@@ -116,7 +116,7 @@ def createActsConfigFlags():
actscf.addFlag("Acts.GsfMaxComponents", 12) actscf.addFlag("Acts.GsfMaxComponents", 12)
actscf.addFlag("Acts.GsfComponentMergeMethod", 'MaxWeight') actscf.addFlag("Acts.GsfComponentMergeMethod", 'MaxWeight')
actscf.addFlag("Acts.GsfDirectNavigation", False) actscf.addFlag("Acts.GsfDirectNavigation", False)
actscf.addFlag("Acts.GsfOutlierChi2Cut", 20.0) actscf.addFlag("Acts.GsfOutlierChi2Cut", 1e4) # Effectively no cut. Compatible with legacy
actscf.addFlag('Acts.useDefaultActsMeasurementSelector', False) # if True, uses no outlier chi2 cut as before (chi2<25,inf) actscf.addFlag('Acts.useDefaultActsMeasurementSelector', False) # if True, uses no outlier chi2 cut as before (chi2<25,inf)
......
...@@ -434,7 +434,7 @@ StatusCode GaussianSumFitterTool::fit( ...@@ -434,7 +434,7 @@ StatusCode GaussianSumFitterTool::fit(
std::vector<Acts::SourceLink> sourceLinks; std::vector<Acts::SourceLink> sourceLinks;
std::vector<const Acts::Surface*> surfSequence; std::vector<const Acts::Surface*> surfSequence;
for (auto ts : track.trackStatesReversed()) { for (auto ts : track.trackStates()){
surfSequence.push_back(&ts.referenceSurface()); surfSequence.push_back(&ts.referenceSurface());
if (!ts.hasCalibrated()) { if (!ts.hasCalibrated()) {
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment