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

comment out the plots not required

parent de1c9047
No related branches found
No related tags found
1 merge request!199Draft: Use of JUGGLER_N_EVENTS=10000
......@@ -426,7 +426,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%s_%s.png' % (title_list_n[i],args.config.split('_epic_')[1].strip(),config)))
# plt.savefig(os.path.join(r_path, '%s%s_%s.png' % (title_list_n[i],args.config.split('_epic_')[1].strip(),config)))
###################################################################################################
......@@ -477,7 +477,7 @@ if particle in particle_dict.keys():
particle_plots(boolean_particle)
plt.suptitle('%s in %s %s events\n DETECTOR_CONFIG: %s'%(particle_name,config,Nevents,Dconfig))
plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config)))
# plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config)))
else:
for i in [[boolean_photon,'Photons'],[boolean_electron,'Electrons'],[boolean_pion,'Pions']]:
boolean_particle = i[0]
......@@ -485,7 +485,7 @@ else:
particle_plots(boolean_particle)
plt.suptitle('%s in %s %s events\n DETECTOR_CONFIG: %s'%(particle_name,config,Nevents,Dconfig))
plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config)))
# plt.savefig(os.path.join(r_path, '%s_%s.png' % (particle_name_n[particle_name],config)))
......
......@@ -123,11 +123,11 @@ EOF
# exit 1
# fi
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
echo "ERROR running kinematics_correlations script"
exit 1
fi
# 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
# echo "ERROR running kinematics_correlations script"
# exit 1
# fi
python benchmarks/dis/analysis/truth_reconstruction.py --rec_file ${REC_FILE} --config ${PLOT_TAG}_${DETECTOR_CONFIG} --results_path ${RESULTS_PATH} --nevents ${JUGGLER_N_EVENTS}
if [[ "$?" -ne "0" ]] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment