Commit in lcsim/src/org/lcsim/conditions on MAIN
DetectorLocator.java+51.3 -> 1.4
JM: Add static method to retrieve the current Detector without EventHeader (did I miss an existing method to do this?)

lcsim/src/org/lcsim/conditions
DetectorLocator.java 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- DetectorLocator.java	16 Feb 2006 01:55:28 -0000	1.3
+++ DetectorLocator.java	5 Apr 2006 23:47:27 -0000	1.4
@@ -27,6 +27,11 @@
 {    
     static final public String MASTER_TAGLIST_URL = "http://lcsim.org/detectors/taglist.txt";    
     
+    public static Detector getCurrentDetector()
+    {
+        return findDetector(ConditionsManager.defaultInstance().getDetector());
+    }
+    
     /**
      * 
      * Static utility function to lookup a Detector by name and run number.
CVSspam 0.2.8