...
We present two examples of wrapper classes here:
- A Java wrapper that can be used to load your existing modules
- A Jython wrapper that can be used to load your existing Java modules as well as modules written in Jython that you may have.
Note |
---|
Independent of the wrapper you choose, please make sure that all your Java analysis modules have been compiled with Javac and that the location of the resulting .class files is part of the CLASSPATH environment variable. |
Using the Java wrapper
Anchor | ||||
---|---|---|---|---|
|
Please save MainLoop.java, Analysis101.java and psiMuMu.slcio to your harddisk. psiMuMu.slcio is a small datasample, Analysis101.java is our analysis module, which is taken straight from the JAS3 examples, and MainLoop.java is the wrapper that takes care of loading the analysis module correctly.
After compiling the java files with
...
Info | ||||
---|---|---|---|---|
You can add your own analysis modules by replacing
with your analysis modules
|
Using the Jython wrapper
Anchor | ||||
---|---|---|---|---|
|
Please save mainLoop.py, Analysis101.java, Analysis102.py and psiMuMu.slcio to your harddisk. psiMuMu.slcio is a small datasample, Analysis101.java is our analysis module, which is taken straight from the JAS3 examples, Analysis102.py is a slightly modified Jython version of the Java module and mainLoop.py is the wrapper that takes care of loading the analysis module correctly.
After compiling the java file with
...