From dc58684ca5599472a0fe2728bce187542d86a5c5 Mon Sep 17 00:00:00 2001 From: Tim Adye Date: Tue, 5 Nov 2024 00:32:18 +0000 Subject: [PATCH] format --- Examples/Scripts/Python/full_chain_test.py | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Examples/Scripts/Python/full_chain_test.py b/Examples/Scripts/Python/full_chain_test.py index 6a8482b59b86..8961010c77f7 100755 --- a/Examples/Scripts/Python/full_chain_test.py +++ b/Examples/Scripts/Python/full_chain_test.py @@ -405,16 +405,24 @@ def full_chain(args): s, MomentumConfig(*pt, transverse=True), EtaConfig(*etaRange, uniform=False if args.gen_cos_theta else None), - acts.examples.simulation.PhiConfig(0.0, 360.0 * u.degree) if args.odd else None, + ( + acts.examples.simulation.PhiConfig(0.0, 360.0 * u.degree) + if args.odd + else None + ), ParticleConfig( args.gen_nparticles, acts.PdgParticle.eMuon, randomizeCharge=True ), - vtxGen=acts.examples.GaussianVertexGenerator( - mean=acts.Vector4(0, 0, 0, 0), - stddev=acts.Vector4( - 0.0125 * u.mm, 0.0125 * u.mm, 55.5 * u.mm, 1.0 * u.ns - ), - ) if args.odd else None, + vtxGen=( + acts.examples.GaussianVertexGenerator( + mean=acts.Vector4(0, 0, 0, 0), + stddev=acts.Vector4( + 0.0125 * u.mm, 0.0125 * u.mm, 55.5 * u.mm, 1.0 * u.ns + ), + ) + if args.odd + else None + ), multiplicity=args.gen_nvertices, rnd=rnd, outputDirRoot=outputDirMoreRoot,