From: hadaq Date: Thu, 19 Jun 2003 12:08:02 +0000 (+0000) Subject: added tof4, IF, MT X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=518ed47e53525f1dab3875d964c96c107ff1dc8c;p=daqdata.git added tof4, IF, MT --- diff --git a/hadaq/hades.tcl b/hadaq/hades.tcl index 52dec4b..b93b105 100644 --- a/hadaq/hades.tcl +++ b/hadaq/hades.tcl @@ -1,8 +1,16 @@ # the list of sub systems according to your needs, possible sub systems # are: trig rich0 rich1 rich2 mdc0 tof1 tof2 tof3 shw -set subSystems { trig shw rich0 rich1 rich2 tof1 tof2 tof3 mdc0 mdc1 } +#set subSystems { trig shw rich0 rich1 rich2 tof1 tof2 tof3 mdc0 mdc1 } #set subSystems { trig shw rich0 rich1 rich2 mdc0 mdc1 } +#set subSystems { trig shw mdc0 mdc1 tof1 tof2 tof3} + +set subSystems { trig tof1 tof2 tof3 tof4 shw rich0 rich1 rich2 mdc0 } +#set subSystems { trig rich0 rich1 rich2 tof1 tof2 shw } +#set subSystems { trig rich0 rich1 rich2 shw } + +#set subSystems { trig tof2 mdc0 mdc1 } +#set subSystems { trig rich0 rich1 rich2 } # the component in the HADES_BASE_DIR set beamTime oct02 @@ -164,6 +172,15 @@ if {[lsearch $subSystems tof3] >= 0} { lappend stop [ list e7_41 "cd; . bin/daqenv $beamTime; cd $beamTime/slow; ./tof3 stop" ] } +if {[lsearch $subSystems tof4] >= 0} { + agent create r2-29 hades /hades/usr/hades/$beamTime/tof_rio/hadaq + lappend init r2-29:tof4:init + lappend reset [ list r2-29 "cd; . bin/daqenv $beamTime; cd $beamTime/slow; ./tof4 reset" ] + lappend start [ list r2-29 "cd; . bin/daqenv $beamTime; cd $beamTime/slow; ./tof4 start" ] + lappend stop [ list r2-29 "cd; . bin/daqenv $beamTime; cd $beamTime/slow; ./tof4 stop" ] +} + + agent create $evtBuilder hadaq /home/hadaq/$beamTime/eb/hadaq_tcl eval worker create $evtBuilder:evtbuild -a -p -2 -m [llength $inPaths] eval worker create $evtBuilder:netmem -a -p -1 -m [llength $inPaths] [join $inPaths { }] @@ -205,3 +222,12 @@ lappend afterStopAcq {r2-35 date} lappend afterStopAcq {join ""} } + + + + + + + + +