Print

Print


Commit in java/trunk/hps-java/src/main/java/org/lcsim/hps/readout/ecal on MAIN
FADCEcalReadoutDriver.java+1-1216 -> 217
correct energy units

java/trunk/hps-java/src/main/java/org/lcsim/hps/readout/ecal
FADCEcalReadoutDriver.java 216 -> 217
--- java/trunk/hps-java/src/main/java/org/lcsim/hps/readout/ecal/FADCEcalReadoutDriver.java	2014-02-12 23:40:01 UTC (rev 216)
+++ java/trunk/hps-java/src/main/java/org/lcsim/hps/readout/ecal/FADCEcalReadoutDriver.java	2014-02-13 00:42:19 UTC (rev 217)
@@ -91,7 +91,7 @@
     private boolean constantTriggerWindow = false;
     private boolean addNoise = false;
     //TODO: change to 2014 value
-    private double lightYield = 120.; // number of photons per MeV
+    private double lightYield = 120. / ECalUtils.MeV; // number of photons per MeV
     private double quantumEff = 0.7;  // quantum efficiency of the APD
     private double surfRatio = (10. * 10.) / (16 * 16); // surface ratio between APD and crystals
     private double gainAPD = 150.; // Gain of the APD
SVNspam 0.1