Domtest Package

This package provides control classes for running a series of tests on a given DOM or group of DOMs. DomtestMain is a command-line class that receives instructions in the form of an XML filename argument at the command line and orchestrates the behavior of the classes needed to run the tests as instructed.

A domtest consists of an series of 3-part analyses. Each analysis consists of a MonitorAnalysis, a HitAnalysis and a Judgement. Any of these three may be omitted by leaving them out of the XML instructions.

A domtest must be created before it can be run. This is done by writing an XML instruction file that conforms to the schema here. Eventually, there will also be a GUI utility to create and modify domtest input files. The main class for this utility will be found in ./gui/ However, this utility does yet exist, and we do not have a specific timeframe for its completion.

Once an XML description file has been written, the domtest may be run. The description filename is passed as an argument to the DomtestMain class. Executing the following command from the root directory of the icecube classpath on your local machine will cause the domtest package to run the tests specified in the instruction file:
java icecube.testdaq.domtest.DomtestMain filename

The domtest package essentially provides a structure for handling analyses. Some of these analyses come pre-written with the testdaq.analysis package, while others may be written by local developers as the need arises. However, in order to maintain consistency across the project, any new analysis classes should be submitted to the Penn State group, and added to the repository after careful review.

For more information on creating a hit analysis, click here. For a judgement analysis, click here. For information about how monitor analysis works and which parameters may be used to make montior decisions, click here.

IntervalProcessor

The interval processor is a java object used to sort time intervals from a data file into their proper location in a Tree. This class is largely transparent at the analysis level, needing only to be instantiated and passed back to the domtest structure.

public IntervalProcessor(List files, List intervalGroupLists, String[] param) throws IOException, DataTypeException
This constructor accepts a List of File objects referring to data files, a List of intervalGroupList objects, which contain the valid time intervals for each data file, and an array of Strings, which are the names of the monitor parameters that the Tree branches on.