Skip to content

Commit

Permalink
fix default; replace measurement cuts with hit cuts
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 6, 2024
1 parent e006ab6 commit df40a9d
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CI/physmon/workflows/physmon_trackfinding_1muon.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def run_ckf_tracking(label, seeding):
rnd=rnd,
postSelectParticles=ParticleSelectorConfig(
pt=(0.9 * u.GeV, None),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
rnd=rnd,
postSelectParticles=ParticleSelectorConfig(
pt=(0.9 * u.GeV, None),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
2 changes: 1 addition & 1 deletion CI/physmon/workflows/physmon_trackfinding_ttbar_pu200.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
),
postSelectParticles=ParticleSelectorConfig(
pt=(0.5 * u.GeV, None),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Python/python/acts/examples/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"removeNeutral", # bool
"removeSecondaries", # bool
],
defaults=[(None, None)] * 9 + [None] * 3,
defaults=[(None, None)] * 10 + [None] * 3,
)


Expand Down
2 changes: 1 addition & 1 deletion Examples/Python/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def test_itk_seeding(tmp_path, trk_geo, field, assert_root_hash):
postSelectParticles=ParticleSelectorConfig(
pt=(0.9 * u.GeV, None),
eta=(-4, 4),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Optimization/ckf.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def runCKFTracks(
rnd=rnd,
postSelectParticles=ParticleSelectorConfig(
pt=(0.5 * u.GeV, None),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/ckf_tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def runCKFTracks(
rnd=rnd,
postSelectParticles=ParticleSelectorConfig(
pt=(0.5 * u.GeV, None),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/full_chain_itk.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-4.0, 4.0),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
outputDirRoot=outputDir,
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/full_chain_itk_Gbts.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-4.0, 4.0),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
outputDirRoot=outputDir,
Expand Down
4 changes: 2 additions & 2 deletions Examples/Scripts/Python/full_chain_odd.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-3.0, 3.0),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
outputDirRoot=outputDir if args.output_root else None,
Expand Down Expand Up @@ -306,7 +306,7 @@
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-3.0, 3.0),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
enableInteractions=True,
Expand Down
4 changes: 2 additions & 2 deletions Examples/Scripts/Python/full_chain_odd_LRT.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-3.0, 3.0),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
outputDirRoot=outputDir if args.output_root else None,
Expand All @@ -300,7 +300,7 @@
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-3.0, 3.0),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
enableInteractions=True,
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/full_chain_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def full_chain(args):
postSelectParticles = ParticleSelectorConfig(
pt=(ptMin, None),
eta=etaRange if not args.generic_detector else (None, None),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
)

Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/hashing_seeding.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def runHashingSeeding(
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-eta, eta),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
enableInteractions=True,
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/seeding.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def runSeeding(
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
eta=(-2.5, 2.5),
measurements=(9, None),
hits=(9, None),
removeNeutral=True,
),
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/truth_tracking_gsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def runTruthTrackingGsf(
enableInteractions=True,
postSelectParticles=ParticleSelectorConfig(
pt=(0.9 * u.GeV, None),
measurements=(7, None),
hits=(7, None),
removeNeutral=True,
removeSecondaries=True,
),
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/truth_tracking_gx2f.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def runTruthTrackingGx2f(
enableInteractions=True,
postSelectParticles=ParticleSelectorConfig(
pt=(0.9 * u.GeV, None),
measurements=(7, None),
hits=(7, None),
removeNeutral=True,
removeSecondaries=True,
),
Expand Down
2 changes: 1 addition & 1 deletion Examples/Scripts/Python/truth_tracking_kalman.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def runTruthTrackingKalman(
enableInteractions=True,
postSelectParticles=ParticleSelectorConfig(
pt=(0.9 * u.GeV, None),
measurements=(7, None),
hits=(7, None),
removeNeutral=True,
removeSecondaries=True,
),
Expand Down

0 comments on commit df40a9d

Please sign in to comment.