Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Adye authored and Tim Adye committed Nov 5, 2024
1 parent abad5a8 commit c0a3df6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Examples/Scripts/Python/full_chain_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,14 @@ def full_chain(args):
addParticleGun(
s,
MomentumConfig(*pt, transverse=True),
EtaConfig(*etaRange, uniform=not args.gen_cos_theta if args.gen_cos_theta or args.itk else None),
EtaConfig(
*etaRange,
uniform=(
not args.gen_cos_theta
if args.gen_cos_theta or args.itk
else None
),
),
PhiConfig(0.0, 360.0 * u.degree) if args.odd else PhiConfig(),
ParticleConfig(
args.gen_nparticles, acts.PdgParticle.eMuon, randomizeCharge=True
Expand Down

0 comments on commit c0a3df6

Please sign in to comment.