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 Decision Module LUT and Cut Configuration

Decision Module Cuts

  • Create a text file with the cuts you want to use. The format is:
    # Decision Module Cuts
    # pT in GeV, z0 in cm
    
    # Cuts for each decision bit and seedtype (0=A10, 1=A7)
    #  bit seed minPt  minDip maxDip minZ0 maxZ0 maxZ0err maxMiss
    cut  0  0   0.800  -4.0   4.0    -128  127    15       1
    cut  0  1   0.800  -4.0   4.0    -128  127    15       1
    cut  1  0   0.200  -2.0   3.0     -15   15    15       1
    cut  1  1   0.200  -2.0   3.0     -15   15    15       1
    cut  2  0   0.200  -2.0   3.0     -10   10    15       1
    cut  2  1   0.200  -2.0   3.0     -10   10    15       1
    cut  3  0   0.300  -2.0   3.0      -6    6    15       1
    cut  3  1   0.300  -2.0   3.0      -6    6    15       1
    cut  4  0   0.250  -3.0   3.0     -10   10    15       1
    cut  4  1   0.250  -3.0   3.0     -10   10    15       1
    cut  5  0   0.250  -3.0   3.0     -10   10    15       1
    cut  5  1   0.250  -3.0   3.0     -10   10    15       1
    cut  6  0   0.250  -3.0   3.0     -10   10    15       1
    cut  6  1   0.250  -3.0   3.0     -10   10    15       1
    cut  7  0   0.250  -3.0   3.0     -10   10    15       1
    cut  7  1   0.250  -3.0   3.0     -10   10    15       1
    
    # Mask bits: should cut include A10/A7 and/or sec0/sec1 ?
    #    bit A10  A7 sec0 sec1
    mask  0   1   1   1   1
    mask  1   1   1   1   1
    mask  2   1   1   1   1
    mask  3   1   1   1   1
    mask  4   1   0   1   1
    mask  5   0   1   1   1
    mask  6   1   1   1   0
    mask  7   1   1   0   1
    
    The cuts and masks can be in any order. If any cut or mask is missing, that cut will not be used.

  • Run L1DctConfig/dumpZpdCuts <inFile> <outFile>
    e.g.
    • cd ~bailey/dev/teststand
    • srtpath
    • dumpZpdCuts cuts.txt zpdCuts.xtc
    Use an outFile extention of .lut to create a text format file instead of the binary XTC file.

  • Copy the XTC file to /nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/zpd
    (Eventually this will go in a database instead)

  • Edit /nfs/bbr-srv02/dataflow/7F/06/app/DczConfig/zpdLutList.txt to include the cuts file you want to load.

Decision Module nSegs LUT

There is also a LUT which maps a track's curvature and tanλ into the number of segments possible for that track. This LUT (zpdDecisionModule.xtc) is used when making the maxMiss cut. It is generated with the Finder/Fitter LUTs when running dumpZpdLut -x. See the instructions for Finder/Fitter LUTs.