Skip to content
Snippets Groups Projects
Commit af13a083 authored by Tim Adye's avatar Tim Adye
Browse files

pass as arg (@tstreble suggestion)

parent 39b28dde
Branches adye-art4
No related tags found
No related merge requests found
Pipeline #8276064 passed
......@@ -6,6 +6,8 @@
ArtInFile=$1
dcubeRef=$2
shift 2
idpvmOpts=("$@")
nEvents=1000
......@@ -22,9 +24,6 @@ if [ -z "$dcubeXmlAbsPath" ]; then
exit 1
fi
idpvmOpts=()
[ -z "${rdo%%*single_muonpm_Pt1_*}" ] && idpvmOpts+=("--truthMinPt" "999")
run () {
name="${1}"
cmd="${@:2}"
......
......@@ -6,6 +6,8 @@
ArtInFile=$1
dcubeRef=$2
shift 2
idpvmOpts=("$@")
nEvents=1000
......@@ -22,9 +24,6 @@ if [ -z "$dcubeXmlAbsPath" ]; then
exit 1
fi
idpvmOpts=()
[ -z "${rdo%%*single_muonpm_Pt1_*}" ] && idpvmOpts+=("--truthMinPt" "999")
run () {
name="${1}"
cmd="${@:2}"
......
......@@ -13,4 +13,4 @@ ref_idpvm_athena=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/InDetPhysValM
script=test_MC_Run4_acts_FT_ckf_mu0_reco.sh
echo "Executing script ${script}"
echo " "
"$script" ${rdo} ${ref_idpvm_athena}
"$script" ${rdo} ${ref_idpvm_athena} --truthMinPt 999
......@@ -13,4 +13,4 @@ ref_idpvm_athena=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/InDetPhysValM
script=test_MC_Run4_acts_ckf_mu0_reco.sh
echo "Executing script ${script}"
echo " "
"$script" ${rdo} ${ref_idpvm_athena}
"$script" ${rdo} ${ref_idpvm_athena} --truthMinPt 999
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