From c7babc77aead24ab1e3c3f24fdfa5d1b033376b9 Mon Sep 17 00:00:00 2001 From: hadaq Date: Sun, 2 Dec 2001 03:52:50 +0000 Subject: [PATCH] *** empty log message *** --- hadaq/trig_rich_tof_shw_1mdc_nov01.tcl | 65 ++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 hadaq/trig_rich_tof_shw_1mdc_nov01.tcl diff --git a/hadaq/trig_rich_tof_shw_1mdc_nov01.tcl b/hadaq/trig_rich_tof_shw_1mdc_nov01.tcl new file mode 100644 index 0000000..f011dff --- /dev/null +++ b/hadaq/trig_rich_tof_shw_1mdc_nov01.tcl @@ -0,0 +1,65 @@ +agent create hadeb02 root /home/hades/nov01/eb/hadaq_tcl +agent create r2-28 hades /hades/usr/hades/nov01/rich/hadaq +agent create r2-27 hades /hades/usr/hades/nov01/rich/hadaq +agent create r2-24 hades /hades/usr/hades/nov01/rich/hadaq +agent create r2-29 hades /hades/usr/hades/nov01/trig/hadaq +agent create r2-14 hades /hades/usr/hades/nov01/shw/hadaq +agent create r2-8 hades /hades/usr/hades/nov01/mdc/hadaq + +worker create hadeb02:evtbuild -a -p -2 -m 6 +worker create hadeb02:netmem -a -p -1 -m 6 -i ATM:0:100 -i ATM:0:101 -i ATM:0:102 -i ATM:0:103 -i ATM:0:104 -i ATM:0:105 +worker create r2-29:memnet -a -p -2 -w 28481 -o ATM:0:100 +worker create r2-29:readout -a -p -1 -w 8192 +worker create r2-14:memnet -a -p -2 -w 14768 -o ATM:0:101 +worker create r2-14:readout -a -p -1 -w 8192 +worker create r2-8:memnet -a -p -1 -w 30101 -o ATM:0:102 +worker create r2-8:readout8 -a -p -2 -w 8192 +worker create r2-27:memnet -a -p -2 -w 6110 -o ATM:0:103 +worker create r2-27:readout -a -p -1 -w 8192 +worker create r2-28:memnet -a -p -2 -w 6146 -o ATM:0:104 +worker create r2-28:readout -a -p -1 -w 8192 +worker create r2-24:memnet -a -p -2 -w 6186 -o ATM:0:105 +worker create r2-24:readout -a -p -1 -w 8192 + +group create acquisition +group create run +group add acquisition r2-27:memnet +group add acquisition r2-27:readout +group add acquisition r2-28:memnet +group add acquisition r2-28:readout +group add acquisition r2-24:memnet +group add acquisition r2-24:readout +group add acquisition r2-29:memnet +group add acquisition r2-29:readout +group add acquisition r2-14:memnet +group add acquisition r2-14:readout +group add acquisition r2-8:memnet +group add acquisition r2-8:readout8 + +group add run hadeb02:evtbuild +group add run hadeb02:netmem + +set duringInit { + {run_parallel_nov01 e7_25:tof1:init e7_21:tof2:init e7_41:tof3:init r2-28:rich1:init r2-27:rich2:init r2-29:trigconc:init r2-24:rich0:init r2-14:shw:init >>&hadaq.log} +} + +set beforeStartAcq { + {echo "started" >hadaq.log} + {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} >&hadaq.log} + {run_parallel_nov01 e7_25:tof1:reset e7_21:tof2:reset e7_41:tof3:reset r2-28:rich1:reset r2-27:rich2:reset r2-24:rich0:reset r2-14:shw:reset r2-8:mdc0:reset >>&hadaq.log} + {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} >&hadaq.log} + {run_parallel_nov01 e7_25:tof1:start e7_21:tof2:start e7_41:tof3:start r2-28:rich1:start r2-27:rich2:start r2-29:trigconc:start r2-24:rich0:start r2-14:shw:start r2-8:mdc0:start >>&hadaq.log} + {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} >&hadaq.log} +} + +set afterStartAcq { + {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} >&hadaq.log} +} + +set beforeStopAcq { + +} + +set afterStopAcq { + {rsh -l hades r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctureset'} >&hadaq.log} +} -- 2.43.0