Operations: Difference between revisions

From GRETINA at ANL
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
==to start the DAQ==
==to start the DAQ==


* The DAQ is running on machine "A1" (for now)


* gt
* Go to the Gretina DAQ top level directory
gt
cd 11-1/gretClust/bin/linux-x86


* cd 11-1/gretClust/bin/linux-x86
* Start the GRETINA DAQ MENU:
$PWD/godaq


* $PWD/godaq
* The MENU shows up:


* The MENU shows up:
  ---------- MENU ----------
  ---------- MENU ----------
   VME        1
   VME        1
Line 64: Line 67:


==to stop the DAQ==
==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==
==online sorting with GEBSort==

Revision as of 17:18, July 26, 2013

to start the DAQ

  • The DAQ is running on machine "A1" (for now)
ssh -X [email protected]
  • Go to the Gretina DAQ top level directory
gt
cd 11-1/gretClust/bin/linux-x86
  • Start the GRETINA DAQ MENU:
$PWD/godaq
  • The MENU shows 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

  • Start elements in the following order:
4, 4b, 2, 3

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 
  • Start the Cluster by typing "6" in the MENU

check cluster

  • 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/gs_analysis .
 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