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
20 changes: 20 additions & 0 deletions MC/bin/o2dpg_sim_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,26 @@ def add(cfg, flatconfig):
if COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPEIR == "pO":
# 11 ADC channels / MIP
add(config, {"FV0DigParam.adcChannelsPerMip": "11"})
# 2026
# first and last run of 2026
if 569821 <= int(args.run) and int(args.run) <= 572715:
# 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":
# 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"})
# 15 ADC channels / MIP
add(config, {"FV0DigParam.adcChannelsPerMip": "15"})


return config

Expand Down
Loading