Skip to content
Snippets Groups Projects
Commit 2b56a8c2 authored by Maria Zurek's avatar Maria Zurek
Browse files

Print calibration data

parent ab1d9683
No related branches found
No related tags found
1 merge request!120Resolve "Add energy scan benchmark for energy resolution"
This commit is part of merge request !120. Comments created here will be created in the context of that merge request.
......@@ -20,6 +20,8 @@ from Configurables import Jug__Reco__ImagingClusterReco as ImagingClusterReco
with open('config/emcal_barrel_calibration.json') as f:
calib_data = json.load(f)['electron']
print(calib_data)
kwargs = dict()
kwargs['img_sf'] = float(calib_data.get('sampling_fraction_img', 0.006))
kwargs['scfi_sf'] = float(calib_data.get('sampling_fraction_scfi', 0.104))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment