Some instructions from Blair Jamieson: Running Mofia ------------- To run online mofia go to the directory ~twistonl/online_anal, run the script 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 Then run 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 I think the sample_runs.kcm starts analyzing the whole file, calculates efficiencies and exits mofia. You can change this by editing the last few lines of the kcm file. Looking at Mofia hbook files ---------------------------- Start paw++ 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.