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

Merge branch 'FixSeedingArtTest' into 'main'

do not use ActiveConfig inside seeding main function

See merge request !77864
parents 56ff2f1f 0c719297
No related branches found
No related tags found
7 merge requests!78241Draft: FPGATrackSim: GenScan code refactor,!78236Draft: Switching Streams https://its.cern.ch/jira/browse/ATR-27417,!78056AFP monitoring: new synchronization and cleaning,!78041AFP monitoring: new synchronization and cleaning,!77990Updating TRT chip masks for L1TRT trigger simulation - ATR-28372,!77864do not use ActiveConfig inside seeding main function,!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method
......@@ -363,6 +363,7 @@ def ActsMainSeedingCfg(flags,
kwargs.setdefault('processPixels', flags.Detector.EnableITkPixel)
kwargs.setdefault('processStrips', flags.Detector.EnableITkStrip)
kwargs.setdefault('estimateParameters', flags.Acts.doAnalysis)
if kwargs['processPixels']:
acc.merge(ActsPixelSeedingAlgCfg(flags, **extractChildKwargs(prefix='PixelSeedingAlg.', **kwargs)))
......@@ -370,7 +371,7 @@ def ActsMainSeedingCfg(flags,
acc.merge(ActsStripSeedingAlgCfg(flags, **extractChildKwargs(prefix='StripSeedingAlg.', **kwargs)))
if flags.Tracking.ActiveConfig.storeTrackSeeds or flags.Acts.doAnalysis:
if kwargs['estimateParameters']:
if kwargs['processPixels']:
from ActsConfig.ActsAnalysisConfig import ActsPixelSeedsToTrackParamsAlgCfg
acc.merge(ActsPixelSeedsToTrackParamsAlgCfg(flags,
......@@ -408,6 +409,7 @@ def ActsSeedingCfg(flags,**kwargs) -> ComponentAccumulator:
kwargs.setdefault('processPixels', processPixels)
kwargs.setdefault('processStrips', processStrips)
kwargs.setdefault('estimateParameters', flags.Tracking.ActiveConfig.storeTrackSeeds or flags.Acts.doAnalysis)
# TO-DO: refactor this seeding tool configuration
if flags.Tracking.ActiveConfig.extension == "ActsHeavyIon" and processPixels:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment