hps-java/src/main/java/org/lcsim/hps/users/phansson
diff -u -r1.8 -r1.9
--- ecalGainAna.java 8 Sep 2012 00:17:53 -0000 1.8
+++ ecalGainAna.java 20 Nov 2012 20:00:36 -0000 1.9
@@ -30,8 +30,8 @@
private static Options createCommandLineOptions() {
Options option = new Options();
- option.addOption("f", true, "Input file");
- option.addOption("s", false, "Save to file");
+ option.addOption("f", true, "Input file for Pelle's analysis");
+ option.addOption("s", false, "Save to file (Pelle)");
option.addOption("n", true, "Name added to plots");
option.addOption("m", true, "Minimum weight for calibration");
option.addOption("d", true, "Detector used for calibration");
@@ -135,6 +135,7 @@
}
HPSEcalConditions.detectorChanged(DetectorLocator.findDetector(detectorName), "Ecal");
+ HPSEcalConditions.loadCalibration();
IHistogramFactory hf = af.createHistogramFactory(null);