hps-java/src/main/java/org/lcsim/hps/recon/tracking
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");