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

Update benchmarks/dis/env.sh, benchmarks/dis/analysis/truth_reconstruction.py

parent 4a2794d6
No related branches found
No related tags found
1 merge request!199Draft: Use of JUGGLER_N_EVENTS=10000
......@@ -71,7 +71,7 @@ RC_list = [ak.Array(momentum_rc[recID][booll]), #Momentum
ak.Array(phi_rc[recID][booll]), #Phi
-np.log(np.tan((ak.Array(theta_rc[recID][booll]))/2))] #Eta
title_list = ['Momentum','Theta','Phi','Eta']
title_list_n = ['1','2','3','4']
title_list_n = ['1','2','4','3']
particle_name_n = {'Electrons':'5','Pions':'6','Photons':'7'}
### MC Momentum for different particles list
M_list = [ak.Array(momentum_mc[simID][booll]),
......@@ -271,7 +271,7 @@ for i in range(len(MC_list)): #Repeat the following steps for each variable (mom
axs[1].set_ylabel('%s_rc'%(title_list[i]))
axs[1].set_title('%s Correlation'%(title_list[i]))
fig.suptitle('%s %s events\n DETECTOR_CONFIG: %s'%(config,Nevents,Dconfig))
plt.savefig(os.path.join(r_path, '%s_correlation_%s.png' % (title_list_n[i],config)))
plt.savefig(os.path.join(r_path, '%s%s_%s.png' % (title_list_n[i],args.config.split('_epic_')[1].strip(),config)))
###################################################################################################
......
......@@ -48,7 +48,7 @@ echo "TMP_PATH: ${TMP_PATH}"
## if not too big).
RESULTS_PATH="results/${BENCHMARK_TAG}/${BEAM_TAG}/minQ2=${MINQ2}"
mkdir -p ${RESULTS_PATH}
mkdir -p "${RESULTS_PATH}/truth_reconstruction"
export RESULTS_PATH=`realpath ${RESULTS_PATH}`
echo "RESULTS_PATH: ${RESULTS_PATH}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment