oo o To checout the software, compile and run cd whereYouWantToWork svn co https://svn.anl.gov/repos/gs_analysis/DGSSort . modify test.sh with information about where your data is, etc ./test.sh root -l .x bar.cc ----------------------------------------------------- old instructions, replaced by content of test.sh cd DGSSort mkdir ../bin_`uname`_`uname -i` make GTMerge make DGSSort make mkMap root .L GSUtil.cc++ .q cd .. before you can run GTMerge, you must have a ID map file; you can greate is as bin_`uname`_`uname -i`/mkMap > map.dat to run GTMerge, do something like bin_`uname`_`uname -i`/GTMerge 100000 40 DATA/bi207.gtd 1 `ls DATA/run_1.gtd*` to run the sorter, fetch a chatfile and modify it cp DGSsort/DGSsort.chat . then run the root sorter like DGSsort -chat DGSsort.chat to run root cp DGSsort/bar.cc . root .x bar.cc ---------------------------------- to energy calibrate: rm ehi.cal bin_`uname`_`uname -i`/GTMerge 100000 40 DATA/bi207.gtd 1 `ls DATA/run_1.gtd*` DGSsort -chat DGSsort.chat read in root file and run the GSUtil calibrator as: ehialign("DUMMY","ehi.cal",1.0, 1.0, 6, "207Bi",360) then next time you run GTMerge, it will use the ehi.cal file your generated above