
SYNOPSIS

	testdaq-splitter <TestDAQ-run-directory> <output-directory>

ARGUMENTS

	TestDAQ-run-directory
		Specify the path to the TestDAQ directory that holds
		the raw TestDAQ data files .hit, .mon, .tcal, ...

	output-directory
		Specify a path to an output directory.  

NOTE

	A utility to split TestDAQ stream files into DOM-specific
	files which DOMtest likes to use.  The script will make the 
	following file structure
		
		$OUTDIR/$MBID/$RUNDIR_$MBID.hit
		$OUTDIR/$MBID/$RUNDIR_$MBID.mon
		$OUTDIR/$MBID/$RUNDIR_$MBID.tcal
		$OUTDIR/$MBID/$RUNDIR_$MBID.extern
		$OUTDIR/$MBID/$RUNDIR_$MBID.xml

	for each MBID found in the input datafiles.  Additionally,
	the XML run header file is split so that the <activeDOMs>
	only contains an entry for the particular DOM written out
	in that subdirectory.

AUTHOR
	Kael Hanson <kael.hanson@icecube.wisc.edu>

