From e17f3c88107bccce8c5c859676f0f6732684a2b5 Mon Sep 17 00:00:00 2001 From: hades Date: Tue, 21 Nov 2000 11:58:07 +0000 Subject: [PATCH] *** empty log message *** --- hadaq/hades.tcl | 261 ++++++++++++++++++++++++++--------------- hadaq/rich.tcl | 189 +++++++++++++++++++++++++---- hadaq/rich01.tcl | 40 +++---- hadaq/trig_tof.tcl | 14 +-- hadaq/trig_tof_shw.tcl | 16 +-- 5 files changed, 371 insertions(+), 149 deletions(-) diff --git a/hadaq/hades.tcl b/hadaq/hades.tcl index 3afd00b..9ad4198 100644 --- a/hadaq/hades.tcl +++ b/hadaq/hades.tcl @@ -1,93 +1,176 @@ -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 +#set subSystems { trig rich0 rich1 rich2 mdc tof shw } +set subSystems { trig tof shw } +#set subSystems { trig tof } + 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'} = 0} { + agent create r2-13 hades /hades/usr/hades/nov00/trig/hadaq + worker create r2-13:memnet -a -p -1 -w 3000 -o ATM:0:50 + #worker create r2-13:evtbuild -a -d file + worker create r2-13:readout -a -p -2 -w 10000 + group add acquisition r2-13:memnet + #group add acquisition r2-13:evtbuild + group add acquisition r2-13:readout + lappend inPaths {-i ATM:0:50} + set trigInit {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig init'} >&hadaq.log} + set trigStart {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} >&hadaq.log} + set trigStop {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} >&hadaq.log} +} else { + set trigInit {true} + set trigReset {true} + set trigStart {true} + set trigStop {true} +} + +if {[lsearch $subSystems rich0] >= 0} { + agent create r2-24 hades /hades/usr/hades/nov00/rich/hadaq + worker create r2-24:memnet -a -p -1 -w 10000 -o ATM:0:51 + #worker create r2-24:evtbuild -a -d file + worker create r2-24:readout4 -a -p -2 -w 30000 + group add acquisition r2-24:memnet + #group add acquisition r2-24:evtbuild + group add acquisition r2-24:readout4 + lappend inPaths {-i ATM:0:51} + set rich0Init {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 init'} >&hadaq.log} + set rich0Start {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 start'} >&hadaq.log} + set rich0Stop {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 stop'} >&hadaq.log} +} else { + set rich0Init {true} + set rich0Reset {true} + set rich0Start {true} + set rich0Stop {true} } -set beforeStartAcq { - {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig reset'} >&hadaq.log} - {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw reset'} >&hadaq.log} - {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc reset'} >&hadaq.log} - {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 reset'} >&hadaq.log} - {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 reset'} >&hadaq.log} - {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 reset'} >&hadaq.log} - {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 reset'} >&hadaq.log} - {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc start'} >&hadaq.log} - {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 start'} >&hadaq.log} - {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc start'} >&hadaq.log} - {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 start'} >&hadaq.log} - {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 start'} >&hadaq.log} - {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 start'} >&hadaq.log} - {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} >&hadaq.log} +if {[lsearch $subSystems rich1] >= 0} { + agent create r2-26 hades /hades/usr/hades/nov00/rich/hadaq + worker create r2-26:memnet -a -p -1 -w 12000 -o ATM:0:52 + #worker create r2-26:evtbuild -a -d file + worker create r2-26:readout4 -a -p -2 -w 30000 + group add acquisition r2-26:memnet + #group add acquisition r2-26:evtbuild + group add acquisition r2-26:readout4 + lappend inPaths {-i ATM:0:52} + set rich1Init {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 init'} >&hadaq.log} + set rich1Start {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 start'} >&hadaq.log} + set rich1Stop {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 stop'} >&hadaq.log} +} else { + set rich1Init {true} + set rich1Reset {true} + set rich1Start {true} + set rich1Stop {true} } +if {[lsearch $subSystems rich2] >= 0} { + agent create r2-28 hades /hades/usr/hades/nov00/rich/hadaq + worker create r2-28:memnet -a -p -1 -w 5000 -o ATM:0:53 + #worker create r2-28:evtbuild -a -d file + worker create r2-28:readout2 -a -p -2 -w 10000 + group add acquisition r2-28:memnet + #group add acquisition r2-28:evtbuild + group add acquisition r2-28:readout2 + lappend inPaths {-i ATM:0:53} + set rich2Init {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 init'} >&hadaq.log} + set rich2Start {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 start'} >&hadaq.log} + set rich2Stop {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 stop'} >&hadaq.log} +} else { + set rich2Init {true} + set rich2Reset {true} + set rich2Start {true} + set rich2Stop {true} +} + +if {[lsearch $subSystems mdc] >= 0} { + agent create r2-8 hades /hades/usr/hades/nov00/mdc/hadaq + worker create r2-8:memnet -a -p -1 -w 37000 -o ATM:0:54 + #worker create r2-8:evtbuild -a -d file + worker create r2-8:readout -a -p -2 + group add acquisition r2-8:memnet + #group add acquisition r2-8:evtbuild + group add acquisition r2-8:readout + lappend inPaths {-i ATM:0:54} + set mdcInit {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc init'} >&hadaq.log} + set mdcStart {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc start'} >&hadaq.log} + set mdcStop {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc stop'} >&hadaq.log} +} else { + set mdcInit {true} + set mdcReset {true} + set mdcStart {true} + set mdcStop {true} +} + +if {[lsearch $subSystems tof] >= 0} { + agent create r2-27 hades /hades/usr/hades/nov00/tof/hadaq + worker create r2-27:memnet -a -p -1 -w 15000 -o ATM:0:55 + #worker create r2-27:evtbuild -a -d file + worker create r2-27:readout -a -p -2 -w 30000 + group add acquisition r2-27:memnet + #group add acquisition r2-27:evtbuild + group add acquisition r2-27:readout + lappend inPaths {-i ATM:0:55} + set tof2Init {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 init'} >&hadaq.log} + set tof2Start {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 start'} >&hadaq.log} + set tof2Stop {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 stop'} >&hadaq.log} +} else { + set concInit {true} + set concReset {true} + set concStart {true} + set concStop {true} + set tof1Init {true} + set tof1Reset {true} + set tof1Start {true} + set tof1Stop {true} + set tof2Init {true} + set tof2Reset {true} + set tof2Start {true} + set tof2Stop {true} +} + +if {[lsearch $subSystems shw] >= 0} { + agent create r2-14 hades /hades/usr/hades/nov00/shw/hadaq + worker create r2-14:memnet -a -p -1 -w 23000 -o ATM:0:56 + #worker create r2-14:evtbuild -a -d file + worker create r2-14:readout -a -p -2 -w 46000 + group add acquisition r2-14:memnet + #group add acquisition r2-14:evtbuild + group add acquisition r2-14:readout + lappend inPaths {-i ATM:0:56} + set shwInit {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw init'} >&hadaq.log} + set shwStart {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw start'} >&hadaq.log} + set shwStop {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw stop'} >&hadaq.log} +} else { + set shwInit {true} + set shwReset {true} + set shwStart {true} + set shwStop {true} +} + +agent create hades05 root /home/hades/nov00/eb/hadaq +eval worker create hades05:evtbuild -a -p -2 -m [llength $inPaths] -q 24000000 +eval worker create hades05:netmem -a -p -1 -m [llength $inPaths] -q 24000000 [join $inPaths { }] +group add run hades05:evtbuild +group add run hades05:netmem + +set duringInit [list $trigInit $rich0Init $rich1Init $rich2Init $mdcInit $tof2Init $tof1Init $concInit $shwInit] + +set beforeStartAcq [list $trigReset $rich0Reset $rich1Reset $rich2Reset $mdcReset $tof2Reset $tof1Reset $concReset $shwReset $shwStart $concStart $tof1Start $tof2Start $mdcStart $rich2Start $rich1Start $rich0Start $trigStart] + set afterStartAcq { {rsh r2-13 sh -c {'. .bash_profile; ctustart'} >&hadaq.log} } @@ -96,14 +179,4 @@ set beforeStopAcq { {rsh r2-13 sh -c {'. .bash_profile; ctustop'} >&hadaq.log} } -set afterStopAcq { - {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc stop'} >&hadaq.log} - {rsh r2-17 sh -c {'. .bash_profile; cd nov00/slow; ./tof1 stop'} >&hadaq.log} - {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc stop'} >&hadaq.log} - {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 stop'} >&hadaq.log} - {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 stop'} >&hadaq.log} - {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 stop'} >&hadaq.log} - {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} >&hadaq.log} -} +set afterStopAcq [list $trigStop $rich0Stop $rich1Stop $rich2Stop $mdcStop $tof2Stop $tof1Stop $concStop $shwStop] diff --git a/hadaq/rich.tcl b/hadaq/rich.tcl index e7b4599..8febf07 100644 --- a/hadaq/rich.tcl +++ b/hadaq/rich.tcl @@ -1,33 +1,182 @@ -agent create hades05 hades /home/hades/tt00/eb/hadaq -agent create r2-26 hades /hades/usr/hades/tt00/rich/hadaq -worker create hades05:evtbuild -a -p -2 -s 1 -m 1 -worker create hades05:netmem -a -p -1 -m 1 -i ATM:0:50 -worker create r2-26:memnet -a -p -1 -w 0 -o ATM:0:50 -worker create r2-26:readout -a -p -2 +#set subSystems { trig rich0 rich1 rich2 mdc tof shw } +set subSystems { trig rich0 rich1 rich2 tof } +#set subSystems { trig tof } + group create acquisition group create run -group add acquisition r2-26:memnet -group add acquisition r2-26:readout -group add run hades05:evtbuild -group add run hades05:netmem -set duringInit { - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich init'} = 0} { + agent create r2-13 hades /hades/usr/hades/nov00/trig/hadaq + 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 -w 10000 + group add acquisition r2-13:memnet + #group add acquisition r2-13:evtbuild + group add acquisition r2-13:readout + lappend inPaths {-i ATM:0:50} + set trigInit {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig init'} >&hadaq.log} + set trigStart {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} >&hadaq.log} + set trigStop {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} >&hadaq.log} +} else { + set trigInit {true} + set trigReset {true} + set trigStart {true} + set trigStop {true} +} + +if {[lsearch $subSystems rich0] >= 0} { + agent create r2-24 hades /hades/usr/hades/nov00/rich/hadaq + worker create r2-24:memnet -a -p -1 -w 10000 -o ATM:0:51 + #worker create r2-24:evtbuild -a -d file + worker create r2-24:readout4 -a -p -2 -w 10000 + group add acquisition r2-24:memnet + #group add acquisition r2-24:evtbuild + group add acquisition r2-24:readout4 + lappend inPaths {-i ATM:0:51} + set rich0Init {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 init'} >&hadaq.log} + set rich0Start {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 start'} >&hadaq.log} + set rich0Stop {rsh r2-24 sh -c {'. .bash_profile; cd nov00/slow; ./rich0 stop'} >&hadaq.log} +} else { + set rich0Init {true} + set rich0Reset {true} + set rich0Start {true} + set rich0Stop {true} } -set beforeStartAcq { - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich reset'} >&hadaq.log} - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich start'} >&hadaq.log} +if {[lsearch $subSystems rich1] >= 0} { + agent create r2-26 hades /hades/usr/hades/nov00/rich/hadaq + worker create r2-26:memnet -a -p -1 -w 10000 -o ATM:0:52 + #worker create r2-26:evtbuild -a -d file + worker create r2-26:readout4 -a -p -2 -w 10000 + group add acquisition r2-26:memnet + #group add acquisition r2-26:evtbuild + group add acquisition r2-26:readout4 + lappend inPaths {-i ATM:0:52} + set rich1Init {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 init'} >&hadaq.log} + set rich1Start {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 start'} >&hadaq.log} + set rich1Stop {rsh r2-26 sh -c {'. .bash_profile; cd nov00/slow; ./rich1 stop'} >&hadaq.log} +} else { + set rich1Init {true} + set rich1Reset {true} + set rich1Start {true} + set rich1Stop {true} } +if {[lsearch $subSystems rich2] >= 0} { + agent create r2-28 hades /hades/usr/hades/nov00/rich/hadaq + worker create r2-28:memnet -a -p -1 -w 10000 -o ATM:0:53 + #worker create r2-28:evtbuild -a -d file + worker create r2-28:readout2 -a -p -2 -w 10000 + group add acquisition r2-28:memnet + #group add acquisition r2-28:evtbuild + group add acquisition r2-28:readout2 + lappend inPaths {-i ATM:0:53} + set rich2Init {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 init'} >&hadaq.log} + set rich2Start {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 start'} >&hadaq.log} + set rich2Stop {rsh r2-28 sh -c {'. .bash_profile; cd nov00/slow; ./rich2 stop'} >&hadaq.log} +} else { + set rich2Init {true} + set rich2Reset {true} + set rich2Start {true} + set rich2Stop {true} +} + +if {[lsearch $subSystems mdc] >= 0} { + agent create r2-8 hades /hades/usr/hades/nov00/mdc/hadaq + worker create r2-8:memnet -a -p -1 -w 10000 -o ATM:0:54 + #worker create r2-8:evtbuild -a -d file + worker create r2-8:readout -a -p -2 -w 10000 + group add acquisition r2-8:memnet + #group add acquisition r2-8:evtbuild + group add acquisition r2-8:readout + lappend inPaths {-i ATM:0:54} + set mdcInit {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc init'} >&hadaq.log} + set mdcStart {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc start'} >&hadaq.log} + set mdcStop {rsh r2-8 sh -c {'. .bash_profile; cd nov00/slow; ./mdc stop'} >&hadaq.log} +} else { + set mdcInit {true} + set mdcReset {true} + set mdcStart {true} + set mdcStop {true} +} + +if {[lsearch $subSystems tof] >= 0} { + agent create r2-27 hades /hades/usr/hades/nov00/tof/hadaq + worker create r2-27:memnet -a -p -1 -w 10000 -o ATM:0:55 + #worker create r2-27:evtbuild -a -d file + worker create r2-27:readout -a -p -2 -w 10000 + group add acquisition r2-27:memnet + #group add acquisition r2-27:evtbuild + group add acquisition r2-27:readout + lappend inPaths {-i ATM:0:55} + set tof2Init {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 init'} >&hadaq.log} + set tof2Start {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 start'} >&hadaq.log} + set tof2Stop {rsh r2-29 sh -c {'. .bash_profile; cd nov00/slow; ./tof2 stop'} >&hadaq.log} +} else { + set concInit {true} + set concReset {true} + set concStart {true} + set concStop {true} + set tof1Init {true} + set tof1Reset {true} + set tof1Start {true} + set tof1Stop {true} + set tof2Init {true} + set tof2Reset {true} + set tof2Start {true} + set tof2Stop {true} +} + +if {[lsearch $subSystems shw] >= 0} { + agent create r2-14 hades /hades/usr/hades/nov00/shw/hadaq + worker create r2-14:memnet -a -p -1 -w 10000 -o ATM:0:56 + #worker create r2-14:evtbuild -a -d file + worker create r2-14:readout -a -p -2 -w 10000 + group add acquisition r2-14:memnet + #group add acquisition r2-14:evtbuild + group add acquisition r2-14:readout + lappend inPaths {-i ATM:0:56} + set shwInit {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw init'} >&hadaq.log} + set shwStart {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw start'} >&hadaq.log} + set shwStop {rsh r2-14 sh -c {'. .bash_profile; cd nov00/slow; ./shw stop'} >&hadaq.log} +} else { + set shwInit {true} + set shwReset {true} + set shwStart {true} + set shwStop {true} +} + +agent create hades05 root /home/hades/nov00/eb/hadaq +eval worker create hades05:evtbuild -a -p -2 -m [llength $inPaths] -q 24000000 +eval worker create hades05:netmem -a -p -1 -m [llength $inPaths] -q 24000000 [join $inPaths { }] +group add run hades05:evtbuild +group add run hades05:netmem + +set duringInit [list $trigInit $rich0Init $rich1Init $rich2Init $mdcInit $tof2Init $tof1Init $concInit $shwInit] + +set beforeStartAcq [list $trigReset $rich0Reset $rich1Reset $rich2Reset $mdcReset $tof2Reset $tof1Reset $concReset $shwReset $shwStart $concStart $tof1Start $tof2Start $mdcStart $rich2Start $rich1Start $rich0Start $trigStart] + set afterStartAcq { - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; dtuctrl -t ctu start'} >&hadaq.log} + {rsh r2-13 sh -c {'. .bash_profile; ctustart'} >&hadaq.log} } set beforeStopAcq { - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; dtuctrl -t ctu stop'} >&hadaq.log} + {rsh r2-13 sh -c {'. .bash_profile; ctustop'} >&hadaq.log} } -set afterStopAcq { - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich stop'} >&hadaq.log} -} +set afterStopAcq [list $trigStop $rich0Stop $rich1Stop $rich2Stop $mdcStop $tof2Stop $tof1Stop $concStop $shwStop] diff --git a/hadaq/rich01.tcl b/hadaq/rich01.tcl index 6684251..a474c45 100644 --- a/hadaq/rich01.tcl +++ b/hadaq/rich01.tcl @@ -1,42 +1,42 @@ -agent create hades05 root /home/hades/tt00/eb/hadaq -agent create r2-25 hades /hades/usr/hades/tt00/rich/hadaq -agent create r2-26 hades /hades/usr/hades/tt00/rich/hadaq +agent create hades05 hades /home/hades/nov00/eb/hadaq +agent create r2-24 hades /hades/usr/hades/nov00/rich/hadaq +agent create r2-26 hades /hades/usr/hades/nov00/rich/hadaq worker create hades05:evtbuild -a -p -2 -s 2 -m 2 worker create hades05:netmem -a -p -1 -m 2 -i ATM:0:50 -i ATM:0:51 -worker create r2-25:memnet -a -p -1 -w 0 -o ATM:0:50 -worker create r2-25:readout -a -p -2 -worker create r2-26:memnet -a -p -1 -w 0 -o ATM:0:51 -worker create r2-26:readout -a -p -2 +worker create r2-24:memnet -a -p -1 -w 50000 -o ATM:0:50 +worker create r2-24:readout4 -a -p -2 +worker create r2-26:memnet -a -p -1 -w 50000 -o ATM:0:51 +worker create r2-26:readout4 -a -p -2 group create acquisition group create run -group add acquisition r2-25:memnet -group add acquisition r2-25:readout +group add acquisition r2-24:memnet +group add acquisition r2-24:readout4 group add acquisition r2-26:memnet -group add acquisition r2-26:readout +group add acquisition r2-26:readout4 group add run hades05:evtbuild group add run hades05:netmem set duringInit { - {rsh r2-25 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich0 init'} >&hadaq.log} - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich1 reset'} >&hadaq.log} - {rsh r2-25 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich0 start'} >&hadaq.log} - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich1 start'} >&hadaq.log} + {rsh r2-24 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd nov00/slow; ./rich0 reset'} >&hadaq.log} + {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd nov00/slow; ./rich1 reset'} >&hadaq.log} + {rsh r2-24 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd nov00/slow; ./rich0 start'} >&hadaq.log} + {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd nov00/slow; ./rich1 start'} >&hadaq.log} } set afterStartAcq { - {rsh r2-25 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; dtuctrl -t ctu start'} >&hadaq.log} + {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd bin; ./ctustart'} >&hadaq.log} } set beforeStopAcq { - {rsh r2-25 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; dtuctrl -t ctu stop'} >&hadaq.log} + {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd bin; ./ctustop'} >&hadaq.log} } set afterStopAcq { - {rsh r2-25 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich0 stop'} >&hadaq.log} - {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd tt00/slow; ./rich1 stop'} >&hadaq.log} + {rsh r2-24 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd nov00/slow; ./rich0 stop'} >&hadaq.log} + {rsh r2-26 sh -c {'PATH=$PATH:$HOME/bin/POWERPC_LYNXOS_2_5_1; cd nov00/slow; ./rich1 stop'} >&hadaq.log} } diff --git a/hadaq/trig_tof.tcl b/hadaq/trig_tof.tcl index 1f2986a..df65466 100644 --- a/hadaq/trig_tof.tcl +++ b/hadaq/trig_tof.tcl @@ -1,12 +1,12 @@ -agent create hades24 hades /home/hades/nov00/eb/hadaq +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 -worker create hades24:evtbuild -a -p -2 -s 2 -m 2 -worker create hades24:netmem -a -p -1 -m 2 -i ATM:0:100 -i ATM:0:101 -worker create r2-27:memnet -a -p -1 -w 5000 -o ATM:0:100 +worker create hades05:evtbuild -a -p -2 -s 2 -m 2 +worker create hades05:netmem -a -p -1 -m 2 -i ATM:0:50 -i ATM:0:51 +worker create r2-27:memnet -a -p -1 -w 5000 -o ATM:0:50 #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:memnet -a -p -1 -w 5000 -o ATM:0:51 #worker create r2-13:evtbuild -a -d file worker create r2-13:readout -a -p -2 group create acquisition @@ -17,8 +17,8 @@ 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 run hades24:evtbuild -group add run hades24:netmem +group add run hades05:evtbuild +group add run hades05:netmem set duringInit { {rsh r2-27 sh -c {'. .bash_profile; cd nov00/slow; ./conc init'}