Skip to content

Commit

Permalink
more --output-detail fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Adye authored and Tim Adye committed Nov 4, 2024
1 parent 2754452 commit b9a58c4
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Examples/Scripts/Python/full_chain_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def full_chain(args):
skip=args.skip,
numThreads=args.threads if not (args.geant4 and args.threads == -1) else 1,
logLevel=acts.logging.Level(args.loglevel),
outputDir="" if outputDir is None else str(outputDir),
outputDir="" if outputDirLess is None else str(outputDirLess),
)

# is this needed?
Expand Down Expand Up @@ -429,8 +429,8 @@ def full_chain(args):
mean=acts.Vector4(0, 0, 0, 0),
),
rnd=rnd,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
)

if not args.geant4:
Expand All @@ -443,8 +443,8 @@ def full_chain(args):
rnd=rnd,
preSelectParticles=preSelectParticles,
postSelectParticles=postSelectParticles,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
)
else:
if s.config.numThreads != 1:
Expand All @@ -468,8 +468,8 @@ def full_chain(args):
postSelectParticles=postSelectParticles,
killVolume=trackingGeometry.highestTrackingVolume,
killAfterTime=25 * u.ns,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
)

addDigitization(
Expand All @@ -478,8 +478,8 @@ def full_chain(args):
field,
digiConfigFile=args.digi_config,
rnd=rnd,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
)

if not args.reco:
Expand Down Expand Up @@ -526,8 +526,8 @@ def full_chain(args):
initialSigmaPtRel=0.1,
initialVarInflation=[1.0] * 6,
geoSelectionConfigFile=seedingConfigFile,
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
)

if args.MLSeedFilter:
Expand All @@ -545,8 +545,8 @@ def full_chain(args):
geo_dir
/ "Examples/Scripts/Python/MLAmbiguityResolution/seedDuplicateClassifier.onnx"
),
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
)

if not args.ckf:
Expand Down Expand Up @@ -632,8 +632,8 @@ def full_chain(args):
ckfConfig=ckfConfig,
**(dict(twoWay=False) if not args.simple_ckf else {}),
**writeDetail,
outputDirRoot=outputDirRoot,
outputDirCsv=outputDirCsv,
outputDirRoot=outputDirLessRoot,
outputDirCsv=outputDirLessCsv,
)

if args.ambi_solver == "ML":
Expand Down Expand Up @@ -704,7 +704,7 @@ def full_chain(args):
s,
field,
vertexFinder=VertexFinder.AMVF,
outputDirRoot=outputDirLess,
outputDirRoot=outputDirLessRoot,
)

return s
Expand Down

0 comments on commit b9a58c4

Please sign in to comment.