lcsim-cal-calib/src/org/lcsim/cal/calib
diff -u -r1.1 -r1.2
--- InterpolatedHMatrixProcessor.java 5 Jun 2008 22:59:35 -0000 1.1
+++ InterpolatedHMatrixProcessor.java 5 Jun 2008 23:10:09 -0000 1.2
@@ -3,7 +3,7 @@
*
* Created on June 5, 2008, 9:46 AM
*
- * $Id: InterpolatedHMatrixProcessor.java,v 1.1 2008/06/05 22:59:35 ngraf Exp $
+ * $Id: InterpolatedHMatrixProcessor.java,v 1.2 2008/06/05 23:10:09 ngraf Exp $
*/
package org.lcsim.cal.calib;
@@ -41,26 +41,15 @@
{
public static void main(String[] args) throws Exception
{
- boolean debug = true;
-
- String listOfFiles = null;
- String detectorName = null;
- if(debug)
- {
- listOfFiles = "C:/lcsim/lcsim-cal-calib/sid01_scint_hmxList.txt";
- detectorName = "sid01_scint";
- }
- else
+ if(args.length<2)
{
- if(args.length<2)
- {
- usage();
- return ;
- }
-
- listOfFiles = args[0];
- detectorName = args[1];
+ usage();
+ return ;
}
+
+ String listOfFiles = args[0];
+ String detectorName = args[1];
+
List<File> filesToProcess = filesToProcess(listOfFiles);
int numToProcess = filesToProcess.size();
double energy = 0.;