Commit in lcsim/src/org/lcsim/util/event on MAIN
BaseCalorimeterHit.java+4-31.1 -> 1.2
GL: Bug fix: update decoder before calculationg hit position

lcsim/src/org/lcsim/util/event
BaseCalorimeterHit.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- BaseCalorimeterHit.java	2 Aug 2005 17:18:05 -0000	1.1
+++ BaseCalorimeterHit.java	25 Aug 2005 23:54:08 -0000	1.2
@@ -17,7 +17,7 @@
    protected double[] position;
    protected double time;
    protected long id;
-  
+
    public double getTime()
    {
       return time;
@@ -38,6 +38,7 @@
       if (position == null)
       {
          IDDecoder iddecoder = data.getIDDecoder();
+	 iddecoder.setID( id );
          position = new double[3];
          position[0] = iddecoder.getX();
          position[1] = iddecoder.getY();
@@ -60,5 +61,5 @@
    public long getCellID()
    {
       return id;
-   }  
-}
\ No newline at end of file
+   }
+}
CVSspam 0.2.8