Still a Draft. -------------------------------------------------------------------------------- Run II Hardware Trigger Framework Monitoring Program (TrigMon) 21-Jun-2000 The "DAQ Monitor" program available at DZero presents the following strengths. - regroup and monitor several (all) components of the DAQ system - graphical display using colors, buttons and menus - display client available on many platforms, and based on X-Window - single Monitoring Server getting monitoring data from TCC every ~5s with multiple X-Window Monitoring display clients We are starting to plan for a complementary monitoring tool to display monitoring data from TCC. The goals and strength are: - ASCII output with high density of information - simple ASCII output files can be served by a Web Server - single Monitoring Server getting monitoring data from TCC every ~60s with multiple Web Browser display clients at D0, or home institutions. - display all available low level information only meaning ful to the experts Below are target examples for 3 types of outputs from this TrigMon Program for Run II. A more detailed description follow. The general look of this Run II TrigMon program output is much inspired from the Run I TrigMon program output. Run I TrigMon had a complex user interface with menus to select display types, refreshing displays, scrollable regions, selectable integration period, etc. The Run II TrigMon implementation is expecdted to remain much coarser since the DAQ Monitor program already fills these user needs. -------------------------------------------------------------------------------- Global Trigger Framework 20-Jun-2000 15:45:34 Line #1 Line #2 L1 Accept = 12.30 kHz / 940794 Level 1 : Running Information : Fresh Line #3 L2 Accept = 1234.5 Hz / 12345 L2 Accept / L2 Reject = 10.01% / 89.99% Line #4 L1FW Paused = 0.00 % / 2203 Last FW Initialize = 12 h 56 mn 34 s Line #5 Luminosity Index = 12345 Last SCL Initialize = 1 h 6 mn 4 s Line #6 Outstanding L1 Decision(s) = 12 Integration Period = 12.3 s Line #7 Line #8 Spec| L1 | L2 Accept |And-Or|Globl|Measur|ExpGp|ExpGp| L3 | COOR|Exp Line #9 Trig|Accept| | Fired|Expos|Prescl|L1 Bz|L2 Bz|Disab|Disab|Grp Line #10 ---#|----Hz|----Hz|----%|-------|----Hz|----%|------|----%|----%|----%|----%|--# Line #11 0 | 0.00| 0.00| 0.0| 4| 0.00| 0.1| 1 | 0.0| 0.0| 0.0| 0 | 0 Line #12 1 | 23.45| 2.00| 0.0| 4| 23.45| 0.2| 4.99| 0 | 0 | 0.0| 0 | 0 Line #13 2 |234.78| 34.78| 0 | 94|234.78| 1.3|100.00|100.0|100.0| 0 | 0 | 1 Line #14 23 | 2.4k|214.41| 10.1| 794| 2.4k| 12.3| 1.0k|100 |100 | 0 | 0 | 1 Line #15 127 | 12.3k| 2.3k| 1.2| 40794| 12.3k|100. | 10.0k| 99.9| 99.9| 1.2| 0 | 3 Line #16 Col Column Column Column Column Column Column Colum Colum Colum Colum Colum Col #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 #13 -------------------------------------------------------------------------------- Level 1 And-Or Input Term 20-Jun-2000 15:45:34 Line #1 Line #2 L1 Accept = 12.30 kHz / 940794 Level 1 : Running Information : Fresh Line #3 L2 Accept = 1234.5 Hz / 12345 L2 Accept / L2 Reject = 10.01% / 89.99% Line #4 L1FW Paused = 0.00 % / 2203 Last FW Initialize = 12 h 56 mn 34 s Line #5 Luminosity Index = 12345 Last SCL Initialize = 1 h 6 mn 4 s Line #6 Outstanding L1 Decision(s) = 12 Integration Period = 12.3 s Line #7 Line #8 | A-O|And-Or|Sync| | A-O|And-Or|Sync| | A-O|And-Or|Sync| | A-O|And-Or|Sync| Line #9 |Term| Fired| Err| |Term| Fired| Err| |Term| Fired| Err| |Term| Fired| Err| Line #10 |---#|----Hz|----| |----|----Hz|----| |----|----Hz|----| |----|----Hz|----| Line #11 | 0| 0.00| 0| | 64| 0.00| 0| | 128| 0.00| 0| | 192| 0.00| 0| Line #12 |# 1| 23.45| 1| |# 65| 23.45| 1| | 129| 23.45| 1| | 193| 23.45| 1| Line #13 | 2|234.78| 12| |# 66|234.78| 12| | 130|234.78| 12| | 194|234.78| 12| Line #14 | 3| 2.4k| 123| |# 67| 2.4k| 123| | 131| 2.4k| 123| | 195| 2.4k| 123| Line #15 | 4| 12.3k|1234| |# 68| 12.3k|1234| | 132| 12.3k|1234| | 196| 12.3k|1234| Line #16 | 5| 0.00| 0| |# 69| 0.00| 0| | 133| 0.00| 0| | 197| 0.00| 0| | 6| 23.45| 1| | 70| 23.45| 1| | 134| 23.45| 1| | 198| 23.45| 1| | 7|234.78| 12| | 71|234.78| 12| | 135|234.78| 12| | 199|234.78| 12| | 8| 2.4k| 123| | 72| 2.4k| 123| | 136| 2.4k| 123| | 200| 2.4k| 123| |# 9| 12.3k|1234| | 73| 12.3k|1234| | 137| 12.3k|1234| | 201| 12.3k|1234| | 10| 0.00| 0| | 74| 0.00| 0| | 138| 0.00| 0| | 202| 0.00| 0| | 11| 23.45| 0| | 75| 23.45| 0| | 139| 23.45| 0| | 203| 23.45| 0| | 12|234.78| 1| | 76|234.78| 1| | 140|234.78| 1| | 204|234.78| 1| | 13| 2.4k| 12| | 77| 2.4k| 12| | 141| 2.4k| 12| | 205| 2.4k| 12| | 14| 12.3k| 123| | 78| 12.3k| 123| | 142| 12.3k| 123| | 206| 12.3k| 123| | 15| 0.00|1234| | 79| 0.00|1234| | 143| 0.00|1234| | 207| 0.00|1234| | 16| 23.45| 0| | 80| 23.45| 0| | 144| 23.45| 0| | 208| 23.45| 0| | 17|234.78| 1| | 81|234.78| 1| | 145|234.78| 1| | 209|234.78| 1| | 18| 2.4k| 12| | 82| 2.4k| 12| | 146| 2.4k| 12| | 210| 2.4k| 12| | 19| 12.3k| 123| | 83| 12.3k| 123| | 147| 12.3k| 123| | 211| 12.3k| 123| | 20| 0.00|1234| | 84| 0.00|1234| | 148| 0.00|1234| | 212| 0.00|1234| | 21| 23.45| 0| | 85| 23.45| 0| | 149| 23.45| 0| | 213| 23.45| 0| | 22|234.78| 0| | 86|234.78| 0| | 150|234.78| 0| | 214|234.78| 0| | 23| 2.4k| 1| | 87| 2.4k| 1| | 151| 2.4k| 1| | 215| 2.4k| 1| | 24| 12.3k| 12| | 88| 12.3k| 12| | 152| 12.3k| 12| | 216| 12.3k| 12| | 25| 0.00| 123| | 89| 0.00| 123| | 153| 0.00| 123| | 217| 0.00| 123| | 26| 23.45|1234| | 90| 23.45|1234| | 154| 23.45|1234| | 218| 23.45|1234| | 27|234.78| 0| | 91|234.78| 0| | 155|234.78| 0| | 219|234.78| 0| | 28| 2.4k| 1| | 92| 2.4k| 1| | 156| 2.4k| 1| | 220| 2.4k| 1| | 29| 12.3k| 12| | 93| 12.3k| 12| | 157| 12.3k| 12| | 221| 12.3k| 12| | 30| 0.00| 123| | 94| 0.00| 123| | 158| 0.00| 123| | 222| 0.00| 123| | 31| 23.45|1234| | 95| 23.45|1234| | 159| 23.45|1234| | 223| 23.45|1234| | 32|234.78| 0| | 96|234.78| 0| | 160|234.78| 0| | 224|234.78| 0| | 33| 2.4k| 0| | 97| 2.4k| 0| | 161| 2.4k| 0| | 225| 2.4k| 0| | 34| 12.3k| 1| | 98| 12.3k| 1| | 162| 12.3k| 1| | 226| 12.3k| 1| | 35| 0.00| 12| | 99| 0.00| 12| | 163| 0.00| 12| | 227| 0.00| 12| | 36| 23.45| 123| | 100| 23.45| 123| | 164| 23.45| 123| | 228| 23.45| 123| | 37|234.78|1234| | 101|234.78|1234| | 165|234.78|1234| | 229|234.78|1234| | 38| 2.4k| 0| | 102| 2.4k| 0| | 166| 2.4k| 0| | 230| 2.4k| 0| | 39| 12.3k| 1| | 103| 12.3k| 1| | 167| 12.3k| 1| | 231| 12.3k| 1| | 40| 0.00| 12| | 104| 0.00| 12| | 168| 0.00| 12| | 232| 0.00| 12| | 41| 23.45| 123| | 105| 23.45| 123| | 169| 23.45| 123| | 233| 23.45| 123| | 42|234.78|1234| | 106|234.78|1234| | 170|234.78|1234| | 234|234.78|1234| | 43| 2.4k| 0| | 107| 2.4k| 0| | 171| 2.4k| 0| | 235| 2.4k| 0| | 44| 12.3k| 0| | 108| 12.3k| 0| | 172| 12.3k| 0| | 236| 12.3k| 0| | 45| 0.00| 1| | 109| 0.00| 1| | 173| 0.00| 1| | 237| 0.00| 1| | 46| 23.45| 12| | 110| 23.45| 12| | 174| 23.45| 12| | 238| 23.45| 12| | 47|234.78| 123| | 111|234.78| 123| | 175|234.78| 123| | 239|234.78| 123| | 48| 2.4k|1234| | 112| 2.4k|1234| | 176| 2.4k|1234| | 240| 2.4k|1234| | 49| 0.00| 0| | 113| 0.00| 0| | 177| 0.00| 0| | 241| 0.00| 0| | 50| 23.45| 1| | 114| 23.45| 1| | 178| 23.45| 1| | 242| 23.45| 1| | 51|234.78| 0| | 115|234.78| 0| | 179|234.78| 0| | 243|234.78| 0| | 52| 2.4k| 1| | 116| 2.4k| 1| | 180| 2.4k| 1| | 244| 2.4k| 1| | 53| 12.3k| 0| | 117| 12.3k| 0| | 181| 12.3k| 0| | 245| 12.3k| 0| | 54| 0.00| 1| | 118| 0.00| 1| | 182| 0.00| 1| | 246| 0.00| 1| | 55| 23.45| 12| |#119| 23.45| 12| | 183| 23.45| 12| | 247| 23.45| 12| | 56|234.78| 123| | 120|234.78| 123| | 184|234.78| 123| | 248|234.78| 123| | 57| 2.4k|1234| |#121| 2.4k|1234| | 185| 2.4k|1234| | 249| 2.4k|1234| | 58| 12.3k| 0| | 122| 12.3k| 0| | 186| 12.3k| 0| | 250| 12.3k| 0| | 59| 0.00| 1| |#123| 0.00| 1| | 187| 0.00| 1| | 251| 0.00| 1| | 60| 23.45| 12| | 124| 23.45| 12| | 188| 23.45| 12| | 252| 23.45| 12| | 61|234.78| 123| |#125|234.78| 123| | 189|234.78| 123| | 253|234.78| 123| | 62| 2.4k|1234| | 126| 2.4k|1234| | 190| 2.4k|1234| | 254| 2.4k|1234| |# 63| 12.3k| 0| |#127| 12.3k| 0| | 191| 12.3k| 0| | 255| 12.3k| 0| -------------------------------------------------------------------------------- Geographic Sections 20-Jun-2000 15:45:34 Line #1 Line #2 L1 Accept = 12.30 kHz / 940794 Level 1 State: Running Line #3 L2 Accept = 1234.5 Hz / 12345 L2 Accept / L2 Reject = 10.01% / 89.99% Line #4 L1FW Paused = 0.00 % / 2203 Last FW Initialize = 12 h 56 mn 34 s Line #5 Luminosity Index = 12345 Last SCL Initialize = 1 h 6 mn 4 s Line #6 Outstanding L1 Decision(s) = 12 Integration Period = 12.3 s Line #7 Line #8 Geo| L1 | L2 Busy | L1 Accept | L2 Accept | L2 | L1| L2|SCL Line #9 Sct| Busy| Raw |Delay|Cycle| | |Rejct|Err|Err|Ini Line #10 --#|----%|----%|----%|-----|----Hz|-------|----Hz|----%|------|----%|---|---|--- Line #11 0| 0.0| 0.0| 0.0| 0| 0.00| 4| 0.00| 0.0| 4| 89.9| 0| 0| ok Line #12 1| 0.1| 0.1| 0.1| 10| 0.00| 4| 0.00| 0.0| 4| 0.1| 10| 10| ok Line #13 2| 11.2| 1.2| 1.1| 123| 0 | 94| 0 | 0 | 94| 0.0|123|123| ok Line #14 62|100.0| 0 | 0 | 1234| 1.2k| 794|120.22| 10.1| 794| 0 | 0| 0| ok Line #15 63|100 |100 | 0 |12346| 12.3k| 40794| 1.3k| 1.2| 40794|100 | 0| 0| ok Line #16 -------------------------------------------------------------------------------- General ------- All Displays are made of a list of formatted 80 character lines. All Displays start with a common header section on lines #1-8 The "Line" and "Column" tags are not part of the display, but used here as reference points. Line #1: Leftmost: Display Title Righmost: Date and Time of the last snapshot of information used in the Display. Formatted VMS-style "DD-MMM-YYYY HH:MM:SS" Line #2: Blank Line #3: Left Column: "L1 Accept" is the Global L1 Trigger Accept Count presented as a rate over the integration period, and as a raw count. Right Column: "Level 1 State" Running/Paused/Off is the state of the Level 1 Framework. "Paused" shows that COOR currently has the Framework in a Paused state. "Off" shows that the Framework is powered off or otherwise not available for data taking. Line #4: Left Column: "L2 Accept" is the Global L2 Trigger Accept Count presented as a rate over the integration period, and as a raw count. Right Column: "L2 Accept / L2 Reject" shows the L2 Global trigger Accept and Reject as percentages. Line #5: Left Column: "L1FW Paused" is the L1 Framework Paused Count (in units of 132ns Beam Crossings) presented as a percentage over the integration period, and as a raw count. Right Column: "Last FW Initialized" shows the time since the Trigger Framework has last been initialized by COOR. Line #6: Left Column: "Luminosity Index" is the TCC assigned Luminosity Index currently stamped in the raw data. Right Column: "Last SCL Initialized" shows the time since the Trigger Framework has last issued an SCL Initialize either after an explicit request, or following a Geographic Section Error. Line #7: Left Column: "Outstanding L1 Decision(s)" is the current number of Level 1 Accepts awaiting their corresponding Level 2 Decision. This number varies from 0 to 16 as this is the maximum number of L1 Buffers available on some Front-End systems. Right Column: "Integration Period" shows the time between the two Monitoring Snapshots used to compute the rates and percentages in the display Line #8: Blank Global Trigger Framework ------------------------ Lines #9-11: These are the labels for the columns below. Lines #12-end: There is one line per Specific Trigger currently allocated. Specific Triggers not flagged as allocated are ignored, as there is no useful information to display if the Spec Trig is not programmed. Column #1: "Spec Trig" is the Specific Trigger Number which is a number beween 0 and 127. Column #2: "L1 Accept" is the Specific Trigger L1 Accept Count presented as a rate over the integration period. Column #3-5: "L2 Accept" is the Specific Trigger L2 Accept Count presented as a rate over the integration period, as a percentage over the integration period, and as a raw count. Column #6: "And-Or Fired" is the Specific Trigger L1 And-Or Fired Count presented as a rate over the integration period. Column #7: "Globl Expos" is the Specific Trigger Global Exposition Count presented as a percentage over the integration period. This count represents the number of beam crossings the Specfic Trigger was allowed to fire with all sources of Disable taken into account. The only requirement left to make this Specific Trigger fire is that its And-Or requirements were met. Column #8: "Measur Prescl" is the effective prescaled ratio computed by comparing the Specific Trigger Prescaler Disable Count to the number of Beam Crossings elapsed. Column #9: "ExpGp L1 Bz" is the Exposure Group L1 Busy Disable Specific Trigger Count (a.k.a. Front-End Disable) presented as a percentage over the integration period. Exposure Group L1 Busy Disable is the OR of the L1 Busy Signals from all Geographic Section included in the Exposure Group this Specific Trigger belongs to. Column #10: "ExpGp L2 Bz" is the Exposure Group L2 Busy Disable Specific Trigger Count presented as a percentage over the integration period. Exposure Group L2 Busy Disable is the OR of the L1 Busy Signals from all Geographic Section included in the Exposure Group this Specific Trigger belongs to. A L2 Busy Signal from any of the Geographic Sections that would receive a L2 Accept at the conclusion of a L2 Framework decision cycle will result in the L2 decision being held off until the corresponding L2 Busy signal(s) is (are) negated again. Column #11: "L3 Disab" is the L3 Disable Individual Specific Trigger Count presented as a percentage over the integration period. Column #12: "COOR Disab" is the COOR Disable Individual Specific Trigger Count presented as a percentage over the integration period. COOR can enable or disable any subset of Specific Triggers after they have been programmed. Column #13: "Exp Grp" is the ID of the Exposure Group this Specific Trigger belongs to, numbered from 0 to 7.