java/trunk/conditions/src/main/java/org/hps/conditions/ecal
--- java/trunk/conditions/src/main/java/org/hps/conditions/ecal/EcalConditionsLoader.java 2014-04-02 21:30:33 UTC (rev 437)
+++ java/trunk/conditions/src/main/java/org/hps/conditions/ecal/EcalConditionsLoader.java 2014-04-03 16:17:25 UTC (rev 438)
@@ -32,7 +32,7 @@
//System.out.println(crystal.getName() + " @ " + crystal.getX() + ", " + crystal.getY());
// Reset possibly existing conditions data.
- crystal.reset();
+ crystal.resetConditions();
// Find the corresponding entry in the channel map for this crystal.
GeometryId geometryId = new GeometryId();
@@ -69,6 +69,9 @@
// Set gain.
crystal.setGain(constants.getGain().getGain());
+
+ // Set time shift.
+ crystal.setTimeShift(constants.getTimeShift().getTimeShift());
}
}
}
\ No newline at end of file