lcsim/src/org/lcsim/contrib/EricBenavidez/EMClusterID
diff -N README
--- README 3 Nov 2006 21:05:34 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,67 +0,0 @@
-This code builds HMatrices and uses them in the analysis of single particle
-events.
-
-This code was written in a Linux environment, and the included classpath.sh
-file sets up the Java classpath appropriately. You will need to edit the
-variable LCSIM_SRC to point to where you have a built copy of the org.lcsim
-source for it to work.
-
-Building information:
-
-First, set up the classpath appropriately. The provided classpath.sh file
-should work under Linux environments (but see note above).
-
-Then, build the classes using the `javac' command, in the following order:
- javac MyCovMatrixTask.java
- javac MyCovMatrix.java
- javac MyCovMatrixBuilder.java
- javac EMClusterID_NoE.java
- javac Standalone_NoE.java
- javac PerformanceAnalysis.java
-
-Usage information:
-
-I recommend building the HMatrices in standalone mode. To do this, first make
-a directory called "CovMatrices" under this directory. Then, execute the
-Standalone_NoE class at a terminal. Usage information:
-
- java Standalone_NoE [-a|-b] inputFile [# events]
-where
- -a specifies that task is to analyze
- -b specifies that task is to build (default)
- inputFile specifies the .slcio file to analyze
- # events specifies the number of events to process (default -1: process all)
-
-Analysis is possible in batch, by using the -a switch. The resulting .aida
-file is then called "emClusterAnalysis.aida".
-
-Also, analysis is possible under JAS3 with the org.lcsim plugin. To do this
-analysis, open up JAS3 and do the following:
-
- 1. Compile the .java files under JAS3 in the order specified above for
- standalone compilation (except that it's not necessary to compile
- Standalone_NoE.java or PerformanceAnalysis.java).
- 2. Right-click the EMClusterID_NoE.java source code and choose Load.
- 3. Open up a .slcio file in JAS3 using the org.lcsim plugin.
- 4. Press the Run button (the button icon looks like a standard "play" button
- on a CD or tape player). (Do *not* right-click the source and choose Run.)
-
-PerformanceAnalysis.java is used to plot the efficiency of photon events vs.
-the purity of neutron events. This class can only be run under JAS3 with the
-org.lcsim plugin. To do this, open up JAS3 and do the following:
-
- 1. If you haven't already, compile the .java files under JAS3 in the order
- specified above for standalone compilation. This time, you must compile
- PerformanceAnalysis.java (but it's not necessary to compile
- Standalone_NoE.java under JAS3).
- 2. Right-click the PerformanceAnalysis.java source code and choose Load.
- 3. Open up an aida file named gamma.aida that is the result of running the
- analysis on a set of photon events. If you have such an .aida file with
- a different name, rename the file to gamma.aida or create a link to it
- called gamma.aida. Alternatively, edit lines 24 and 25 of
- PerformanceAnalysis.java, replacing "gamma.aida" on those lines with your
- preferred filename.
- 4. Do step 3, but for neutron.aida instead of gamma.aida.
- 5. Press the Run button (the button icon looks like a standard "play" button
- on a CD or tape player). (Do *not* right-click the source and choose Run.)
-