(this follows Mike's hypernews http://babar-hn.slac.stanford.edu:5090/HyperNews/get/dch_dct/36.html with some additions) The release directory for the DCH software is : /afs/slac.stanford.edu/g/babar/detector/trg/Interface/DchDct/DchDctRel8.6.1 It is based on online release 8.6.1, offline release 12.3.2 This testand runs on platform 27 The DCT crate mask is 4, the DCH crate mask is 1. Running the DCH Calibration GUI : 1) connect to dali 2) cd to the release directory 3) source DchTestStand/setup.csh (answer 27 when it asked you for platform) 4) execute startCalib : this pops up a window with plenty of green buttons. 5) click on "Trig Calibration". This pops up a window with plenty of purple buttons. 6) Click on "Run Calibration". The xtc files will be in calibration/dch_calib-NNN.xtc where NNN is a number. The last calibration corresponds to the biggest number. Viewing the XTC with L3TDisplay: 1) connect to a SunOS5.8 machine 2) cd to the release directory 3) source DchTestStand/setup.csh (answer 27 when it asked you for platform) 4) execute L3TDisplayXtc -f calibration/dch_calib-NNN.xtc ignoreCrateMask.tcl Installing the DCH and L3 software for the teststand : 1) create a test release area based on online release 8.6.0 or later 2) go in that release directory 3) addpkg the following tags DchCalScripts V00-03-05 DchOepApps V00-02-12 DchOepSequences V00-01-08 DchProxy V01-01-07 DchTestStand V00-05-04 L3Dch V00-05-13 L3Trigger V00-07-01 workdir V00-04-10 4) source DchTestStand/setup.csh (said 27 when it ask for the platform) 5) execute gmake workdir.setup 6) Do nothing 7) This step has not to be done any more in DchCalScripts/runTrigCalibration.csh, comment out the lines which starts the event display (Dali doesn't support such a load). If we run on a more powerfull machine, we can put that back. see below the extra stuff we would need to do. 8) in L3Dch/L3DDchTC.cc, comment out the 2 lines which return AppResult::ERROR because nTC==0 or nTC==1, error message "Did not find any L1DTsfModuleTC in the event." and " Did not find the second L1DTsfModuleTC in the event." 9) copy /afs/slac.stanford.edu/g/babar/detector/trg/Interface/DchDct/DchDctRel8.6.1/ignoreCrateMask.tcl to your new release directory. 10) execute : gmake lib gmake DchCalScripts.bin gmake DchOepApps.DchOepFramework gmake DchOepApps.DchFMonOffline 11) execute : DchTestStand/link-files.csh DchTestStand/directories.csh NB : a certain number of editing won't be necessary when most of the changes commited with new tags. (except step 7 probably) Gerald Grenier, October 28th 2002.