Skip to content

Commit

Permalink
fix: Drop removeNeutral from particle pre-selection in Examples (ac…
Browse files Browse the repository at this point in the history
…ts-project#3830)

I think this is there by accident and propagated to a number of workflows. Neutral particles can convert during event simulation and should be kept. For the post selection it is valid as we do no performance on neutral particles.
  • Loading branch information
andiwand authored and Rosie-Hasan committed Nov 13, 2024
1 parent ff30771 commit a1db7d7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion Examples/Python/tests/root_file_hashes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test_seeding__estimatedparams.root: 69c0e268f9025a0991a212ea2a7f26f53112fecf614b
test_seeding__performance_seeding.root: 992f9c611d30dde0d3f3ab676bab19ada61ab6a4442828e27b65ec5e5b7a2880
test_seeding__particles.root: 7855b021f39ad238bca098e4282667be0666f2d1630e5bcb9d51d3b5ee39fa14
test_seeding__particles_simulation.root: f937a4cc474e80cfbb6eac4384e42e9c5c7ac981fcd6870d624cc898d1a0c006
test_hashing_seeding__estimatedparams.root: 1ab38fbedeaff1380fc022e2970e6c74163d770613205100bd34c3e88283e387
test_hashing_seeding__estimatedparams.root: 8daa3f04342c265f32f1608ccc921ab0041686a6280b956f811638ad4328330e
test_seeding_orthogonal__estimatedparams.root: ca5896ec325daf5c8012291bc454269c61c32fe3d7e33bd1fa3b812826930299
test_seeding_orthogonal__performance_seeding.root: 60fbedcf5cb2b37cd8e526251940564432890d3a159d231ed819e915a904682c
test_seeding_orthogonal__particles.root: 7855b021f39ad238bca098e4282667be0666f2d1630e5bcb9d51d3b5ee39fa14
Expand Down
1 change: 0 additions & 1 deletion Examples/Scripts/Python/full_chain_itk.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
absZ=(0.0 * u.mm, 1.0 * u.m),
eta=(-4.0, 4.0),
pt=(150 * u.MeV, None),
removeNeutral=True,
)
if ttbar_pu200
else ParticleSelectorConfig()
Expand Down
1 change: 0 additions & 1 deletion Examples/Scripts/Python/full_chain_itk_Gbts.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
absZ=(0.0 * u.mm, 1.0 * u.m),
eta=(-4.0, 4.0),
pt=(150 * u.MeV, None),
removeNeutral=True,
)
if ttbar_pu200
else ParticleSelectorConfig()
Expand Down
2 changes: 0 additions & 2 deletions Examples/Scripts/Python/full_chain_odd.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@
absZ=(0.0, 1.0 * u.m),
eta=(-3.0, 3.0),
pt=(150 * u.MeV, None),
removeNeutral=True,
),
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
Expand All @@ -294,7 +293,6 @@
absZ=(0.0, 1.0 * u.m),
eta=(-3.0, 3.0),
pt=(150 * u.MeV, None),
removeNeutral=True,
)
if args.ttbar
else ParticleSelectorConfig()
Expand Down
2 changes: 0 additions & 2 deletions Examples/Scripts/Python/full_chain_odd_LRT.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@
absZ=(0.0, 1.0 * u.m),
eta=(-3.0, 3.0),
pt=(150 * u.MeV, None),
removeNeutral=True,
),
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
Expand All @@ -295,7 +294,6 @@
absZ=(0.0, 1.0 * u.m),
eta=(-3.0, 3.0),
pt=(150 * u.MeV, None),
removeNeutral=True,
)
if args.ttbar
else ParticleSelectorConfig()
Expand Down
1 change: 0 additions & 1 deletion Examples/Scripts/Python/hashing_seeding.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ def runHashingSeeding(
preSelectParticles=ParticleSelectorConfig(
eta=(-eta, eta),
pt=(150 * u.MeV, None),
removeNeutral=True,
),
postSelectParticles=ParticleSelectorConfig(
pt=(1.0 * u.GeV, None),
Expand Down

0 comments on commit a1db7d7

Please sign in to comment.