lcsim/src/org/lcsim/util/lcio
diff -u -r1.11 -r1.12
--- SIOCalorimeterHit.java 4 May 2010 17:48:24 -0000 1.11
+++ SIOCalorimeterHit.java 5 May 2010 16:14:11 -0000 1.12
@@ -12,7 +12,7 @@
* SIO-based I/O implementation of the CalorimeterHit interface
*
* @author Guilherme Lima
- * @version $Id: SIOCalorimeterHit.java,v 1.11 2010/05/04 17:48:24 ngraf Exp $
+ * @version $Id: SIOCalorimeterHit.java,v 1.12 2010/05/05 16:14:11 ngraf Exp $
*/
class SIOCalorimeterHit extends BaseCalorimeterHit
{
@@ -25,7 +25,7 @@
cellid1 = in.readInt();
}
this.id = ((long) cellid1)<<32 | cellid0;
- this.rawEnergy = in.readFloat();
+ this.corrEnergy = in.readFloat();
if (version>1002 && (flags&(1<<LCIOConstants.RCHBIT_TIME)) != 0)
{
@@ -62,7 +62,7 @@
out.writeInt((int) (cellID>>32));
}
- out.writeFloat( (float)hit.getRawEnergy() );
+ out.writeFloat( (float)hit.getCorrectedEnergy() );
if( LCIOUtil.bitTest( flags, LCIOConstants.RCHBIT_TIME)) {
out.writeFloat( (float)hit.getTime() );