Skip to content

Commit 4b4a6f9

Browse files
author
Szymon Pulawski
committed
UPDATE of FIT digitizer parameters for 2025 data and recent digitizer upgrade
1 parent f9a96e0 commit 4b4a6f9

1 file changed

Lines changed: 8 additions & 18 deletions

File tree

MC/bin/o2dpg_sim_config.py

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,34 +110,24 @@ def add(cfg, flatconfig):
110110
if 562260 <= int(args.run) and int(args.run) <= 568721:
111111
# 14 ADC channels / MIP for FT0
112112
add(config, {"FT0DigParam.mMip_in_V": "7", "FT0DigParam.mMV_2_Nchannels": "2", "FT0DigParam.mMV_2_NchannelsInverse": "0.5"})
113-
# 15 ADC channels / MIP for FV0
114-
add(config, {"FV0DigParam.adcChannelsPerMip": "15"})
115113
if COLTYPEIR == "PbPb":
116114
# 4 ADC channels / MIP
117115
add(config, {"FV0DigParam.adcChannelsPerMip": "4"})
118116
# central and semicentral FT0 thresholds
119117
add(config, {"FT0DigParam.mtrg_central_trh": "1433", "FT0DigParam.mtrg_semicentral_trh": "35"})
120118
# FV0 trigger settings
121-
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "8"})
122-
if COLTYPEIR == "OO":
123-
# 4 ADC channels / MIP
124-
add(config, {"FV0DigParam.adcChannelsPerMip": "4"})
125-
# central and semicentral FT0 thresholds
126-
add(config, {"FT0DigParam.mtrg_central_trh": "1433", "FT0DigParam.mtrg_semicentral_trh": "35"})
127-
# FV0 trigger settings
128-
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "8"})
129-
if COLTYPEIR == "NeNe":
130-
# 4 ADC channels / MIP
131-
add(config, {"FV0DigParam.adcChannelsPerMip": "4"})
132-
# central and semicentral FT0 thresholds
133-
add(config, {"FT0DigParam.mtrg_central_trh": "1433", "FT0DigParam.mtrg_semicentral_trh": "35"})
134-
# FV0 trigger settings
135-
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "8"})
136-
if COLTYPEIR == "pp":
119+
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "1080"})
120+
if COLTYPEIR == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe":
137121
# central and semicentral FT0 thresholds
138122
add(config, {"FT0DigParam.mtrg_central_trh": "40", "FT0DigParam.mtrg_semicentral_trh": "20"})
139123
# FV0 trigger settings
140124
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "8"})
125+
if COLTYPEIR == "pp":
126+
# 15 ADC channels / MIP
127+
add(config, {"FV0DigParam.adcChannelsPerMip": "15"})
128+
if COLTYPEIR == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO":
129+
# 11 ADC channels / MIP
130+
add(config, {"FV0DigParam.adcChannelsPerMip": "11"})
141131

142132
return config
143133

0 commit comments

Comments
 (0)