Privacy and Security Notice

Archived Messages for CLAS_TOF_1997@cebaf.gov: Status on pretrigger settings

Status on pretrigger settings

Elton Smith (elton@CEBAF.GOV)
Sat, 14 Jun 1997 14:17:26 -0400

------------- Begin Forwarded Message -------------

From gurjyan@cebaf.gov Fri Jun 13 10:45:43 1997
Resent-Date: Fri, 13 Jun 1997 10:45:43 -0400
Resent-From: gurjyan@cebaf.gov
Date: Fri, 13 Jun 1997 10:45:14 -0400 (EDT)
From: Giourdjian Vardan <gurjyan@cebaf.gov>
Subject: Status on pretrigger settings
Resent-to: CORDS@cebafb.cebaf.gov, elton@jlabs1.cebaf.gov
To: wolin@cebaf.gov, barrow@cebaf.gov, cords@cebaf.gov,
cole@apollo.phys.Virginia.EDU, elton@cebaf.gov
Resent-message-id: <01IK0RTKK7TG8ZN0XD@CEBAF.GOV>
X-VMS-To: IN%"wolin@CEBAF.GOV", IN%"barrow@CEBAF.GOV", IN%"cords@CEBAF.GOV",
IN%"cole@apollo.phys.Virginia.EDU", IN%"elton@CEBAF.GOV"
MIME-version: 1.0
Content-transfer-encoding: 7BIT

Dear colleagues,

Pretrigger setting programs are in
$CLONE_PARMS/pretrigger.
Two no-window programs premon and preset are controlling EC,
CC, and TOF CAMAC discriminators both for level1 and
channel discrimination. The output is a ASCII file of the format:
_________________________________________________________________
# this file contains info on crate, slot, mask, threshold, width
# created by vhg on 6/13 10:5:57
# blank lines and lines starting with # are ignored

*TIME*
866210757 # this is the unix time

*CC* channel discriminator data
4 1 ffff 50 100
*EC* channel discriminator data
6 1 0 20 50
6 2 0 20 50
------------------------------------
*TOF* channel discriminator data
0 1 0 0 0
0 2 0 0 0
------------------------------------
*EC* level1 trigger threshold data for EC

48 48 48 48 48 48
48 48 48 48 48 48
------------------------------------
*EC* level1 masks for the forward calorimeter
0 0 0 0 0 0
*CC* level1 thresholds for the cerenkov counter

-500 -500
*TOF* level1 thresholds for time of flight counter

100 100 100 100 100 100
100 100 100 100 100 100
100 100 100 100 100 100
*TOF* level1 widths for time of flight counter

99 99 99 99 99 99
99 99 99 99 99 99
_________________________________________________________________
For including TOF vpi discriminator information is used
tsl script running in dpsh. ex. $CLONE_PARMS/pretrigger/prt_mon.

Configuration files are in $CLONE_PARMS/pretrigger/conf.

Problems:
--------
EC channel discriminators:

crate7, 1-5 slots -> no Q response !
crate7, 6-20 slots -> Q=1, but no reasonable data.

TOF channel discriminators:

crate0, crate1 -> for all slots Q=1, no reasonable data ( dec: -276984848)

CC channel threshold:
crate4, slot 1 -> impossible to set mask, always FFFF

CC level1 threshold ( DAC):
crate2, slot1 -> Q=1, no data.

Results are double checked with cnaf.

vpi board discr. control.
-----------------------
I modified the program from Marchand ( previously modified by Elliot).
Modified version is in $CLONE_PARMS/pretrigger/s/vpi_src
I separated setting and monitoring functions and created
functions for mask manipulation.

set_vpi_width (board,width)
set_vpi_thresh(board,thresh)
mon_vpi_width(board)
mon_vpi_thresh(board)
set_vpi_mask(board,mask)
mon_vpi_mask(board)

NEED TO BE LOADED AND CHECKED!

GUI
---
SUN version of the GUI is compiled but not yet checked.
The original HP version is available for EC and CC level1 thresholds
(on clas10 ~clasrun/tm).
Today I will add to HP_GUI TOF level1 discriminators.

Regards,

vhg

------------- End Forwarded Message -------------