Using RECMON

The following procedure describes how to get started using the RECMON package that is an adaptation of RECSIS to the online environment. It enables the user to perform track reconstruction on a downscaled fraction of the incoming data. Commands are listed in dark print with variables italicized. More information is available about RECSIS at http://www.cebaf.gov/clas/recsis/recsis.html. Address questions, complaints, and such to gilfoyle@cebaf.gov.

  1. Log onto the clasrun account on one of the counting house Suns(clon00-clon03).

  2. Go to the RECMON subdirectory by using

    cd recmon

  3. Allocate a fifo (first-in, first-out space in memory) with

    setenv DD_NAME MY_FIFO Limit the fifo name to 4-5 characters. Several other environment variable have to be defined (here comes the kluges). They are listed below.

    setenv RECSIS /net/fs1/site/clas/u1/clsrc/recsis
    setenv RECSIS_RUNTIME /net/fs1/site/clas/u1/clsrc/recsis/runtime
    setenv CLAS_PARMS /apps/clas/u1/cmobj/parms

    The last command is particularly subversive because you are changing the CLAS_PARMS variable from the online area to the offline area. This unhealthy state of affairs is driven by the need to feed RECMON the proper calibration files and me not having time/energy/interest to figure out all the individual files that all the packages in RECMON need.

  4. Now run RECMON with

    recmon -t dcinit.tcl The input file dcinit.tcl contains the parameters that control RECMON. Please view this file before you start. It is liberally commented so that the user can control the program execution. In particular, notice the tcl variable read_dd_ring determines if the program reads an input file or reads data from the DD ring. By default read_dd_ring=0 so data is NOT read from the DD ring.

  5. To view the online histograms start PAW at the RECSIS prompt and a new xterm window will open with PAW running in it.

  6. Due to bugs in PAW Several commands due not work properly like hi/list and ldir. To see the histograms go to the DCMON subdirectory with the command

    cd dcmon

    and then use

    hist/plot id The histogram id's are defined as follows for now (2/19/97, 16:00).

    1100 All TDC's
    1201 Fitted DOCA for Region 1 from HBT
    1202 Fitted DOCA for Region 2 from HBT
    1203 Fitted DOCA for Region 3 from HBT
    1301 Hits per Track for Region 1
    1302 Hits per Track for Region 2
    1303 Hits per Track for Region 3




    Tue Apr 29 17:43:09 EDT 1997