# Presentation: 679268

## wDSP Output Object Format

**Output data unit (segment) is an 8-vector of single bytes**

| Det_η |
| --- |
| Det_φ |
| L1-PT |
| deflection |
| Q-Mask |
| Sc.time A |
| Sc.time B |
| Sc.time C |

**A. Maciel**
** ****(N.I.U.)**
**Muon-L2**

| Det_η |
| --- |
| Det_φ |
| Hit-Mask |
| deflection |
| Q-Mask |
| Sc.time A |
| Sc.time B |
| Sc.time C |

**output for wDSP**
**processing**
** ****L1MU data**

** ****η-units are  LSB = 0.05 and range (-4,+4) = 0...159**
** ****φ-units are  LSB = 2.25° [i.e. ****octant/20] and range = 0...159**
** ****times: void or value A,B,C ; LSB = 1 ns , void = 0 (not**
**  ****applicable, out of bounds, absence of signal); bytes are  **
**  ****unsigned; signed data has zero value shifted by +128 (+0x80)**

**output for wDSP**
**processing**
** ****front end data**

**1****st**** integer**

**2****nd**** integer**

***last modified: Feb28, 2002***

## ...wDSP Output Object Format

**A. Maciel**
** ****(N.I.U.)**
**Muon-L2**

**Q-Mask:** consists of  three two-bit fields: (Fail=0 , L=1 , M=2 , T=3)

- L1

- A

- BC

**idle**

** ****L1-P****T**** : L1-threshold LSB = 0.25GeV , “void” = 0**

**“****Hit Mask”:**

**bits 0-1: DSP ID#**

**1**

**0**

**7**

**6**

**2**

**bits 2-6: # of drift tube hits**
**(0...31)**

**bit 7: 1 if any**
**scintillator hits**

***last modified: Feb28, 2002***

**deflection units are LSB = 1****° and range (-70°, +70°) = 0...139**
_**Central SLIC:**_** deflection is defined as the angle between the muon track and the *****y*****-axis (<0 for -1<****η****<0 – North and > 0 for **
**0<****η****<1 – South (both A and BC stubs)**
_**Forward SLIC:**_** deflection is defined as the angle between the muon track and the z-axis (A stubs have >0, BC stubs have <0 if muon is moving towards *****z*****-axis, >0 if moving away from *****z*****-axis – same for North or South) **
**void: 255 (+185°)**

## ...wDSP Output Object Format

**Phys ****η :   - 4****	****-2****	****-1****	****0****	****1****	****2****	****4**

**bin**** #   :      0****	****39****	****59****	****79****	****99        119        159**

**MUON  RANGE**

**φ**** units are such as to match L2CTT****φ**

**LSBit = ****2.25°**** ****=**** ****Octant****/****20 ;  values = 0 ... 159**

**units are 0.25GeV – two bits for sign status**

|  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- |

- Pt value:  0 ... 15 GeV

**set bit if sign ****unknown**

**set bit if sign ****negative**

**...****wDSP Output Object Format**

**A. Maciel**
** ****(N.I.U.)**
**Muon-L2**

**Note: A-stubs have ****η**
**and deflection identical**

**L1 P****T ****Threshold**

** ****deflection units are**

**Phys**** :   - 70****	****-40****	****-20****	****0           20          40          69**

**bin #****:        0****	**** 29****	**** 49         70         90        110        139**

***last modified: Feb28, 2002***

## Alpha Output Object Format

-  **An 8-byte object -- from LSB to MSB;**

| η |
| --- |
| φ |
| Toroid PT  |
| L1-PT |
| Q-Mask |
| Sc.Time A |
| Sc.Time B |
| Sc.Time C |

**Q-Mask consists of  three two-bit fields: (Fail=0 , L=1 , M=2 , T=3)**

**A. Maciel**
** ****(N.I.U.)**
**Muon-L2**

- L1

- A

- BC

**idle**

**Times echoed from A & BC stubs if available, void otherwise**

**( Check following pages for  P****T**** ****η φ**** **** units and mask usage )**

**Toroid Pt calculated from**
**A + BC stub match**

**Note: L1-P****T**** **** is a copy from wDSP-output**

***last modified: Feb28, 2002***

## ...Alpha Output Object Format

|  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- |

**η ****units are such as to match L2Cal**

**Phys ****η :   - 4****	****-2****	****-1****	****0****	****1****	****2****	****4**

**L2    ****η :      0****	****39****	****59****	****79****	****99        119        159**

**MUON  RANGE**

**φ**** units are such as to match L2CTT****φ**

**LSBit = ****2.25°**** ****=**** ****Octant****/****20 ;  values = 0 ... 159**

**units are 0.25GeV – high bit is sign**

- Pt value:  0 ...31 GeV **(or higher)**

**set bit if sign is ****negative**

**...****Alpha Output Object Format**

**A. Maciel**
** ****(N.I.U.)**
**Muon-L2**

**Toroid P****T**

***last modified: Feb28, 2002***