Skip to content
Snippets Groups Projects
Commit 6b5c211c authored by Tooba Ali's avatar Tooba Ali
Browse files

Update benchmarks/dis/dis.sh, benchmarks/dis/analysis/kinematics_correlations.py

parent fed8f3ac
No related branches found
No related tags found
1 merge request!202construct kinematic coverage plot and include Sigma and eSigma correlation in kinematics_correlation.py
This commit is part of merge request !202. Comments created here will be created in the context of that merge request.
...@@ -25,7 +25,7 @@ Nevents = args.nevents ...@@ -25,7 +25,7 @@ Nevents = args.nevents
r_path = args.results_path #Path for output figures and file. r_path = args.results_path #Path for output figures and file.
Dconfig = 'epic' + args.config.split('_epic')[1].strip() #Detector config Dconfig = 'epic' + args.config.split('_epic')[1].strip() #Detector config
config = args.config.split('_epic')[0].strip() config = args.config.split('_epic')[0].strip()
minq2 = int(config.split('=')[1].strip()[0]) minq2 = int(config.split('=')[1].strip())
k = int(config.split('x')[0].split('_')[1].strip()) #ebeam Electron beam energy k = int(config.split('x')[0].split('_')[1].strip()) #ebeam Electron beam energy
p = int(config.split('x')[1].split('_')[0].strip()) #pbeam Proton (or ion) beam energy p = int(config.split('x')[1].split('_')[0].strip()) #pbeam Proton (or ion) beam energy
......
...@@ -122,7 +122,7 @@ if [[ "$?" -ne "0" ]] ; then ...@@ -122,7 +122,7 @@ if [[ "$?" -ne "0" ]] ; then
exit 1 exit 1
fi fi
python benchmarks/dis/analysis/kinematics_correlations.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} python benchmarks/dis/analysis/kinematics_correlations.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS}
if [[ "$?" -ne "0" ]] ; then if [[ "$?" -ne "0" ]] ; then
echo "ERROR running kinematics_correlations script" echo "ERROR running kinematics_correlations script"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment