Commit in hps-java/src/main/java/org/lcsim/hps/monitoring on MAIN
HPSCalibrationListener.java+5-31.2 -> 1.3
Updated to load SVT bad channels

hps-java/src/main/java/org/lcsim/hps/monitoring
HPSCalibrationListener.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- HPSCalibrationListener.java	13 May 2012 21:38:20 -0000	1.2
+++ HPSCalibrationListener.java	13 Jul 2012 23:05:54 -0000	1.3
@@ -11,13 +11,14 @@
 /**
  *
  * @author Sho Uemura <[log in to unmask]>
- * @version $Id: HPSCalibrationListener.java,v 1.2 2012/05/13 21:38:20 meeg Exp $
+ * @version $Id: HPSCalibrationListener.java,v 1.3 2012/07/13 23:05:54 omoreno Exp $
  */
 public class HPSCalibrationListener implements EtEventListener {
 
     @Override
     public void begin() {
-        HPSSVTCalibrationConstants.loadCalibrationConstants(new Date(System.currentTimeMillis()));
+    	// Load calibration constants and bad SVT channels found during QA
+    	HPSSVTCalibrationConstants.loadCalibrationConstants(new Date(System.currentTimeMillis()), -1);
         HPSEcalConditions.loadPedestals();
     }
 
@@ -39,7 +40,8 @@
 
     @Override
     public void prestart(int seconds, int runNumber) {
-        HPSSVTCalibrationConstants.loadCalibrationConstants(new Date(((long) seconds) * 1000));
+    	// Load calibration constants and bad SVT channels found for the specified run
+    	HPSSVTCalibrationConstants.loadCalibrationConstants(new Date(((long) seconds) * 1000), runNumber);
     }
 
     @Override
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1