lcsim/src/org/lcsim/event/base
diff -N BaseRawCalorimeterHit.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ BaseRawCalorimeterHit.java 21 Mar 2012 01:25:57 -0000 1.1
@@ -0,0 +1,34 @@
+package org.lcsim.event.base;
+
+import org.lcsim.event.RawCalorimeterHit;
+
+/**
+ * This is a basic implementation of {@link org.lcsim.event.RawCalorimeterHit}.
+ * @author Jeremy McCormick <[log in to unmask]>
+ */
+public class BaseRawCalorimeterHit implements RawCalorimeterHit {
+
+ long id;
+ int amplitude;
+ int timestamp;
+
+ protected BaseRawCalorimeterHit() {}
+
+ public BaseRawCalorimeterHit(long id, int amplitude, int timestamp) {
+ this.id = id;
+ this.amplitude = amplitude;
+ this.timestamp = timestamp;
+ }
+
+ public long getCellID() {
+ return id;
+ }
+
+ public int getAmplitude() {
+ return amplitude;
+ }
+
+ public int getTimeStamp() {
+ return timestamp;
+ }
+}