Commit in lcsim/src/org/lcsim/event/base on MAIN
BaseSimCalorimeterHit.java+11-11.5 -> 1.6
Added a shiftTime method needed for the overlay processor

lcsim/src/org/lcsim/event/base
BaseSimCalorimeterHit.java 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- BaseSimCalorimeterHit.java	23 May 2008 22:59:31 -0000	1.5
+++ BaseSimCalorimeterHit.java	15 Feb 2011 23:23:13 -0000	1.6
@@ -36,7 +36,17 @@
         super.rawEnergy = rawEnergy;
         super.time = time;
         super.position = null;
-    }               
+    }
+    
+    public void shiftTime(double time)
+    {
+    	super.time = this.getTime() + time;
+    	for (int i=0; i<times.length; i++)
+    	{
+    		times[i] += time;
+    	}
+    	
+    }
    
     public double getTime()
     {
CVSspam 0.2.8