Project

General

Profile

Current TriggerTriggerBit Assignments » History » Version 3

Andrew Norman, 07/30/2014 01:50 PM

1 1 Andrew Norman
h1. Current Trigger and TriggerBit Assignments
2 1 Andrew Norman
3 1 Andrew Norman
These are current as of 29JULY2014
4 1 Andrew Norman
5 1 Andrew Norman
These are set in DAQDataFormats in the TriggerDefines.h and TriggerDefines.cpp files:
6 3 Andrew Norman
7 3 Andrew Norman
|_. Trigger Name            |_. Code Identifier     |_. Bit Assigment |_. Trigger Page |
8 3 Andrew Norman
| NULL                      | TRIG_ID_NULL         | 0 | 0 |
9 3 Andrew Norman
| NuMI Beam ($74)           | TRIG_ID_BEAM_NUMI    | 1 | 0 |
10 3 Andrew Norman
| Booster Beam              | TRIG_ID_BEAM_BOONE   | 2 | 0 |
11 3 Andrew Norman
| Software Periodic Pulser  | TRIG_ID_SOFT_CAL_PER | 3 | 0 |
12 3 Andrew Norman
| Software Random Pulser    | TRIG_ID_SOFT_CAL_RND | 4 | 0 |
13 3 Andrew Norman
| Software Manual Trigger   | TRIG_ID_SOFT_MANUAL  | 5 | 0 |
14 3 Andrew Norman
| Accel. 1 Pulse Per Second | TRIG_ID_BEAM_1PPS    | 6 | 0 |
15 3 Andrew Norman
|                           |                      |   |   |
16 3 Andrew Norman
|_. Data Driven Triggers (DDTs) |
17 2 Andrew Norman
    TRIG_ID_DATA_SN         = 13,
18 2 Andrew Norman
    TRIG_ID_DATA_ENERGY     = 14,
19 2 Andrew Norman
    TRIG_ID_DATA_CALMU      = 15,
20 2 Andrew Norman
    TRIG_ID_DATA_UPMU       = 16, 
21 2 Andrew Norman
    TRIG_ID_DATA_NUMU       = 17,
22 2 Andrew Norman
    TRIG_ID_DATA_NUE        = 18,
23 2 Andrew Norman
    TRIG_ID_DATA_FASTMONO   = 19,
24 2 Andrew Norman
    TRIG_ID_DATA_SLOWMONO   = 20,
25 1 Andrew Norman
26 2 Andrew Norman
    TRIG_ID_DATA_FEBOVERFLOW= 21,
27 2 Andrew Norman
    TRIG_ID_DATA_ACTIVITY_1 = 22,
28 2 Andrew Norman
    TRIG_ID_DATA_ACTIVITY_2 = 23,
29 2 Andrew Norman
30 2 Andrew Norman
    TRIG_ID_SOFT_MONTECARLO = 24,
31 2 Andrew Norman
32 2 Andrew Norman
    TRIG_ID_SNEWS_TRIGGER   = 25,
33 2 Andrew Norman
    TRIG_ID_SNEWS_BEAT_SLOW = 26,
34 2 Andrew Norman
    TRIG_ID_SNEWS_BEAT_FAST = 27
35 2 Andrew Norman
</pre>
36 1 Andrew Norman
<pre>
37 1 Andrew Norman
    TRIG_BIT_NULL            =0x00,
38 1 Andrew Norman
    TRIG_BIT_BEAM_NUMI       =0x01,     // A NuMI beam trigger
39 1 Andrew Norman
    TRIG_BIT_BEAM_BOONE      =0x02,     // A Booster beam trigger
40 1 Andrew Norman
    TRIG_BIT_SOFT_CAL_PER    =0x04,     // A calibration periodic trigger
41 1 Andrew Norman
    TRIG_BIT_SOFT_CAL_RND    =0x08,     // A calibration random trigger
42 1 Andrew Norman
    TRIG_BIT_SOFT_MANUAL     =0x10,     // A manually issued trigger
43 1 Andrew Norman
    TRIG_BIT_BEAM_1PPS       =0x20,     // An accelerator 1 pulse/sec trigger
44 1 Andrew Norman
    TRIG_BIT_SOFT_MONTECARLO =0x800000, // A Montecarlo Trigger
45 1 Andrew Norman
46 1 Andrew Norman
    /***********************************************************************
47 1 Andrew Norman
     * Data Driver Triggers, one for each algorithm.                       *
48 1 Andrew Norman
     * There is also room in the "trigger mod" field in the trigger header *
49 1 Andrew Norman
     * to encode further info, eg, what version of the algorithm           *
50 1 Andrew Norman
     ***********************************************************************/
51 1 Andrew Norman
    TRIG_BIT_DATA_SN         =0x001000,     // a SN trigger
52 1 Andrew Norman
    TRIG_BIT_DATA_ENERGY     =0x002000,     // big-energy events (brehms, air showers)
53 1 Andrew Norman
    TRIG_BIT_DATA_CALMU      =0x004000,     // a calibration muon trigger
54 1 Andrew Norman
    TRIG_BIT_DATA_UPMU       =0x008000,     // upgoing muon trigger
55 1 Andrew Norman
    TRIG_BIT_DATA_NUMU       =0x010000,     // contained nu-induced muons
56 1 Andrew Norman
    TRIG_BIT_DATA_NUE        =0x020000,     // electron showers
57 1 Andrew Norman
    TRIG_BIT_DATA_FASTMONO   =0x040000,     // fast monopoles
58 1 Andrew Norman
    TRIG_BIT_DATA_SLOWMONO   =0x080000,     // slow monopoles
59 1 Andrew Norman
    TRIG_BIT_DATA_FEBOVERFLOW=0x100000,     // FEB Overflow error trigger
60 1 Andrew Norman
    TRIG_BIT_DATA_ACTIVITY_1 =0x200000,     // Activity Trigger Variant 1 (Near Det)
61 1 Andrew Norman
    TRIG_BIT_DATA_ACTIVITY_2 =0x400000,     // Activity Trigger Variant 2 (Near Det)
62 1 Andrew Norman
63 1 Andrew Norman
    // #warning "SNEWS Trigger uses mid word"
64 1 Andrew Norman
    TRIG_BIT_SNEWS_TRIGGER   =0x00000001,   // SNEWS Trigger, mid word
65 1 Andrew Norman
    TRIG_BIT_SNEWS_BEAT_SLOW =0x00000002,   // SNEWS Heart Beat Slow, mid word
66 1 Andrew Norman
    TRIG_BIT_SNEWS_BEAT_FAST =0x00000004    // SNEWS Heart Beat Fast, mid word
67 1 Andrew Norman
</pre>
68 1 Andrew Norman
69 1 Andrew Norman
<pre>
70 1 Andrew Norman
    "NuMI Beam Spill Trigger",      // Bit 0
71 1 Andrew Norman
    "Booster Beam Spill Trigger",   // Bit 1
72 1 Andrew Norman
    "Periodic Calibration Pulser",  // Bit 2
73 1 Andrew Norman
    "Random Calibration Pulser",    // Bit 3
74 1 Andrew Norman
    "Manually Issued Trigger",      // Bit 4
75 1 Andrew Norman
    "Accelerator PPS Trigger",      // Bit 5
76 1 Andrew Norman
    "DDTest",                           // Bit 6
77 1 Andrew Norman
    "Not Defined",                      // Bit 7
78 1 Andrew Norman
    "Not Defined",                      // Bit 8
79 1 Andrew Norman
    "Not Defined",                      // Bit 9
80 1 Andrew Norman
    "Not Defined",                      // Bit 10
81 1 Andrew Norman
    "Not Defined",                      // Bit 11
82 1 Andrew Norman
    "Data Driven Supernova",            // Bit 12
83 1 Andrew Norman
    "Data Driven Energy",               // Bit 13
84 1 Andrew Norman
    "Data Driven Calibration Muon",     // Bit 14
85 1 Andrew Norman
    "Data Driven Upmu",                 // Bit 15
86 1 Andrew Norman
    "Data Driven Numu",                 // Bit 16
87 1 Andrew Norman
    "Data Driven Nue",                  // Bit 17
88 1 Andrew Norman
    "Data Driven Fast Monopole",        // Bit 18
89 1 Andrew Norman
    "Data Driven Slow Monople",         // Bit 19
90 1 Andrew Norman
    "Data Driven FEB Overflow",         // Bit 20
91 1 Andrew Norman
    "Data Driven Activity 1 (NearDet)", // Bit 21
92 1 Andrew Norman
    "Data Driven Activity 2 (NearDet)", // Bit 22
93 1 Andrew Norman
    "Monte Carlo/Simulation Trigger",   // Bit 23
94 1 Andrew Norman
    "SNEWS Trigger",                    // Bit 24
95 1 Andrew Norman
    "SNEWS Beat Slow",                  // Bit 25
96 1 Andrew Norman
    "SNEWS Beat Fast",                  // Bit 26
97 1 Andrew Norman
</pre>