Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
HPSSVTDAQMaps.java | +7 | -6 | 1.7 -> 1.8 |
remove apparently unnecessary duplicate call to conditions system; this has already been called if you are in this method...?
diff -u -r1.7 -r1.8 --- HPSSVTDAQMaps.java 5 May 2012 02:04:16 -0000 1.7 +++ HPSSVTDAQMaps.java 17 May 2012 00:15:26 -0000 1.8 @@ -26,7 +26,7 @@
* Creates maps between SVT sensors to FPGA and Hybrid pairs and vice versa * * @author Omar Moreno
- * @version $Id: HPSSVTDAQMaps.java,v 1.7 2012/05/05 02:04:16 omoreno Exp $
+ * @version $Id: HPSSVTDAQMaps.java,v 1.8 2012/05/17 00:15:26 jeremy Exp $
*/ public class HPSSVTDAQMaps extends Driver {
@@ -84,11 +84,12 @@
} // Get the HPS detector conditions
- try { - mgr.setDetector(detector.getDetectorName(), 0); - } catch (ConditionsNotFoundException e) { - System.out.println("The conditions for " + detector.getDetectorName() + " were not found!"); - }
+ // Removed this because it causes detector to be set twice when running jobs. --JM + //try { + // mgr.setDetector(detector.getDetectorName(), 0); + //} catch (ConditionsNotFoundException e) { + // System.out.println("The conditions for " + detector.getDetectorName() + " were not found!"); + //}
// Get the top SVT DAQ Map ConditionsSet svtDAQMap = mgr.getConditions("daqmap/SVTDAQMapTop");
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