]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
TOF and MDC test running
authorhades <hades>
Sun, 12 Nov 2000 14:29:18 +0000 (14:29 +0000)
committerhades <hades>
Sun, 12 Nov 2000 14:29:18 +0000 (14:29 +0000)
hadaq/trig_mdc_tof.tcl [new file with mode: 0644]

diff --git a/hadaq/trig_mdc_tof.tcl b/hadaq/trig_mdc_tof.tcl
new file mode 100644 (file)
index 0000000..4b566d4
--- /dev/null
@@ -0,0 +1,65 @@
+agent create hades24 hades /home/hades/nov00/eb/hadaq
+agent create r2-27 hades /hades/usr/hades/nov00/tof/hadaq
+agent create r2-13 hades /hades/usr/hades/nov00/trig/hadaq
+agent create r2-8 hades /hades/usr/hades/nov00/mdc/hadaq
+worker create hades24:evtbuild -a -p -2 -s 2 -m 3
+worker create hades24:netmem -a -p -1 -m 3 -i ATM:0:100 -i ATM:0:101 -i ATM:0:102
+worker create r2-27:memnet -a -p -1 -w 5000 -o ATM:0:100
+#worker create r2-27:evtbuild -a -d file
+worker create r2-27:readout -a -p -2
+worker create r2-13:memnet -a -p -1 -w 5000 -o ATM:0:101
+#worker create r2-13:evtbuild -a -d file
+worker create r2-13:readout -a -p -2
+worker create r2-8:memnet -a -p -1 -w 5000 -o ATM:0:102
+#worker create r2-8:evtbuild -a -d file
+worker create r2-8:readout -a -p -2
+group create acquisition
+group create run
+group add acquisition r2-27:memnet
+#group add acquisition r2-27:evtbuild
+group add acquisition r2-27:readout
+group add acquisition r2-13:memnet
+#group add acquisition r2-13:evtbuild
+group add acquisition r2-13:readout
+group add acquisition r2-8:memnet
+#group add acquisition r2-8:evtbuild
+group add acquisition r2-8:readout
+group add run hades24:evtbuild
+group add run hades24:netmem
+
+set duringInit {
+       {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc init'} </dev/null }
+       {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 init'} </dev/null }
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 init'} </dev/null }
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc init'} </dev/null }
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig init'} </dev/null }
+}
+
+set beforeStartAcq {
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig reset'} </dev/null >>&hadaq.log}
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc reset'} </dev/null >>&hadaq.log}
+       {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 reset'} </dev/null }
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 reset'} </dev/null }
+       {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc reset'} </dev/null >>&hadaq.log}
+       {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc start'} </dev/null >>&hadaq.log}
+       {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 start'} </dev/null }
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 start'} </dev/null }
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc start'} </dev/null >>&hadaq.log}
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} </dev/null >>&hadaq.log}
+}
+
+set afterStartAcq {
+       {rsh r2-13 sh -c {'. .bash_profile; ctustart'} </dev/null >>&hadaq.log}
+}
+
+set beforeStopAcq {
+       {rsh r2-13 sh -c {'. .bash_profile; ctustop'} </dev/null >>&hadaq.log}
+}
+
+set afterStopAcq {
+       {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc stop'} </dev/null >>&hadaq.log}
+       {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 stop'} </dev/null }
+       {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 stop'} </dev/null }
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc stop'} </dev/null >>&hadaq.log}
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} </dev/null >>&hadaq.log}
+}