Print

Print


Commit in lcsim/src/org/lcsim/event/base on MAIN
BaseCalorimeterHit.java+20-11.15 -> 1.16
provide fully qualified ctor for this base class

lcsim/src/org/lcsim/event/base
BaseCalorimeterHit.java 1.15 -> 1.16
diff -u -r1.15 -r1.16
--- BaseCalorimeterHit.java	20 Jul 2012 09:23:15 -0000	1.15
+++ BaseCalorimeterHit.java	1 Feb 2013 00:26:23 -0000	1.16
@@ -22,7 +22,7 @@
  * 
  * @author tonyj
  * @author jeremym
- * @version $Id: BaseCalorimeterHit.java,v 1.15 2012/07/20 09:23:15 grefe Exp $
+ * @version $Id: BaseCalorimeterHit.java,v 1.16 2013/02/01 00:26:23 jeremy Exp $
  */
 public abstract class BaseCalorimeterHit extends BaseHitWithPosition implements CalorimeterHit {
 
@@ -33,6 +33,25 @@
     protected double time;
     protected long id;
     protected int type;
+    
+    protected BaseCalorimeterHit() 
+    {        
+    }
+    
+    public BaseCalorimeterHit(
+            double rawEnergy,
+            double corrEnergy,
+            double energyError,
+            double time,
+            long id,
+            int type) {
+        this.rawEnergy = rawEnergy;
+        this.corrEnergy = corrEnergy;
+        this.energyError = energyError;
+        this.time = time;
+        this.id = id;
+        this.type = type;
+    }
 
     public double getTime() {
         return time;
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1