--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-28 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-27 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-24 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+agent create r2-14 hades /hades/usr/hades/mar01/shw/hadaq
+
+# maximum bandwidth: 155Mbit
+worker create hadeb01:evtbuild -a -p -2 -m 5
+worker create hadeb01:netmem -a -p -1 -m 5 -i ATM:0:50 -i ATM:0:51 -i ATM:0:52 -i ATM:0:53 -i ATM:0:54
+# -w 10000 in memnet means: 1000kbytes/s
+worker create r2-27:memnet -a -p -2 -w 20000 -o ATM:0:50
+# -w 0 in readout means: every event is sent via ATM
+worker create r2-27:readout -a -p -1 -w 32768
+# priority for rich has changed! readout has higer priority now
+worker create r2-28:memnet -a -p -2 -w 20000 -o ATM:0:51
+worker create r2-28:readout -a -p -1 -w 32768
+worker create r2-29:memnet -a -p -1 -w 50000 -o ATM:0:52
+worker create r2-29:readout -a -p -2 -w 32768
+worker create r2-24:memnet -a -p -2 -w 20000 -o ATM:0:53
+worker create r2-24:readout -a -p -1 -w 32768
+worker create r2-14:memnet -a -p -1 -w 30000 -o ATM:0:54
+worker create r2-14:readout -a -p -2 -w 32768
+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 run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+ {run_parallel 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 {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel 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 >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:start e7_21:tof2:start e7_41:tof3:start r2-28:rich1:start r2-27:rich2:start r2-24:rich0:start r2-14:shw:start >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-28 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-27 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-24 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+agent create r2-14 hades /hades/usr/hades/mar01/shw/hadaq
+agent create r2-8 hades /hades/usr/hades/mar01/mdc/hadaq
+
+
+# maximum bandwidth: 155Mbit
+worker create hadeb01:evtbuild -a -p -2 -m 6
+worker create hadeb01:netmem -a -p -1 -m 6 -i ATM:0:50 -i ATM:0:51 -i ATM:0:52 -i ATM:0:53 -i ATM:0:54 -i ATM:0:55
+# -w 10000 in memnet means: 1000kbytes/s
+worker create r2-27:memnet -a -p -2 -w 15000 -o ATM:0:50
+# -w 0 in readout means: every event is sent via ATM
+worker create r2-27:readout -a -p -1 -w 32768
+# priority for rich has changed! readout has higer priority now
+worker create r2-28:memnet -a -p -2 -w 15000 -o ATM:0:51
+worker create r2-28:readout -a -p -1 -w 32768
+worker create r2-29:memnet -a -p -1 -w 20000 -o ATM:0:52
+worker create r2-29:readout -a -p -2 -w 32768
+worker create r2-24:memnet -a -p -2 -w 20000 -o ATM:0:53
+worker create r2-24:readout -a -p -1 -w 32768
+worker create r2-14:memnet -a -p -1 -w 20000 -o ATM:0:54
+worker create r2-14:readout -a -p -2 -w 32768
+worker create r2-8:memnet -a -p -1 -w 65000 -o ATM:0:55
+worker create r2-8:readout -a -p -2 -w 32768
+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:readout
+group add run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+ {run_parallel 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 r2-8:mdc:init >>&hadaq.log}
+}
+
+set beforeStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel 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:mdc:reset >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:start e7_21:tof2:start e7_41:tof3:start r2-28:rich1:start r2-27:rich2:start r2-24:rich0:start r2-14:shw:start r2-8:mdc:start >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-28 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-27 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-24 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+worker create hadeb01:evtbuild -a -p -2 -m 4
+worker create hadeb01:netmem -a -p -1 -m 4 -i ATM:0:50 -i ATM:0:51 -i ATM:0:52 -i ATM:0:53
+worker create r2-27:memnet -a -p -1 -w 20000 -o ATM:0:50
+worker create r2-27:readout -a -p -2 -w 32768
+worker create r2-28:memnet -a -p -1 -w 20000 -o ATM:0:51
+worker create r2-28:readout -a -p -2 -w 32768
+worker create r2-29:memnet -a -p -2 -w 10000 -o ATM:0:52
+worker create r2-29:readout -a -p -1 -w 32768
+worker create r2-24:memnet -a -p -1 -w 20000 -o ATM:0:53
+worker create r2-24:readout -a -p -2 -w 32768
+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 run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+ {run_parallel 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 >>&hadaq.log}
+}
+
+set beforeStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:reset e7_21:tof2:reset e7_41:tof3:reset r2-28:rich1:reset r2-27:rich2:reset r2-24:rich0:reset >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel 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 >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+
+}
--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-28 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-27 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-24 hades /hades/usr/hades/mar01/rich/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+worker create hadeb01:evtbuild -a -p -2 -m 4 -q 33554432
+worker create hadeb01:netmem -a -p -1 -m 4 -q 33554432 -i ATM:0:50 -i ATM:0:51 -i ATM:0:52 -i ATM:0:53
+worker create r2-29:memnet -a -p -1 -q 524288 -o ATM:0:50 -w 15000
+worker create r2-29:readout -a -p -2 -q 524288 -w 32768
+worker create r2-27:memnet -a -p -1 -q 524288 -o ATM:0:51 -w 5000
+worker create r2-27:readout -a -p -2 -q 524288 -w 32768
+worker create r2-28:memnet -a -p -1 -q 524288 -o ATM:0:52 -w 5000
+worker create r2-28:readout -a -p -2 -q 524288 -w 32768
+worker create r2-24:memnet -a -p -1 -q 524288 -o ATM:0:53 -w 5000
+worker create r2-24:readout -a -p -2 -q 524288 -w 32768
+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 run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+ {run_parallel r2-28:rich1:init r2-27:rich2:init r2-29:trigconc:init r2-24:rich0:init >>&hadaq.log}
+}
+
+set beforeStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel r2-28:rich1:reset r2-27:rich2:reset r2-24:rich0:reset >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel r2-28:rich1:start r2-27:rich2:start r2-29:trigconc:start r2-24:rich0:start >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+ {ls>>&hadaq.log}
+}
+
--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+agent create r2-8 hades /hades/usr/hades/mar01/mdc/hadaq
+worker create hadeb01:evtbuild -a -p -2 -m 2
+worker create hadeb01:netmem -a -p -1 -m 2 -i ATM:0:50 -i ATM:0:51
+worker create r2-29:memnet -a -p -1 -w 20000 -o ATM:0:50
+worker create r2-29:readout -a -p -2 -w 32768
+worker create r2-8:memnet -a -p -1 -w 65000 -o ATM:0:51
+worker create r2-8:readout -a -p -2 -w 32768
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add acquisition r2-8:memnet
+group add acquisition r2-8:readout
+group add run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+}
+
+set beforeStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset;'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:reset e7_21:tof2:reset e7_41:tof3:reset r2-8:mdc:reset >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:start e7_21:tof2:start e7_41:tof3:start r2-8:mdc:start >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
+
+
+
+
--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+worker create hadeb01:evtbuild -a -p -2 -m 1
+worker create hadeb01:netmem -a -p -1 -m 1 -i ATM:0:50
+worker create r2-29:memnet -a -p -1 -o ATM:0:50
+worker create r2-29:readout -a -p -2
+group create acquisition
+group create run
+group add acquisition r2-29:memnet
+group add acquisition r2-29:readout
+group add run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+ {rsh e7_25 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./tof1 init'} </dev/null >>&hadaq.log}
+ {rsh e7_21 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./tof2 init'} </dev/null >>&hadaq.log}
+ {rsh e7_41 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./tof3 init'} </dev/null >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc init'} </dev/null }
+}
+
+set beforeStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset;'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:reset e7_21:tof2:reset e7_41:tof3:reset >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:start e7_21:tof2:start e7_41:tof3:start >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc stop'} </dev/null >>&hadaq.log}
+}
--- /dev/null
+agent create hadeb01 hades /home/hades/mar01/eb/hadaq
+agent create r2-29 hades /hades/usr/hades/mar01/trig/hadaq
+agent create r2-14 hades /hades/usr/hades/mar01/shw/hadaq
+worker create hadeb01:evtbuild -a -p -2 -m 2
+worker create hadeb01:netmem -a -p -1 -m 2 -i ATM:0:50 -i ATM:0:51
+worker create r2-29:memnet -a -p -1 -w 0 -o ATM:0:50
+worker create r2-29:readout -a -p -2
+worker create r2-14:memnet -a -p -2 -w 5000 -o ATM:0:51
+worker create r2-14:readout -a -p -1
+group create acquisition
+group create run
+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 run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+
+}
+
+set beforeStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:reset e7_21:tof2:reset e7_41:tof3:reset r2-14:shw:reset >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+ {run_parallel e7_25:tof1:start e7_21:tof2:start e7_41:tof3:start r2-29:trigconc:start r2-14:shw:start >>&hadaq.log}
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+ {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}