Skip to content
Draft
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 @@ -97,10 +97,21 @@ def add(cfg, flatconfig):
add(config, {"FwdMatching.cutFcn" : "cut3SigmaXYAngles"})

# FIT digitizer settings
#2023 pp
if 534125 <= int(args.run) and int(args.run) <= 543113:
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"})
# 2023 PbPb
if 543437 <= int(args.run) and int(args.run) <= 545367:
add(config, {"FT0DigParam.mMip_in_V": "7", "FT0DigParam.mMV_2_Nchannels": "2", "FT0DigParam.mMV_2_NchannelsInverse": "0.5"})
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"})
# 2024
# first and last run of 2024
if 546088 <= int(args.run) and int(args.run) <= 560623:
Expand All @@ -111,6 +122,15 @@ def add(cfg, flatconfig):
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"})
# 2025
# first and last run of 2025
if 562260 <= int(args.run) and int(args.run) <= 568721:
Expand Down
Loading