#set subSystems { trig rich0 rich1 rich2 mdc tof shw }
-set subSystems { trig tof shw }
+set subSystems { trig rich0 }
#set subSystems { trig tof }
group create acquisition
group create run
if {[lsearch $subSystems trig] >= 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
+ agent create r2-25 hades /hades/usr/hades/nov00/trig/hadaq
+ worker create r2-25:memnet -a -p -1 -w 3000 -o ATM:0:50
+ #worker create r2-25:evtbuild -a -d file
+ worker create r2-25:readout -a -p -2 -w 10000
+ group add acquisition r2-25:memnet
+ #group add acquisition r2-25:evtbuild
+ group add acquisition r2-25:readout
lappend inPaths {-i ATM:0:50}
- set trigInit {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig init'} </dev/null }
- set trigReset {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig reset'} </dev/null >>&hadaq.log}
- set trigStart {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} </dev/null >>&hadaq.log}
- set trigStop {rsh r2-13 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} </dev/null >>&hadaq.log}
+ set trigInit {rsh r2-25 sh -c {'. .bash_profile; cd nov00/slow; ./trig init'} </dev/null }
+ set trigReset {rsh r2-25 sh -c {'. .bash_profile; cd nov00/slow; ./trig reset'} </dev/null >>&hadaq.log}
+ set trigStart {rsh r2-25 sh -c {'. .bash_profile; cd nov00/slow; ./trig start'} </dev/null >>&hadaq.log}
+ set trigStop {rsh r2-25 sh -c {'. .bash_profile; cd nov00/slow; ./trig stop'} </dev/null >>&hadaq.log}
} else {
set trigInit {true}
set trigReset {true}
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'} </dev/null >>&hadaq.log}
+ {rsh r2-25 sh -c {'. .bash_profile; ctustart'} </dev/null >>&hadaq.log}
}
set beforeStopAcq {
- {rsh r2-13 sh -c {'. .bash_profile; ctustop'} </dev/null >>&hadaq.log}
+ {rsh r2-25 sh -c {'. .bash_profile; ctustop'} </dev/null >>&hadaq.log}
}
set afterStopAcq [list $trigStop $rich0Stop $rich1Stop $rich2Stop $mdcStop $tof2Stop $tof1Stop $concStop $shwStop]