DIRC R&D Software User's Guide

(This setup is currently inactive, all hardware is in ESA, the instructions below are obsolete.)

Starting a CRT run

ssh to kosmic and go to your CRT directory
ssh kosmic
cd $CRT/examples
Check if a run is currently going on:
ps -elafww | grep readTDCADCfile
If that command does not find a running readTDCADCfile, you can start a new run. Assuming that the CRT code is well-maintained in your CRT directory you will use that code. (Currently (Feb. 2004) there is an up-to-date version in Francisco's CRT folder, ~leportfr/CosmicRayTelescope/examples. You're welcome to use that version.)

Now start the run

./readTDCADCfile <number of events> /u1/leportfr/run_<identifier>.dat &
By convention we use as <identifier> the date and number of events in the run. If <nevents> = 250000 then the identifier for a run started on February 4, 2004 should be 040204_250k.

You're done.

Ending a CRT run

ssh to kosmic
ssh kosmic
To end an ongoing run, find the process ID of the current program by typing
top
The running program should be at the top of the list, something like
2397 jochen    15   0  8100  796   636 S    30.6  0.6 337:08 readTDCADCfile
The first number is the process ID (PID), 2397 in this case. If you are certain that you need to end that run prematurely, type
sudo kill -9 <PID>
to kill the run, where <PID> is 2397 in this example. You will be ased for your unix password to become sudo (currently Thomas, Jerry, Aakash and Joe have sudo permissions.)

You're done.

Last significant update: February 3, 2004, by Joe