CDet Individual Scintillating Bar Tests

From Hall A Wiki
Jump to: navigation, search

Test Purpose

The tests setup for the individual scintillating bars that comprise the six module of CDet are run in order to obtain data used to determine the quality and readiness of each individual scintillating bar. A cosmic ray test setup is used in order to obtain this data. The individual bars are placed in between two scintillating trigger fingers, upper and lower, with the entire setup placed in side of a light tight test box. The data from this trigger test system is then analysed to determine that scintillating bar's quality and readiness to be used in experimentation.

DAQ setup

  • All runs and data analysis is completed on computer wm122 under account adaq ( which uses the usual password).
  • Created script /home/adaq/coda_user_setup_bash to define CODA 2.6 variables. This script is sourced by .bash_profile .
    • Set EXPID=wmtest and SESSION=wmtest instead of previous eeltest.
  • The msql daemon must be running. Chcek by command ps -ef | grep -i msqld . It should return the process number for the msqld.
    • To start on adaq msql daemon type: msqld
  • The CODA database is wmtest.
    • The eeltest database is being used by yer122 so that name cannot be used.
    • The eeltest database was dumped to a file.
    • The dump file was editted to change eeltest to wmtest .
    • A database wmtest was created and then the dump file with wmtest edits was restored into the msql
    • The file /home/adaq/msql/readme explains these basic msql commands.
    • On June 28th, an msql dump of database wmtest was made called /home/adaq/msql/msql_dump-wmtest
  • To start up CODA ( right now do not use startcoda script) run this command in separate terminal windows
    • et_start -s 10000 ( note that if it gives error message try deleting files /tmp/et_*)
    • rcplatform
    • coda_eb_rc3 -i -n EB1 -t CDEB
    • coda_er_rc3 -i -n ER1 -t ER
    • the roc process is started when the CPU ( a1nccvme ) in the VME crate is booted.
    • rcgui
  • To start taking data from the rcgui interface
    • SESSION=wmtest and CONFIG=KAeel122 should be selected.
      • Note that if you update the CODA database, the COOLHANDS database needs to be updated.
    • From menu select Connect
    • Click on the Config button. EB1, ER1 and ROC1 should be configured.
    • Click on the Download button. EB1, ER1 and ROC1 should be downloaded.
    • Click on the "Start" button to do a Prestart and Go. One can also first click on the Prestart button and then the Go button.
  • Setup of VME cpu a1nccvme
    • The boot script is at /home/vx/gc_test_2.5.boot . Script initiates one 792 TDC and one 792 QDC.
    • ROC task spawned as ROC1
  • Setup of KAEEL112 configuration in wmtest database.
    • For the event list use /home/vx/bbite/2.5/examples/crl/event_list.o
    • For readout of the QDC and TDC, the crl code is at /home/vx/bbite/newele_test.crl.
      • TDC setup in common stop mode with bin width of 222.5ns and sparsification on.
      • QDC setup with sparsification off.

Hardware Setup

There are two "paths" of interest to follow; the signal from the WLS/bar, and the signal from the upper and lower scintillating trigger fingers. File:SetupTest.pdf

  • The trigger fingers are each hooked to a Philips XP2282/B PMT, while the WLS/bar is hooked to a Philips XP2262/B PMT. The trigger fingers share a common HV supply.
  • A model V792 ADC is used. Signals from each PMT pass into the ADC in the following channels:
    • Channel 1 -> Top trigger finger
    • Channel 2 -> WLS/bar
    • Channel 3 -> Bottom trigger finger

WLS Individual Scintillating Bar

The raw signal from the WLS/bar is fed into an amplifier (10x amplification). The amplified signal is then sent to an octal discriminator and to a delay box (200 ns delay) as two separate signals. The delayed signal is sent right to an ADC (wire 2, channel 1). The discriminated signal is sent to the level translator, translating NIM to ECL, which is sent to the TDC.

Trigger Fingers

Both signals are fed into a fan in/out. The signals are then sent to a delay box and to an octal discriminator as two separate paths. The delay box path (200 ns delay) goes right to the ADC. The discriminated signals go to a logic unit, which looks for coincidence between signals (the lower trigger signal is delayed 12 ns to control timing). When a coincidence is seen, the logic unit sends a signal to the ECL module. The ECL module then sends a signal to the MVME, which returns a level 1 accept to the ECL module. The level 1 accept is then translated to NIM and sent to a gate generator, which sends back a gate signal to the ECL module. The ECL module then translates this gate to an ECL signal, and sends a gate to the ADC and to the TDC (the TDC gate is delayed 100 ns).

Data Runs