Operations

From GRETINA at ANL
Revision as of 22:19, July 26, 2013 by Tlauritsen (talk | contribs)
Jump to navigation Jump to search

to start the DAQ

  • We run the DAQ from "a1.gam" (for now)
ssh -X [email protected]
  • you may have to issue this command to get access to the proper fonts for the EPICS displays
 xset fp+ /usr/share/X11/fonts/75dpi
  • Go to the Gretina DAQ top level directory
gt
cd 11-1/gretClust/bin/linux-x86
  • Start the GRETINA DAQ MENU:
$PWD/godaq
[or just say (cd /global/devel/gretTop/11-1/gretClust/bin/linux-x86; $PWD/godaq)]
  • The MENU below should show up:
---------- MENU ----------
  VME    	     1
  Display	     2
  Run Control	     3
  Run ControlBGS    3b
  Soft IOC	     4
  Soft IOC2	     4b
  CAEN PS	     5
  Cluster           6
  Cluster Kill      8
  Mode 2	     9
  Mode 3	     10
  Mode 4	     11
  RESET daq InBeam  12
  RESET daq Gamma   12b
  StripTool	     13
  Calibrate	     14
  
  EXIT  	     E
  KILL ALL	     K

  • Info: Exiting the MENU does not exit the DAQ. One can return to the MENU anytime by typing $PWD/godaq
  • Start elements in this following order:
4, 4b, 2, 3, 6

verify "CA Connected" (CA: Channel Access) status in the RunControl panel

  • Press Button "cluster" in the GlobalControl panel to chose the correct data mode (mode 2: decomposed data, mode 3: raw data (traces))
Note: In the Gretina RunControl panel, 'new dir' makes the run starts at 0002, switching back to an existing directory makes the run start at the previous Run number + 2 
  • Press button "global control"
The upcoming panel is being used for setting global parameters for ALL chrystals (baseline, polarity, etc.)
    Raw delay: For internal mode data: 3.7 usec (for analyzing the traces)
    Raw len:  length of the trace in usec 
          don't go below 0.2 usec (corresponding to 20 short words, while the header is already 16 words long, so there are 4 words left for the trace itself)
          in decomposition mode: Use 2.0 usec (corresponding to 16 words for the header and 184 words for the trace)
  • Press button "TimeStamps" in the Gretina DAQ top level to check if the timestamps are still synchronized
imp sync: starts a train of imperative sync signals, by pressing the button again, the train stops
single pulse imp sync: One single imperative sync pulse

caput node0001_CS_Program1 sendRaw

caput node0001_CS_Program1 Decomp


to stop the DAQ

to shut down the DAQ

  • Type 8 in the MENU to kill the Cluster
  • Type K (Kill All) in the MENU to kill the rest

online sorting with GEBSort

[These instructions should be generalized]

Here is an example of running GEBSort on a1.gam on-line taking data from the GEB

1) Download and compile

 cd workdir (e.g., cd d6/gretina/devel/cur)
   svn co https://svn.anl.gov/repos/GEBSort .
 or
   wget http://www.phy.anl.gov/gretina/GEBSort/AAAtar.tgz
   tar -zxvf AAAtar.tgz
 rm curEPICS; ln -s /global/devel/base/R3.14.11 curEPICS
 export ROOTSYS=/home/users/tl/root/root-v5-34-00
 export PATH=$ROOTSYS/bin:$PATH
 export LD_LIBRARY_PATH=/home/users/tl/root/root-v5-34-00/lib/root
 make GEBSort

2) to run and take data, type

  ./GEBSort -input geb  10.0.1.100    100 0 100.0 RECREATE \
  -chat GEBSort.chat \
  -rootfile test.root &

3) to stop the on-line sort and write the root file out, type

 ./stop.sh

4) to display the data

 root-l
 compile GSUtils
 load root file
 display

FAQ