From f9a96e0fa0aeaf47d8bb05819d421f0910df83aa Mon Sep 17 00:00:00 2001 From: Szymon Pulawski Date: Thu, 2 Apr 2026 10:18:08 +0200 Subject: [PATCH 1/4] WIP: update digitizer params for 2025 (temporary values) --- MC/bin/o2dpg_sim_config.py | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/MC/bin/o2dpg_sim_config.py b/MC/bin/o2dpg_sim_config.py index 1f5696e75..fa68e3d12 100755 --- a/MC/bin/o2dpg_sim_config.py +++ b/MC/bin/o2dpg_sim_config.py @@ -105,6 +105,39 @@ def add(cfg, flatconfig): 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"}) + # 15 ADC channels / MIP for FV0 + add(config, {"FV0DigParam.adcChannelsPerMip": "15"}) + 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": "8"}) + if COLTYPEIR == "OO": + # 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": "8"}) + if COLTYPEIR == "NeNe": + # 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": "8"}) + 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"}) return config @@ -234,4 +267,4 @@ def overwrite_config(config, mainkey, subkey, value): if mainkey not in config: # Initialize the main key in the dictionary if it does not already exist config[mainkey] = {} - config[mainkey][subkey] = value \ No newline at end of file + config[mainkey][subkey] = value From 4b4a6f9f5be9972d0c04a4d9d2d4e9d58d114df9 Mon Sep 17 00:00:00 2001 From: Szymon Pulawski Date: Thu, 16 Apr 2026 15:59:59 +0200 Subject: [PATCH 2/4] UPDATE of FIT digitizer parameters for 2025 data and recent digitizer upgrade --- MC/bin/o2dpg_sim_config.py | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/MC/bin/o2dpg_sim_config.py b/MC/bin/o2dpg_sim_config.py index fa68e3d12..8b43a43c9 100755 --- a/MC/bin/o2dpg_sim_config.py +++ b/MC/bin/o2dpg_sim_config.py @@ -110,34 +110,24 @@ def add(cfg, flatconfig): 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"}) - # 15 ADC channels / MIP for FV0 - add(config, {"FV0DigParam.adcChannelsPerMip": "15"}) 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": "8"}) - if COLTYPEIR == "OO": - # 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": "8"}) - if COLTYPEIR == "NeNe": - # 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": "8"}) - if COLTYPEIR == "pp": + add(config, {"FV0DigParam.NchannelsLevel": "2", "FV0DigParam.InnerChargeLevel": "4", "FV0DigParam.OuterChargeLevel": "4", "FV0DigParam.ChargeLevel": "1080"}) + if COLTYPEIR == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe": # 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 == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO": + # 11 ADC channels / MIP + add(config, {"FV0DigParam.adcChannelsPerMip": "11"}) return config From 84121784150b869da851fe14fd7ca068c46ee034 Mon Sep 17 00:00:00 2001 From: Szymon Pulawski Date: Thu, 16 Apr 2026 16:09:45 +0200 Subject: [PATCH 3/4] Add pO for trigger parameters --- MC/bin/o2dpg_sim_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MC/bin/o2dpg_sim_config.py b/MC/bin/o2dpg_sim_config.py index 8b43a43c9..30fefa8f7 100755 --- a/MC/bin/o2dpg_sim_config.py +++ b/MC/bin/o2dpg_sim_config.py @@ -117,7 +117,7 @@ def add(cfg, flatconfig): 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": + if COLTYPEIR == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO": # central and semicentral FT0 thresholds add(config, {"FT0DigParam.mtrg_central_trh": "40", "FT0DigParam.mtrg_semicentral_trh": "20"}) # FV0 trigger settings From 192098ec928e0d89d12aca0716f53c9aedfce0e9 Mon Sep 17 00:00:00 2001 From: Szymon Pulawski Date: Thu, 16 Apr 2026 16:11:22 +0200 Subject: [PATCH 4/4] Correct pp FV0 settings --- MC/bin/o2dpg_sim_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MC/bin/o2dpg_sim_config.py b/MC/bin/o2dpg_sim_config.py index 30fefa8f7..bf7eb4d45 100755 --- a/MC/bin/o2dpg_sim_config.py +++ b/MC/bin/o2dpg_sim_config.py @@ -125,7 +125,7 @@ def add(cfg, flatconfig): if COLTYPEIR == "pp": # 15 ADC channels / MIP add(config, {"FV0DigParam.adcChannelsPerMip": "15"}) - if COLTYPEIR == "pp" or COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO": + if COLTYPEIR == "OO" or COLTYPEIR == "NeNe" or COLTYPIER == "pO": # 11 ADC channels / MIP add(config, {"FV0DigParam.adcChannelsPerMip": "11"})