hps-java/src/main/java/org/lcsim/hps/conditions/ecal
diff -N EcalChannelConstants.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ EcalChannelConstants.java 4 Oct 2013 01:49:23 -0000 1.1
@@ -0,0 +1,68 @@
+package org.lcsim.hps.conditions.ecal;
+
+/**
+ * This class represents ECAL conditions per channel. Individual channel
+ * settings can be retrieved using the {@link EcalConditions} object.
+ * @author Jeremy McCormick <[log in to unmask]>
+ */
+public class EcalChannelConstants {
+
+ EcalGain gain = null;
+ EcalCalibration calibration = null;
+ boolean badChannel = false;
+
+ /**
+ * Class constructor, which is package protected.
+ */
+ EcalChannelConstants() {
+ }
+
+ /**
+ * Set the gain.
+ * @param gain The gain object.
+ */
+ void setGain(EcalGain gain) {
+ this.gain = gain;
+ }
+
+ /**
+ * Set the calibration.
+ * @param calibration The calibration object.
+ */
+ void setCalibration(EcalCalibration calibration) {
+ this.calibration = calibration;
+ }
+
+ /**
+ * Set the bad channel setting.
+ * @param badChannel The bad channel setting.
+ */
+ void setBadChannel(boolean badChannel) {
+ this.badChannel = badChannel;
+ }
+
+ /**
+ * Get the gain.
+ * @return The gain.
+ */
+ public EcalGain getGain() {
+ return gain;
+ }
+
+ /**
+ * Get the calibration.
+ * @return The calibration.
+ */
+ public EcalCalibration getCalibration() {
+ return calibration;
+ }
+
+ /**
+ * Get whether this channel is bad or not.
+ * @return True if channel is bad; false if not.
+ */
+ public boolean isBadChannel() {
+ return badChannel;
+ }
+
+}
hps-java/src/main/java/org/lcsim/hps/conditions/svt
diff -u -r1.1 -r1.2
--- SvtGainConverter.java 4 Oct 2013 01:43:48 -0000 1.1
+++ SvtGainConverter.java 4 Oct 2013 01:49:23 -0000 1.2
@@ -11,9 +11,9 @@
import org.lcsim.hps.conditions.DatabaseConditionsConverter;
/**
- * This class creates a {@link SvtCalibrationCollection} from the conditions database.
+ * This class creates a {@link SvtGainCollection} from the conditions database.
* @author Jeremy McCormick <[log in to unmask]>
- * @version $Id: SvtGainConverter.java,v 1.1 2013/10/04 01:43:48 jeremy Exp $
+ * @version $Id: SvtGainConverter.java,v 1.2 2013/10/04 01:49:23 jeremy Exp $
*/
public class SvtGainConverter extends DatabaseConditionsConverter<SvtGainCollection> {