Commit 733b3dd6 authored by Mike Hance's avatar Mike Hance
Browse files

adding option to change chargino mass

parent 73cb8548
Pipeline #3199575 passed with stages
in 15 minutes and 41 seconds
...@@ -27,8 +27,9 @@ masssplitting=20 ...@@ -27,8 +27,9 @@ masssplitting=20
# to run sleptons. make sure we set "-n" in the options below. # to run sleptons. make sure we set "-n" in the options below.
proc="isrslep" proc="isrslep"
params="SleptonBino" params="SleptonBino"
charginofraction=""
while getopts "E:M:S:N:c:d:f:P:p:J:L:F:s:glab:Z" opt; do while getopts "E:M:S:N:c:d:f:P:p:J:L:F:s:glab:Z:" opt; do
case "${opt}" in case "${opt}" in
E) ecms=$OPTARG;; E) ecms=$OPTARG;;
M) mass=$OPTARG;; M) mass=$OPTARG;;
...@@ -47,7 +48,7 @@ while getopts "E:M:S:N:c:d:f:P:p:J:L:F:s:glab:Z" opt; do ...@@ -47,7 +48,7 @@ while getopts "E:M:S:N:c:d:f:P:p:J:L:F:s:glab:Z" opt; do
f) simpleanalysis=$OPTARG;; f) simpleanalysis=$OPTARG;;
F) likelihood=$OPTARG;; F) likelihood=$OPTARG;;
b) database=$OPTARG;; b) database=$OPTARG;;
Z) withchargino=true;; Z) charginofraction=$OPTARG;;
*) exit;; *) exit;;
esac esac
done done
...@@ -62,8 +63,8 @@ elif $clobber_ana; then ...@@ -62,8 +63,8 @@ elif $clobber_ana; then
fi fi
newmodelopts="" newmodelopts=""
if $withchargino; then if [[ $charginofraction != "" ]]; then
charginomass=$(bc <<< "scale=0; ${mass}-${masssplitting}/2") charginomass=$(bc <<< "scale=0; ${mass}-${masssplitting}+${masssplitting}*${charginofraction}")
newmodelopts="-v -O $charginomass" newmodelopts="-v -O $charginomass"
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment