Some instructions from Blair Jamieson: Updated Oct 2004 by Renee Upated again Nov 2004 by Blair Looking at Some Split Run histograms ------------------------------------ I made a script (that still needs some cleanup) that makes a postcript file containing some of the histograms from the automatic split run analysis. Once a split run is finished being analyzed, you can make the plots using the script by: as twistonl, cd ~twistonl/online_anal/ plotsplitrun.csh 18227 Then the results will end up in the directory: ~twistonl/online_anal/ps/*18227.root.ps.gz If you want to look at other histograms from the root files produced by automatic analysis, the split run root files are in their respective analysis queue directories: /twist/data7/auto/split_mofia/current/data/ /twist/data7/auto/full_mofia/current/data/ /twist/data7/auto/full_qod/current/data/ Running Mofia ------------- To run online mofia simply type: ... > start_mofia (which sets the environment variable MHIST, so that hbook files will be put in the directory ~twistonl/online_anal/hist). Then you need to select a kcm file to run. In general the newly created kcm file sample_runs.kcm should do the trick for magnet on data. So issue a command like: setenv MOFIA_INIT sample_runs.kcm By default, "raw.kcm" is selected. Then run mofia: ...> mofia If the analysis doesn't start immediately, then at the mofia command line type in ana (number of events) to analyze events. By default the sample_runs.kcm analyzes 1000 events, calculates efficiencies and exits mofia. You can change this by editing the last few lines of the kcm file. Looking at Mofia hbook files ---------------------------- Type paw_mofia to look at files in the ~twistonl/online_anal/hist directory if you've been running mofia yourself. If you want to look at hbook files from the automatic analysis of sample files, then start paw++ in the directory /twist/data7/auto/split_mofia/current/data Once paw++ is started, open the hbook file for the run you're interested in, and look at the histograms. If you want to look at a selected set of histograms, then you can run the macro shortlist. You can do this once the hbook file has been opened by clicking on the MACRO directory, then double clicking on the macro called shortlist. To change the histograms that the shortlist macro looks at, edit the file shortlist.dat, which contains the list of histogram numbers to look at. The macro will prompt you to push a button to see the next histogram in its list. To stop the macro enter a 0 in the text box before pushing the button. To look at the previous histogram in the list enter a 1 in the text box before pushing the button.