Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion MC/bin/o2dpg_sim_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,29 @@
if COLTYPEIR == "PbPb":
# 4 ADC channels / MIP
add(config, {"FV0DigParam.adcChannelsPerMip": "4"})
# 2025
# first and last run of 2025
if 562260 <= int(args.run) and int(args.run) <= 568721:
# 14 ADC channels / MIP for FT0
add(config, {"FT0DigParam.mMip_in_V": "7", "FT0DigParam.mMV_2_Nchannels": "2", "FT0DigParam.mMV_2_NchannelsInverse": "0.5"})
if COLTYPEIR == "PbPb":
# 4 ADC channels / MIP
add(config, {"FV0DigParam.adcChannelsPerMip": "4"})
# central and semicentral FT0 thresholds
add(config, {"FT0DigParam.mtrg_central_trh": "1433", "FT0DigParam.mtrg_semicentral_trh": "35"})
# FV0 trigger settings
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "1080"})
if COLTYPEIR == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO":

Check failure on line 120 in MC/bin/o2dpg_sim_config.py

View workflow job for this annotation

GitHub Actions / Pylint

Pylint error undefined-variable

Undefined variable 'COLTYPIER'
# central and semicentral FT0 thresholds
add(config, {"FT0DigParam.mtrg_central_trh": "40", "FT0DigParam.mtrg_semicentral_trh": "20"})
# FV0 trigger settings
add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "8"})
if COLTYPEIR == "pp":
# 15 ADC channels / MIP
add(config, {"FV0DigParam.adcChannelsPerMip": "15"})
if COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO":

Check failure on line 128 in MC/bin/o2dpg_sim_config.py

View workflow job for this annotation

GitHub Actions / Pylint

Pylint error undefined-variable

Undefined variable 'COLTYPIER'
# 11 ADC channels / MIP
add(config, {"FV0DigParam.adcChannelsPerMip": "11"})

return config

Expand Down Expand Up @@ -234,4 +257,4 @@
if mainkey not in config:
# Initialize the main key in the dictionary if it does not already exist
config[mainkey] = {}
config[mainkey][subkey] = value
config[mainkey][subkey] = value
Loading