HCAL DAQ Software Setup

From Hall A Wiki
Revision as of 23:31, 22 April 2022 by Moffit (Talk | contribs) (= mpv904)

Jump to: navigation, search
Network and ROC configuration
Location VME Hostname ROC Name VTP Hostname VTP ROC Name VTP 10G Hostname
Bottom intelsbshcal1 hcalROC16 hcalvtp1 tbd hcalvtp1-s1
Top intelsbshcal2 hcalROC17 hcalvtp2 tbd hcalvtp2-s1


login / ROC environment

The login environment (bash) for sbs-onl is shared for intelsbshcal1, intelsbshcal2. hcalvtp1, hcalvtp2.

Home directory

The home directory is linked to the hcal subdirectory of the sbs-onl home directory on adaqfs. That is:

/home/sbs-onl -> /adaqfs/home/sbs-onl/hcal

Environment

Below we show the main variables that are critical to run the DAQ. Others important ones will to be derived from these.

CODA = /adaqfs/home/sbs-onl/coda/3.10_devel
CODA_SCRIPTS = /home/sbs-onl/coda_scripts
LINUXVME = /home/sbs-onl/linuxvme
SESSION = hcal
EXPID = SBSDAQ
FADC250_PARAMS = ${HOME}/cfg

VME

Configuration for the VME modules, readout lists for the CODA ROC, and auxiliary libraries specific to the modules in these crates.

configuration files

Configuration files used by the DAQ (ROC, or other programs) are in here

${HOME}/cfg/

f1tdc

Configuration for the f1tdc modules in hcal2

f1tdc/hcal_f1tdc_3125.cfg

fadc250

Configuration for the fadc250 modules in hcal1 and hcal2 (with and without Trigger supervisor)

fadc250/hcal_ts.cnf
fadc250/hcal.cnf

mpv904

Configuration for the mpv904 DAC for threshold control

mpv904/mpv904_DAC_Voltage_Set_Values.txt

readout lists

Readout lists used for standalone (hcal1 + hcal2) or in trigger supervisor mode. There are located in

${HOME}/rol
hcal1_list.c
hcal2_list.c

They are built using the Makefile

make

Or forced build (like make clean;make, but shorter)

make -B

aux libraries/programs

Some libraries and programs specific to the HCAL DAQ are found in here

${HOME}/linuxvme/

f1tdc-v1

Library to support the configuration and readout of the JLAB V1 F1TDC module.

f1tdc-v1/

hcal

Library to set output levels on the TI output ports. I think this is used for an LED pulser?

hcal_pulser/

mpv904

Library to Configure and set DAC output levels to control detector thresholds.

mpv904/

VTP

login / ROC environment

readout lists

aux libraries