-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathptbmk2_nd_10.fcl
More file actions
301 lines (301 loc) · 8.04 KB
/
ptbmk2_nd_10.fcl
File metadata and controls
301 lines (301 loc) · 8.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
board_config : '{
"ctb":{
"sockets":{
"receiver":{
"rollover":500000,
"host":"10.226.35.150",
"port":8992
},
"monitor":{
"enable" : false,
"host": "localhost",
"port": 8993
},
"statistics": {
"enable":false,
"port":8994,
"updt_period": 1
}
},
"misc":{
"randomtrigger_1":{
"description":"Random trigger that can optionally be set to fire only during beam spill",
"enable":false,
"fixed_freq":true,
"beam_mode":false,
"period":25000000,
"period_old":3333333,
"seed":"0xACE2ACE1",
"thresh_lo":"0x00000001",
"thresh_hi":"0x000F00FF"
},
"randomtrigger_2":{
"description":"Random trigger that can optionally be set to fire only outside of beam spill",
"enable":false,
"fixed_freq":true,
"beam_mode":false,
"period":25000000,
"seed":"0x0000ACE1",
"thresh_lo":"0x00000001",
"thresh_hi":"0x000F00FF"
},
"pulser":{
"description":"Used to generate a fake BNB cycle. Period and width are in 20ns clock ticks",
"enable":true,
"period":66666667,
"width" :66666666
},
"timing":{
"description":"Unbiased Trigger Control.",
"tap" : "0x2",
"repeater_val" : "0x0",
"period" : "0x3",
"duty" : "0x3",
"early_warning_window":{
"use_count": true,
"beam_signal_mask": "0x4",
"window_length": "0x4119"
},
"pre_arrival_window":{
"use_count": true,
"beam_signal_mask": "0x4",
"window_length": "0x64"
},
"beam_acceptance_window":{
"use_count": true,
"beam_signal_mask": "0x0",
"window_length": "0x1"
},
"post_arrival_window":{
"beam_signal_mask": "0x0",
"window_length": "0x0"
}
},
"debug_outs":{
"description":"Masks for NIM debug outputs",
"debug_mask_1":"0x8",
"debug_mask_2":"0x8"
},
"ch_status":false,
"standalone_enable": true
},
"HLT":{
"command_mask" : {
"description":"Masks which HLTs correspond to each command. No overlaps are allowed.",
"A" : "0x3F",
"B" : "0x3F",
"C" : "0x7F",
"T" : "0x1"
},
"trigger": [
{ "id":"HLT_1",
"description": "Beam Acceptance AND upstream CRT (CRT layers AND-d).",
"enable":false,
"minc" : "0x20001000",
"mexc" : "0x0",
"prescale" : "0x1"
},
{ "id":"HLT_2",
"description": "Beam Acceptance AND downstream CRT (CRT layers AND-d).",
"enable":false,
"minc" : "0x20002000",
"mexc" : "0x0",
"prescale" : "0x1"
},
{ "id":"HLT_3",
"description": "Beam Acceptance AND (up && down) stream CRT (CRT layers AND-d).",
"enable":false,
"minc" : "0x20003000",
"mexc" : "0x0",
"prescale" : "0x1"
},
{ "id":"HLT_4",
"description": "Start of Beam Acceptance Window trigger",
"enable":false,
"minc" : "0x20000000",
"mexc" : "0x0",
"prescale" : "0x1"
},
{ "id":"HLT_5",
"description": "Start of Beam Pre-Arrival Window (BES signal) trigger",
"enable":true,
"minc" : "0x10000000",
"mexc" : "0x0",
"prescale" : "0xA"
},
{ "id":"HLT_6",
"description": "Pure Cosmic trigger",
"enable":false,
"minc" : "0x18",
"mexc" : "0x0",
"prescale" : "0x1"
},
{ "id":"HLT_7",
"description": "Pure Cosmic trigger",
"enable":false,
"minc" : "0x3",
"mexc" : "0x0",
"prescale" : "0x1"
}
]
},
"subsystems":{
"pds":{
"channel_mask":"0x3FF",
"reshape_length" : 50,
"reshape_flash_out_length" : 5,
"delays":[0,0,0,0,0,0,0,0,0,0],
"triggers": [
{ "id":"LLT_14",
"description": "Any CAEN input",
"enable":false,
"mask" : "0x3FF",
"type" : "0x1",
"count" : "0x0"
},
{ "id":"LLT_17",
"description": "PDS include 2 SSPs near the beam plug",
"enable":false,
"mask" : "0x3FF",
"type" : "0x2",
"count" : "0x2"
}
]
},
"crt":{
"channel_mask": "0x3FFF",
"pixelate": false,
"reshape_length" : 50,
"delays":[0,0,0,0,0,0,0,0,0,0,0,0,0,0],
"triggers": [
{ "id":"LLT_11",
"description": "CRT up/down stream all channels OR-d (type=0x1 is >Count)",
"enable":true,
"mask" : "0xF",
"type" : "0x1",
"count" : "0x0"
},
{ "id":"LLT_12",
"description": "CRT upstream XY layers AND-d",
"enable":true,
"mask" : "0x3",
"type" : "0x2",
"count" : "0x2"
},
{ "id":"LLT_13",
"description": "CRT downstream XY layers AND-d",
"enable":true,
"mask" : "0xC",
"type" : "0x2",
"count" : "0x2"
},
{ "id":"LLT_15",
"description": "Any upstream CRT Jura side",
"enable":false,
"mask" : "0x9",
"type" : "0x1",
"count" : "0x0"
},
{ "id":"LLT_16",
"description": "Any downstream CRT Jura side",
"enable":false,
"mask" : "0x6",
"type" : "0x1",
"count" : "0x0"
},
{ "id":"LLT_18",
"description": "Spare",
"enable":false,
"mask" : "0x0",
"type" : "0x1",
"count" : "0x0"
}
]
},
"beam":{
"channel_mask": "0x7",
"reshape_length" : 25,
"delays": [0,0,0],
"triggers": [
{ "id":"LLT_1",
"description": "Beam input 1",
"enable":false,
"mask" : "0x1"
},
{ "id":"LLT_2",
"description": "Beam input 2",
"enable":false,
"mask" : "0x2"
},
{ "id":"LLT_3",
"description": "Beam input 1 & 2",
"enable":false,
"mask" : "0x3"
},
{ "id":"LLT_4",
"description": "Beam input 3",
"enable":false,
"mask" : "0x4"
},
{ "id":"LLT_5",
"description": "Spare",
"enable":false,
"mask" : "0x5"
},
{ "id":"LLT_6",
"description": "Beam gate selection",
"enable":false,
"mask" : "0x6"
},
{ "id":"LLT_7",
"description": "Spare",
"enable":false,
"mask" : "0x7"
},
{ "id":"LLT_8",
"description": "Spare",
"enable":false,
"mask" : "0x0"
},
{ "id":"LLT_9",
"description": "Spare",
"enable":false,
"mask" : "0x0"
},
{ "id":"LLT_10",
"description": "Spare",
"enable":false,
"mask" : "0x0"
}
]
},
"mtcas":{
"mtca_thresh1": {
"hi": 2048,
"med": 2048,
"lo": 2048
},
"mtca_thresh2": {
"hi": 2048,
"med": 2048,
"lo": 2048
},
"channel_mask": "0x3F",
"reshape_length" : 50,
"delays": [0,0,0,0,0,0],
"triggers": [
]
},
"nevis":{
"reshape_trig_out_length" : 3
},
"nim":{
"channel_mask": "0x3F",
"reshape_length" : 50,
"delays": [0,0,0,0,0,0],
"triggers": [
]
}
}
}
}'