Skip to content
Snippets Groups Projects
Commit 4b341929 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

explicitly use detector path for daq

parent cccc1efe
Branches
Tags
1 merge request!127properly use DAQ as defined in athena/calibrations
......@@ -40,10 +40,7 @@ print(calib_data)
# input calorimeter DAQ info
calo_daq = {}
digi_version = 'canyonlands'
if detector_version != 'default':
digi_version = detector_version
with open('calibrations/calo_digi_{}.json'.format(digi_version)) as f:
with open('{}/calibrations/calo_digi_{}.json'.format(detector_path, detector_version)) as f:
calo_config = json.load(f)
## add proper ADC capacity based on bit depth
for sys in calo_config:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment