java/trunk/conditions/src/main/java/org/hps/conditions/ecal
--- java/trunk/conditions/src/main/java/org/hps/conditions/ecal/EcalChannelConstants.java 2014-04-03 16:17:25 UTC (rev 438)
+++ java/trunk/conditions/src/main/java/org/hps/conditions/ecal/EcalChannelConstants.java 2014-04-03 16:19:44 UTC (rev 439)
@@ -8,6 +8,7 @@
EcalGain gain = null;
EcalCalibration calibration = null;
+ EcalTimeShift timeShift = null;
boolean badChannel = false;
/**
@@ -33,9 +34,17 @@
}
/**
- * Set the bad channel setting.
- * @param badChannel The bad channel setting.
+ * Set the time shift.
+ * @param timeShift the time shift
*/
+ void setTimeShift(EcalTimeShift timeShift) {
+ this.timeShift = timeShift;
+ }
+
+ /**
+ * Set whether this is a bad channel.
+ * @param badChannel set to true to flag channel as bad
+ */
void setBadChannel(boolean badChannel) {
this.badChannel = badChannel;
}
@@ -57,6 +66,14 @@
}
/**
+ * Get the time shift.
+ * @return the time shift
+ */
+ public EcalTimeShift getTimeShift() {
+ return timeShift;
+ }
+
+ /**
* Get whether this channel is bad or not.
* @return True if channel is bad; false if not.
*/