Operations: Difference between revisions
Tlauritsen (talk | contribs) |
Tlauritsen (talk | contribs) |
||
Line 133: | Line 133: | ||
svn co https://svn.anl.gov/repos/GEBSort . | svn co https://svn.anl.gov/repos/GEBSort . | ||
or | or | ||
wget http://www.phy. | wget http://www.phy.a 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 | |||
nl.gov/gretina/GEBSort/AAAtar.tgz | |||
tar -zxvf AAAtar.tgz | tar -zxvf AAAtar.tgz | ||
rm curEPICS; ln -s /global/devel/base/R3.14.11 curEPICS | rm curEPICS; ln -s /global/devel/base/R3.14.11 curEPICS | ||
Line 143: | Line 147: | ||
2) to run and take data, type | 2) to run and take data, type | ||
./GEBSort | ./GEBSort -input geb 10.0.1.100 100 0 100.0 RECREATE -chat GEBSort.chat | ||
-chat GEBSort.chat & | -chat GEBSort.chat & | ||
[note RECREATE does not make sense, needs to be changed] | |||
Where in the chat file you have something like this enabled | Where in the chat file you have something like this enabled |
Revision as of 21:08, August 19, 2013
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:xset fp+ /usr/share/X11/fonts/75dpi
$PWD/godaq
For the patience challenged, a shortcut to the above steps is
xset fp+ /usr/share/X11/fonts/75dpi (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 things in this following order:
4, 4b, 2, 3, 6
verify you see "CA Connected" (CA: Channel Access) 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
accessing the IOC consoles
ssh gsoper@[email protected]
you will need to know the password to gain access.
online sorting with GEBSort, to a root file
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., /home/gtuser/gebsort) 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 dload root file display
online sorting with GEBSort, to a map file
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., /home/gtuser/gebsort) svn co https://svn.anl.gov/repos/GEBSort . or wget http://www.phy.a 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
nl.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 -chat GEBSort.chat &
[note RECREATE does not make sense, needs to be changed]
Where in the chat file you have something like this enabled
sharedmem c1.map 200000000 StartMapDddress 0xab9ae000 DumpEvery 5
3) to stop the on-line sort and write the root file out, type
./stop.sh
4) to display the data
rootn.exe -l compile GSUtils sload root file display