]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
working scripts, mt
authorhadaq <hadaq>
Tue, 20 Nov 2001 18:38:24 +0000 (18:38 +0000)
committerhadaq <hadaq>
Tue, 20 Nov 2001 18:38:24 +0000 (18:38 +0000)
hadaq/all_parallel.tcl
hadaq/trig_all_rich_all_tof_all_shw_parallel.tcl [new file with mode: 0644]
hadaq/trig_all_rich_all_tof_parallel.tcl
hadaq/trig_all_tof_mdc_shw_parallel.tcl [new file with mode: 0644]
hadaq/trig_all_tof_shw_parallel.tcl

index 19de774dd300d688df4d60b0daf695a357da7646..1eb017383efe1fca86961ed8de29730b608b2e9d 100644 (file)
@@ -1,30 +1,37 @@
-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
+agent create hadeb01 hades /home/hades/nov01/eb/hadaq
+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
+agent create r2-7  hades /hades/usr/hades/nov01/mdc/hadaq
 
 
 # maximum bandwidth: 155Mbit
-worker create hadeb01:evtbuild -a -p -2 -m 
-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
+worker create hadeb01:evtbuild -a -p -2 -m 7
+worker create hadeb01:netmem -a -p -1 -m 7 -i ATM:0:50 -i ATM:0:51 -i ATM:0:52 -i ATM:0:53 -i ATM:0:54 -i ATM:0:55 -i ATM:0:56
 # -w 10000 in memnet means: 1000kbytes/s
+#RICH
 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
+worker create r2-27:readout -a -p -1 -w 8192
 # 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-28:readout -a -p -1 -w 8192
+worker create r2-24:memnet -a -p -2 -w 15000 -o ATM:0:52
+worker create r2-24:readout -a -p -1 -w 8192
+#TRIG
+worker create r2-29:memnet -a -p -1 -w 20000 -o ATM:0:53
+worker create r2-29:readout -a -p -2 -w 8192
+#SHW
 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
+worker create r2-14:readout -a -p -2 -w 8192
+#MDC
+worker create r2-8:memnet -a -p -1 -w 35000 -o ATM:0:55
+worker create r2-8:readout8 -a -p -2 -w 8192
+worker create r2-7:memnet -a -p -1 -w 35000 -o ATM:0:56
+worker create r2-7:readout7 -a -p -2 -w 8192
 group create acquisition
 group create run
 group add acquisition r2-27:memnet
@@ -38,28 +45,30 @@ 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 acquisition r2-8:readout8
+group add acquisition r2-7:memnet
+group add acquisition r2-7:readout7
 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}
+       {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:mdc0:init r2-7:mdc1: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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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:mdc0:reset r2-7:mdc1:reset >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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:mdc0:start r2-7:mdc1:start >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
 }
 
 set beforeStopAcq {
-       {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctureset'} </dev/null >>&hadaq.log}
 }
 
 set afterStopAcq {
diff --git a/hadaq/trig_all_rich_all_tof_all_shw_parallel.tcl b/hadaq/trig_all_rich_all_tof_all_shw_parallel.tcl
new file mode 100644 (file)
index 0000000..828eb14
--- /dev/null
@@ -0,0 +1,56 @@
+agent create hadeb01 hades /home/hades/nov01/eb/hadaq
+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
+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
+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
+worker create r2-14:memnet -a -p -1  -w 20000 -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 nov01; cd nov01/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 nov01; cd nov01/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  r2-14:shw:start >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+
+}
+
+set afterStopAcq {
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctureset'} </dev/null >>&hadaq.log}
+}
index b038ec64e776c98286493bf0046fc5e95e64316b..e9ffc4522a01f9d539865722c2fce28a75d43a43 100644 (file)
@@ -1,8 +1,8 @@
-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 hadeb01 hades /home/hades/nov01/eb/hadaq
+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
 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
@@ -31,19 +31,19 @@ set duringInit {
 }
 
 set beforeStartAcq {
-       {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
 }
 
 set beforeStopAcq {
-       {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustop'} </dev/null >>&hadaq.log}
 }
 
 set afterStopAcq {
diff --git a/hadaq/trig_all_tof_mdc_shw_parallel.tcl b/hadaq/trig_all_tof_mdc_shw_parallel.tcl
new file mode 100644 (file)
index 0000000..63a0f4f
--- /dev/null
@@ -0,0 +1,50 @@
+agent create hadeb01 hades /home/hades/nov01/eb/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
+agent create r2-7 hades /hades/usr/hades/nov01/mdc/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-29:memnet -a -p -1 -w 30000 -o ATM:0:50
+worker create r2-29:readout -a -p -2 -w 8192
+worker create r2-14:memnet -a -p -2 -w 30000 -o ATM:0:51
+worker create r2-14:readout -a -p -1 -w 8192
+worker create r2-8:memnet -a -p -2 -w 30000 -o ATM:0:52
+worker create r2-8:readout8 -a -p -1 -w 8192
+worker create r2-7:memnet -a -p -2 -w 30000 -o ATM:0:53
+worker create r2-7:readout7 -a -p -1 -w 8192
+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 acquisition r2-8:memnet
+group add acquisition r2-8:readout8
+group add acquisition r2-7:memnet
+group add acquisition r2-7:readout7
+group add run hadeb01:evtbuild
+group add run hadeb01:netmem
+
+set duringInit {
+
+}
+
+set beforeStartAcq {
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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 r2-8:mdc0:reset r2-7:mdc1:reset >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {run_parallel e7_25:tof1:start  e7_21:tof2:start e7_41:tof3:start r2-14:shw:start r2-8:mdc0:start r2-7:mdc1:start >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./trigconc start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+}
index ea2cc3f3c130220116071372eafa23cd93a05c86..963c5662c593d703efd2237ad049db2230c3b86e 100644 (file)
@@ -1,6 +1,6 @@
-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
+agent create hadeb01 hades /home/hades/nov01/eb/hadaq
+agent create r2-29 hades /hades/usr/hades/nov01/trig/hadaq
+agent create r2-14 hades /hades/usr/hades/nov01/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
@@ -21,19 +21,19 @@ set duringInit {
 }
 
 set beforeStartAcq {
-       {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./trigconc reset'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/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}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustart'} </dev/null >>&hadaq.log}
 }
 
 set beforeStopAcq {
-       {rsh r2-29 sh -c {'. bin/daqenv mar01; cd mar01/slow; ./ctustop'} </dev/null >>&hadaq.log}
+       {rsh r2-29 sh -c {'. bin/daqenv nov01; cd nov01/slow; ./ctustop'} </dev/null >>&hadaq.log}
 }
 
 set afterStopAcq {