]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Just for history, already superseded
authorhades <hades>
Fri, 17 Nov 2000 19:48:39 +0000 (19:48 +0000)
committerhades <hades>
Fri, 17 Nov 2000 19:48:39 +0000 (19:48 +0000)
hadaq/hades.tcl [new file with mode: 0644]

diff --git a/hadaq/hades.tcl b/hadaq/hades.tcl
new file mode 100644 (file)
index 0000000..3afd00b
--- /dev/null
@@ -0,0 +1,109 @@
+agent create hades05 root /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-14 hades /hades/usr/hades/nov00/shw/hadaq
+agent create r2-8 hades /hades/usr/hades/nov00/mdc/hadaq
+agent create r2-24 hades /hades/usr/hades/nov00/rich/hadaq
+agent create r2-26 hades /hades/usr/hades/nov00/rich/hadaq
+agent create r2-28 hades /hades/usr/hades/nov00/rich/hadaq
+worker create hades05:evtbuild -a -p -2 -m 7 -q 24000000
+worker create hades05:netmem -a -p -1 -m 7 -q 24000000 -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
+worker create r2-13:memnet -a -p -1 -w 10000 -o ATM:0:50
+#worker create r2-13:evtbuild -a -d file
+worker create r2-13:readout -a -p -2
+worker create r2-27:memnet -a -p -1 -w 10000 -o ATM:0:51
+#worker create r2-27:evtbuild -a -d file
+worker create r2-27:readout -a -p -2
+worker create r2-14:memnet -a -p -1 -w 10000 -o ATM:0:52
+#worker create r2-14:evtbuild -a -d file
+worker create r2-14:readout -a -p -2
+worker create r2-8:memnet -a -p -1 -w 10000 -o ATM:0:53
+#worker create r2-8:evtbuild -a -d file
+worker create r2-8:readout -a -p -2
+worker create r2-24:memnet -a -p -1 -w 10000 -o ATM:0:54
+#worker create r2-24:evtbuild -a -d file
+worker create r2-24:readout4 -a -p -2
+worker create r2-26:memnet -a -p -1 -w 10000 -o ATM:0:55
+#worker create r2-26:evtbuild -a -d file
+worker create r2-26:readout4 -a -p -2
+worker create r2-28:memnet -a -p -1 -w 10000 -o ATM:0:56
+#worker create r2-28:evtbuild -a -d file
+worker create r2-28:readout2 -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-14:memnet
+#group add acquisition r2-14:evtbuild
+group add acquisition r2-14:readout
+group add acquisition r2-8:memnet
+#group add acquisition r2-8:evtbuild
+group add acquisition r2-8:readout
+group add acquisition r2-24:memnet
+#group add acquisition r2-24:evtbuild
+group add acquisition r2-24:readout4
+group add acquisition r2-26:memnet
+#group add acquisition r2-26:evtbuild
+group add acquisition r2-26:readout4
+group add acquisition r2-28:memnet
+#group add acquisition r2-28:evtbuild
+group add acquisition r2-28:readout2
+group add run hades05:evtbuild
+group add run hades05: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-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw init'} </dev/null }
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc init'} </dev/null }
+       {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 init'} </dev/null }
+       {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 init'} </dev/null }
+       {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 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-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw reset'} </dev/null >>&hadaq.log}
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc reset'} </dev/null >>&hadaq.log}
+       {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 reset'} </dev/null >>&hadaq.log}
+       {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 reset'} </dev/null >>&hadaq.log}
+       {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 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-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw start'} </dev/null >>&hadaq.log}
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc start'} </dev/null >>&hadaq.log}
+       {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 start'} </dev/null >>&hadaq.log}
+       {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 start'} </dev/null >>&hadaq.log}
+       {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 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-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw stop'} </dev/null >>&hadaq.log}
+       {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc stop'} </dev/null >>&hadaq.log}
+       {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 stop'} </dev/null >>&hadaq.log}
+       {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 stop'} </dev/null >>&hadaq.log}
+       {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 stop'} </dev/null >>&hadaq.log}
+       {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} </dev/null >>&hadaq.log}
+}