Disclaimer: This document is not in any way designed to be an exhaustive summary of the Java classes used to create the IceCube Oscilloscope. It includes a limited discussion of the most important elements in the package. It discusses only methods and their actions, not the fields of the classes that support these methods. It is designed only to provide an introduction to the software for a developer who wishes to produce extensions to the software that would be of limited interest to other members of the collaboration. If you have requirements that you believe would benefit the collaboration as a whole, please Contact the Author.
The procedure to create a new analysis is quite straightforward; in fact, incorporating the new analysis into the GUI will most likely be far more time consuming than writing the actual analysis.
In order to create a new analysis class, all one needs to do is to extend AnalysisType. Implmenting the three abstract methods will guarantee that your analysis will function properly within the existing software. Some important things to remember when creating an analysis:
In order to make your analysis accessible to the user, several steps will be necessary. First, you must add a button to the Analysis menu in OscilloscopeMain with its name and give the button an action listener. The action listener will also need an implementation allowing the user to set the fields of the analysis (usually the input specification). This is best accomplished by opening a pop-up window.
This, of course, means that the pop-up window will have to be defined. The class PeakAreaWindow should serve as a useful template. When defining your window, make sure to allow the user to specify the DOM to which the analysis should be applied, as in most cases it will be a bad idea to apply the analysis to all incoming DOMs.