SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Det. Search
Who's who?
Meetings
FAQ
Images
Archive
Systems
Performance
Intern. region
Vertex Tracker
Drift chamber
DIRC
Calorimeter
IFR
LST
Magnet
Electronics
Trigger
Operations
Run Coordination
Contact Experts
Shift Takers Info
Operations Manual
Electronic Logbook
Ops Hypernews
Shift Signup
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

ZPD Diagnostic Memory Formats

[Input and Megabus Segments]   [Finder Results]   [Fitter Results]   [Decision Output]  

Input and Megabus Segments

Input segments: block 0x1
Megabus segments: blocks 0x2, 0x8, 0x20, 0x80, 0x200, 0x800
Addresses 0x4000 - 0x7f9f; identical format for each block.
Each tick starts at address 0x4000 + tick*0x100

Although the memory is 16 bits wide, only the lowest 14 bits are sent across the MegaBus.

For details of which segments are at which addresses in memory and the segment format, see the segment mapping documentation (don't be too overwhelmed by all the colors...)

Finder Results

Blocks 0x2, 0x8, 0x20, 0x80, 0x200, 0x800
Addr = 0x1000 + 0x20*tick + 0x10*seedNum(0 or 1)
Each Finder covers 2 sectors: seednum 0 is for the even sector; seednum 1 is for the odd sector. N.B.: seednum is different from the seedtype (A10 or A7).

  • hitmask[9:0] gives which superlayers have segments on this track. hitmask[0] is for SL1 up to hitmask[9] for SL10.
  • dipbin[5:0] and rhobin[5:0] give the track parameters in the Finder Pattern Recognition Matrix binning.
    (Explanation of the PRM binning)
  • segphi[9:0] is the signed difference φseg - φseed in fine phi units of the seed superlayer (32 fine phi bins per drift chamber cell).

Fitter Results

Fitter blocks 0x4, 0x10, 0x40, 0x100, 0x400, 0x1000
Addr = 0x4000 + 8*tick + 4*seedNum(0 or 1)
Each Fitter covers 2 sectors: seednum 0 is for the even sector; seednum 1 is for the odd sector. N.B.: seednum is different from the seedtype (A10 or A7).

The Decision Module Fitter Results have an identical format. Addresses 0x4000-0x41FF cover Fitter 0, addresses 0x4200-0x431F cover Fitter 1, etc.

Although the memory is 16 bits wide, only the lowest 12 bits are sent from the Fitters to the Decision Module.

  • The hitmask[9:0] is the same as for the Finder tracks, except that it is cleared if the fit failed.
  • rho[7:0] is the signed curvature in units of 2-12/cm. Some conversions using C++ notation:
    R = double(rho)/(1<<12);  // Radius of curvature in cm
    pT = R*0.003*1.508;       // pT in GeV; 1.508 is Bfield in Tesla;
                              // 0.003 is speed of light (2.998e-3..)
    
  • z0err[3:0] is a quality code of the track fit. 1 is best up to a failure of 15. This should never be 0.
  • z0[7:0] is the signed z0 of the track in cm.
  • dip[7:0] is the signed tanl of the track in units of 2-5, i.e.
    tanLambda = double(dip)/(1<<5);
    

Decision Output

Block 0x8000; address 0x3000 - 0x303f

Each address contains two clk8s of decision information. The lower byte is for the first clk8 and the upper byte is for the second clk8.