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
No related branches found
No related tags found
1 merge request!127properly use DAQ as defined in athena/calibrations
This commit is part of merge request !127. Comments created here will be created in the context of that merge request.
......@@ -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