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 Finder/Fitter LUT Configuration

Modify these only if you really know what you are doing

The Finder and Fitter look up tables (LUTs) are generated using L1DctConfig/dumpZpdLut (L1DctConfigUtils/dumpZpdLut from release 17.0.0). The steps are:

  • If you don't have your own copy of L1DctConfig checked out and compiled, you can try ~bailey/dev/teststand/bin/Linux24RH72_i386_gcc2953/dumpZpdLut

  • Generate the LUT files using dumpZpdLut -x. (Try -h for more options.) This will create:

    • zpdFinder.xtc and zpdFinder.lut
    • zpdFitter.xtc and zpdFitter.lut

    (This will also create zpdDecisionModule.xtc and .lut for the Decision Module nSegs LUT.)
    The .xtc files contain the binary format which is used in the configuration (and eventually will be stored in the database). The .lut files are an ASCII format with the same information. These are used by configuration tests in the ZPD library.

  • Copy those files into /nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/zpd/

  • Edit /nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/zpdLutList.txt to include the XTC files to load.
Several things to note:
  • You shouldn't have to change these LUTs regularly, if ever. This should only be done by experts.
  • Changing the Finder/Fitter LUTs usually means that you have to resynthesize the firmware as well. Don't just change these for fun.
  • Two of the Finder LUTs are read-only in the firmware since changing them requires changing other pieces of the firmware as well. These are not output using dumpZpdLut -x. They are included when you use dumpZpdLut -v to generate VHDL header files for resynthesizing the firmware.