Skip to content
Snippets Groups Projects
Commit b38cb81c authored by FaserMC's avatar FaserMC
Browse files

Patches to reco scripts for r0012

parent 934735c5
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ if len(args.short) > 0:
# more files later. --complete overrides this if wanted
# Build output filename
if seglo == 0 and (seghi+1) == len(dirlist) and args.complete: # Full run
if args.complete and (seglo == 0) and ((seghi+1) == len(dirlist)): # Full run
outfile = f"FaserMC-{short}-{run}"
elif seglo == seghi: # Single segment
outfile = f"FaserMC-{short}-{run}-{seglo:05}"
......
......@@ -11,7 +11,7 @@
#
# Monte Carlo options:
# --isMC - needed for MC reco
# --digiTag <tag> - override MC reco tag for calo gain (matches digi tag)
# --caloTag <tag> - override MC reco tag for calo gain (to match digi tag)
#
# file_path - full file name (with path)
# release_directory - optional path to release install directory (default pwd)
......@@ -55,7 +55,7 @@ do
ismc=1
shift;;
--digiTag)
--caloTag)
echo "Override calo digi tag with $2"
gainstr="--MC_calibTag $2"
shift;
......
......@@ -92,7 +92,7 @@ if filepath.is_dir():
for seg in seglist:
if args.isMC:
searchstr = f"FaserMC-*-{runstr}-{seg}-*xAOD.root"
searchstr = f"FaserMC-*-{seg}-*xAOD.root"
else:
searchstr = f"Faser-Physics-{runstr}-{seg}-*xAOD.root"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment