-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig_main_bar.txt
More file actions
71 lines (64 loc) · 3.87 KB
/
config_main_bar.txt
File metadata and controls
71 lines (64 loc) · 3.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#Configuration
CONFIG_INI_TEMPLATE /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/config_template.ini
HV_DAC /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/data/hvdacMezz27_ad5535_cal.tsv
SIPM_BIAS /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/data/sipm_bias_template.tsv
DISC_SETTINGS /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/data/disc_settings_template.tsv
CHANNEL_MAP /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/petsys_tables/febd_tofpet2tb_fake_channel_map.tsv
TRIGGER_MAP /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/petsys_tables/febd_gbe_trigger_map.tsv
LSB_T1 60
LSB_T2 60
MIN_INTG_TIME 15
MAX_INTG_TIME 15
# MIN_INTG_TIME/MAX_INTG_TIME 15 = 15 x 4 x 5 ns = 300ns
#Calibration
RUN_CALIB 0
#CALIB_DIR /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/data/calib/TestBarGood_28_03_2019
CALIB_DIR /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/data/calib/BarPlusPixel__Bar_S13360-3025_11041_11040__Pixel_S13360-3025CS_10579__Temp24__CoaxialCable__03_07_2019
DISC_CALIB disc_calibration.tsv
TDC_CALIB tdc_calibration.tsv
QDC_CALIB qdc_calibration.tsv
# Notes:
# use a different directory (different CALIB_DIR) for each calibration set
# xxx_CALIB names must end with ".tsv"
# if RUN_CALIB=1 and at least one of the xxx_CALIB already exist, the script stops (in order not to cancel an existing calibration file).
# if RUN_CALIB=0 and at least one of the xxx_CALIB does not exist, the script stops (since there is no valid calibration)
# if one of the two conditions above is passed, then:
# if RUN_CALIB=1 (since none of the xxx_CALIB exists) xxx_CALIB are created [takes ~30-40 min.] and used to run daq
# if RUN_CALIB=0 (since all the xxx_CALIB already exists) existing xxx_CALIB are used to run daq
# - QCD_CALIB is currently not used to reconstruct energy values in qdc mode (simply, energy = raw counts)
#Run settings
#DAQSCRIPT my_acquire_sipm_data PHYS
DAQSCRIPT acquire_pedestal_data PED
#DAQSCRIPT my_acquire_sipm_data PHYS
CONVERTSINGLESCRIPT convert_raw_to_singles
CONVERTCOINCIDENCESCRIPT analysis/find_coincidences.py
#CONVERTCOINCIDENCESCRIPT convert_raw_to_coincidence
TEMPERATUREFILE arduino/temperature/temperature_tmp.txt
MODE qdc
TIME 0.3
#TIME 1
OUTPUT_DIR /media/cmsdaq/ext/data/LYSOBARS
#OUTPUT_DIR output/Pedestal
OUTPUT_LABEL Run003235_2021-03-04-18-30-56_BAR000920_POS0_X42.2_Y23.9_CH0-1-2_ETHR0-0-0_T1THR20-10-10_PREIRR
#OUTPUT_LABEL PedestalTest13_2ch_100000delay
#Channels
OVERWRITE_OV_REF 7
OVERWRITE_OV 7
#If OVERWRITE_OV -1 (same for OVERWRITE_OV_REF), use the OV values in the table below. If OVERWRITE_OV > 0 set all channels to this OV value.
#REF is always CH0
# ID NHV VBR OV NCHIP NCH VTH_1 VTH_2 VTH_E SIPM_CODE SIPM_TYPE X Y Z CRYSTAL
CH 0 11 52.25 7.00 0 59 20 20 15 10579 S13360-3025CS 22.7 23.8 170 LYSO_3_3_5
#3025
CH 1 29 51.57 7.00 4 59 10 20 15 11040 S13360-3025CS 40.3 24.5 435 LYSO_bar
CH 2 8 51.50 7.00 4 35 10 20 15 11041 S13360-3025CS 40.3 24.5 435 LYSO_bar
#3025
#CH 1 29 51.77 7.00 4 59 10 20 15 11042 S13360-3025CS 23.4 23.8 435 LYSO_bar
#CH 2 8 51.72 7.00 4 35 10 20 15 11044 S13360-3025CS 23.4 23.8 435 LYSO_bar
#3050
#CH 1 29 51.77 5.00 4 59 20 20 15 12380 S13360-3050CS -- -- 140 LYSO_bar
#CH 2 8 51.47 5.00 4 35 20 20 15 12381 S13360-3050CS -- -- 140 LYSO_bar
#10/06 default:
#CH 1 29 51.77 5.00 4 59 20 20 30 12380 S13360-3050CS -- -- 140 LYSO_bar
#CH 2 8 51.47 5.00 4 35 20 20 30 12381 S13360-3050CS -- -- 140 LYSO_bar
# Note on VBR: Different CHs can be connected to the same NHV. If different values of VBR are provided only the first one is set for a given NHV.
#Note: Source position 305