lcsim/src/org/lcsim/event/base
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;