Commit in lcsim/src/org/lcsim/recon/tracking/digitization/sisim on MAIN
GenericReadoutChip.java+4-41.1 -> 1.2
Return charge in units of electrons, not fC

lcsim/src/org/lcsim/recon/tracking/digitization/sisim
GenericReadoutChip.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- GenericReadoutChip.java	24 Apr 2009 01:22:58 -0000	1.1
+++ GenericReadoutChip.java	29 Apr 2009 21:37:11 -0000	1.2
@@ -134,15 +134,15 @@
      * Decode the hit charge stored in the RawTrackerHit
      *
      * @param hit raw hit
-     * @return hit charge
+     * @return hit charge in units of electrons
      */
     public double decodeCharge(RawTrackerHit hit) {
 
         //  Get the ADC value
         int adc = hit.getADCValues()[0];
 
-        //  Return the charge associated with the ADC value
-        return adc / _channel.getConversionConstant();
+        //  Return the charge in electrons associated with the ADC value
+        return adc / (1.6e-4 * _channel.getConversionConstant());
     }
 
     /**
@@ -375,7 +375,7 @@
         }
 
         /**
-         * Return the noise for a given strip/pixel capacitance
+         * Return the noise in electrons for a given strip/pixel capacitance
          *
          * @param capacitance capacitance in fF
          * @return noise in electrons
CVSspam 0.2.8