Project

General

Profile

Current TriggerTriggerBit Assignments » History » Version 4

« Previous - Version 4/19 (diff) - Next » - Current version
Andrew Norman, 07/30/2014 01:50 PM


Current Trigger and TriggerBit Assignments

These are current as of 29JULY2014

These are set in DAQDataFormats in the TriggerDefines.h and TriggerDefines.cpp files:

Trigger Name Code Identifier Bit Assigment Trigger Page
NULL TRIG_ID_NULL 0 0
NuMI Beam ($74) TRIG_ID_BEAM_NUMI 1 0
Booster Beam TRIG_ID_BEAM_BOONE 2 0
Software Periodic Pulser TRIG_ID_SOFT_CAL_PER 3 0
Software Random Pulser TRIG_ID_SOFT_CAL_RND 4 0
Software Manual Trigger TRIG_ID_SOFT_MANUAL 5 0
Accel. 1 Pulse Per Second TRIG_ID_BEAM_1PPS 6 0
Data Driven Triggers (DDTs)
TRIG_ID_DATA_SN         = 13,
TRIG_ID_DATA_ENERGY = 14,
TRIG_ID_DATA_CALMU = 15,
TRIG_ID_DATA_UPMU = 16,
TRIG_ID_DATA_NUMU = 17,
TRIG_ID_DATA_NUE = 18,
TRIG_ID_DATA_FASTMONO = 19,
TRIG_ID_DATA_SLOWMONO = 20,
TRIG_ID_DATA_FEBOVERFLOW= 21,
TRIG_ID_DATA_ACTIVITY_1 = 22,
TRIG_ID_DATA_ACTIVITY_2 = 23,
TRIG_ID_SOFT_MONTECARLO = 24,
TRIG_ID_SNEWS_TRIGGER   = 25,
TRIG_ID_SNEWS_BEAT_SLOW = 26,
TRIG_ID_SNEWS_BEAT_FAST = 27

    TRIG_BIT_NULL            =0x00,
    TRIG_BIT_BEAM_NUMI       =0x01,     // A NuMI beam trigger
    TRIG_BIT_BEAM_BOONE      =0x02,     // A Booster beam trigger
    TRIG_BIT_SOFT_CAL_PER    =0x04,     // A calibration periodic trigger
    TRIG_BIT_SOFT_CAL_RND    =0x08,     // A calibration random trigger
    TRIG_BIT_SOFT_MANUAL     =0x10,     // A manually issued trigger
    TRIG_BIT_BEAM_1PPS       =0x20,     // An accelerator 1 pulse/sec trigger
    TRIG_BIT_SOFT_MONTECARLO =0x800000, // A Montecarlo Trigger

    /***********************************************************************
     * Data Driver Triggers, one for each algorithm.                       *
     * There is also room in the "trigger mod" field in the trigger header *
     * to encode further info, eg, what version of the algorithm           *
     ***********************************************************************/
    TRIG_BIT_DATA_SN         =0x001000,     // a SN trigger
    TRIG_BIT_DATA_ENERGY     =0x002000,     // big-energy events (brehms, air showers)
    TRIG_BIT_DATA_CALMU      =0x004000,     // a calibration muon trigger
    TRIG_BIT_DATA_UPMU       =0x008000,     // upgoing muon trigger
    TRIG_BIT_DATA_NUMU       =0x010000,     // contained nu-induced muons
    TRIG_BIT_DATA_NUE        =0x020000,     // electron showers
    TRIG_BIT_DATA_FASTMONO   =0x040000,     // fast monopoles
    TRIG_BIT_DATA_SLOWMONO   =0x080000,     // slow monopoles
    TRIG_BIT_DATA_FEBOVERFLOW=0x100000,     // FEB Overflow error trigger
    TRIG_BIT_DATA_ACTIVITY_1 =0x200000,     // Activity Trigger Variant 1 (Near Det)
    TRIG_BIT_DATA_ACTIVITY_2 =0x400000,     // Activity Trigger Variant 2 (Near Det)

    // #warning "SNEWS Trigger uses mid word" 
    TRIG_BIT_SNEWS_TRIGGER   =0x00000001,   // SNEWS Trigger, mid word
    TRIG_BIT_SNEWS_BEAT_SLOW =0x00000002,   // SNEWS Heart Beat Slow, mid word
    TRIG_BIT_SNEWS_BEAT_FAST =0x00000004    // SNEWS Heart Beat Fast, mid word
    "NuMI Beam Spill Trigger",      // Bit 0
    "Booster Beam Spill Trigger",   // Bit 1
    "Periodic Calibration Pulser",  // Bit 2
    "Random Calibration Pulser",    // Bit 3
    "Manually Issued Trigger",      // Bit 4
    "Accelerator PPS Trigger",      // Bit 5
    "DDTest",                           // Bit 6
    "Not Defined",                      // Bit 7
    "Not Defined",                      // Bit 8
    "Not Defined",                      // Bit 9
    "Not Defined",                      // Bit 10
    "Not Defined",                      // Bit 11
    "Data Driven Supernova",            // Bit 12
    "Data Driven Energy",               // Bit 13
    "Data Driven Calibration Muon",     // Bit 14
    "Data Driven Upmu",                 // Bit 15
    "Data Driven Numu",                 // Bit 16
    "Data Driven Nue",                  // Bit 17
    "Data Driven Fast Monopole",        // Bit 18
    "Data Driven Slow Monople",         // Bit 19
    "Data Driven FEB Overflow",         // Bit 20
    "Data Driven Activity 1 (NearDet)", // Bit 21
    "Data Driven Activity 2 (NearDet)", // Bit 22
    "Monte Carlo/Simulation Trigger",   // Bit 23
    "SNEWS Trigger",                    // Bit 24
    "SNEWS Beat Slow",                  // Bit 25
    "SNEWS Beat Fast",                  // Bit 26