ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
L1
Menu
Menu_Physics_pp_run4_inputs.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
typing
import
Any
4
from
..Base.Boards
import
BoardType
5
from
..Base.L1MenuFlags
import
L1MenuFlags
6
7
def
defineInputsMenu
():
8
9
#-----------------------------------
10
# SLOT 9 / CON 1 (CTPCal, NIM1,NIM2)
11
# https://twiki.cern.ch/twiki/bin/view/Atlas/LevelOneCentralTriggerSetup#CTPIN_Slot_9
12
#-----------------------------------
13
14
ctpinBoard: dict[str,Any] = {
"Ctpin9"
: {
"type"
: BoardType.CTPIN }}
15
muctpiBoard: dict[str,Any] = {
"MuCTPi"
: {
"type"
: BoardType.MUCTPI }}
16
globalBoard: dict[str,Any] = {
"Global"
: {
"type"
: BoardType.GLOBAL }}
17
L1MenuFlags.boards().
clear
()
18
L1MenuFlags.boards().update(ctpinBoard)
19
L1MenuFlags.boards().update(muctpiBoard)
20
L1MenuFlags.boards().update(globalBoard)
21
22
23
# Ctpin/Slot9 (CTPCAL, NIM1, NIM2)
24
ctpinBoard[
"Ctpin9"
][
"connectors"
] = [
25
{
26
"name"
:
"CTPCAL"
,
27
"format"
:
"multiplicity"
,
28
"nbitsDefault"
: 1,
29
"type"
:
"ctpin"
,
30
"legacy"
:
False
,
31
"thresholds"
: [
32
'BCM_AtoC'
,
'BCM_CtoA'
,
'BCM_Wide'
,
# 3 x 1-bit BCM
33
(
'BCM_Comb'
,3),
# 1x 3-bit BCM
34
'BCM6'
,
'BCM7'
,
'BCM8'
,
# 2-hit BCM, for Run 3. 8 is not used
35
(
None
, 6),
36
'BMA0'
,
'BMA1'
,
# 2x BMA demonstrator
37
'BPTX0'
,
'BPTX1'
,
# 2x BPTX
38
'LUCID_A'
,
'LUCID_C'
,
# 2x LUCID
39
(
None
,4),
40
'ZDC_0'
,
'ZDC_1'
,
'ZDC_2'
,
# 3x ZDC
41
'CAL0'
,
'CAL1'
,
'CAL2'
,
# 3 x CALREQ
42
]
43
},
44
{
45
"name"
:
"NIM1"
,
46
"format"
:
"multiplicity"
,
47
"nbitsDefault"
: 1,
48
"type"
:
"ctpin"
,
49
"legacy"
:
False
,
50
"thresholds"
: [
51
'MBTS_A0'
,
'MBTS_A1'
,
'MBTS_A2'
,
'MBTS_A3'
,
'MBTS_A4'
,
'MBTS_A5'
,
'MBTS_A6'
,
'MBTS_A7'
,
'MBTS_A8'
,
'MBTS_A9'
,
'MBTS_A10'
,
'MBTS_A11'
,
52
'MBTS_A12'
,
'MBTS_A13'
,
'MBTS_A14'
,
'MBTS_A15'
,
# 16x MBTSSI
53
(
'MBTS_A'
,3),
# 1x MBTS_A
54
'NIML1A'
,
# L1A for CTP monitoring itself
55
'NIMLHCF'
,
# LHCF
56
'AFP_NSA'
,
'AFP_FSA'
,
'AFP_FSA_TOF_T0'
,
'AFP_FSA_TOF_T1'
,
'AFP_FSA_TOF_T2'
,
'AFP_FSA_TOF_T3'
,
# 2xAFP
57
'BMA2'
,
'BMA3'
,
# 2x BMA demonstrator
58
]
59
},
60
{
61
"name"
:
"NIM2"
,
62
"format"
:
"multiplicity"
,
63
"nbitsDefault"
: 1,
64
"type"
:
"ctpin"
,
65
"legacy"
:
False
,
66
"thresholds"
: [
67
'MBTS_C0'
,
'MBTS_C1'
,
'MBTS_C2'
,
'MBTS_C3'
,
'MBTS_C4'
,
'MBTS_C5'
,
'MBTS_C6'
,
'MBTS_C7'
,
'MBTS_C8'
,
'MBTS_C9'
,
'MBTS_C10'
,
'MBTS_C11'
,
68
'MBTS_C12'
,
'MBTS_C13'
,
'MBTS_C14'
,
'MBTS_C15'
,
# 16x MBTSSI
69
(
'MBTS_C'
,3),
# 1x MBTS_C
70
'NIMTGC'
,
# TGC
71
'NIMRPC'
,
# RPC
72
'NIMTRT'
,
# TRT
73
'AFP_NSC'
,
'AFP_FSC'
,
'AFP_FSC_TOF_T0'
,
'AFP_FSC_TOF_T1'
,
'AFP_FSC_TOF_T2'
,
'AFP_FSC_TOF_T3'
,
# 2xAFP
74
'ZDC_ALT_0'
,
'ZDC_ALT_1'
,
'ZDC_ALT_2'
# 3xZDC alternative LUCROD
75
]
76
}
77
]
78
79
# MuCTPi
80
muctpiBoard[
"MuCTPi"
][
"connectors"
] = [{
81
"name"
:
"MuCTPiOpt0"
,
82
"format"
:
"multiplicity"
,
83
"nbitsDefault"
: 2,
84
"type"
:
"optical"
,
85
"legacy"
:
False
,
86
"thresholds"
: [
87
(
'MU3V'
,3), (
'MU3VF'
,3), (
'MU3VC'
,3), (
'MU3EOF'
,3), (
'MU5VF'
,3),
88
'MU8F'
,
'MU8VF'
,
'MU8FC'
,
'MU8FH'
,
'MU8VFC'
,
'MU9VF'
,
'MU9VFC'
,
'MU12FCH'
,
89
'MU14FCH'
,
'MU14FCHR'
,
'MU15VFCH'
,
'MU15VFCHR'
,
'MU18VFCH'
,
'MU20VFC'
,
90
'MU4BO'
,
'MU4BOM'
,
'MU10BO'
,
'MU10BOM'
,
'MU12BOM'
,
91
'MU8EOF'
,
'MU14EOF'
,
92
# 57 bits for standard muon thresholds
93
(
None
,7),
94
# 64th bit for NSW monitoring
95
(
'NSWMon'
, 1)
96
]
97
98
}]
99
100
# Global board
101
globalBoard[
"Global"
][
"connectors"
] = [
102
{
103
"name"
:
"Global"
,
104
"type"
:
"GLOBAL"
,
105
"nbitsDefault"
: 4,
106
"format"
:
"multiplicity"
,
107
"thresholds"
: [
108
# 11x eEM thresholds
109
"eEM5"
,
"eEM7"
,
"eEM9"
,
"eEM10L"
,
"eEM12L"
,
"eEM15"
,
"eEM18"
,
"eEM18L"
,
"eEM18M"
,
"eEM22M"
,
"eEM24L"
,
110
111
# 6x eTAU thresholds
112
"eTAU12"
,
"eTAU20L"
,
"eTAU20M"
,
"eTAU28M"
,
"eTAU40HM"
,
"eTAU140"
,
113
114
# 6x WTACone thresholds (including 2 spare slots)
115
# "WTACone100", "WTACone130", "WTACone160", "WTACone200p0Eta32C", "WTACone_Spare_Slot4", "WTACone_Spare_Slot5",
116
117
# 4x eEM + WTACone thresholds with deltaEta requirement
118
# "0DETA08-eEM22M-WTACone100", "08DETA16-eEM22M-WTACone100", "16DETA24-eEM22M-WTACone100", "24DETA32-eEM22M-WTACone100"
119
]
120
}
121
]
122
clear
void clear()
Empty the pool.
python.L1.Menu.Menu_Physics_pp_run4_inputs.defineInputsMenu
defineInputsMenu()
Definition
Menu_Physics_pp_run4_inputs.py:7
Generated on
for ATLAS Offline Software by
1.17.0