Print

Print


Commit in GeomConverter/sandbox/detector on MAIN
GeometryCatalog.java-621.1 removed


GeomConverter/sandbox/detector
GeometryCatalog.java removed after 1.1
diff -N GeometryCatalog.java
--- GeometryCatalog.java	28 Feb 2007 19:48:21 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,62 +0,0 @@
-/*
- * GeometryCatalog.java
- *
- * Created on November 9, 2006, 2:42 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
-
-package org.lcsim.contrib.subdetector.tracker.silicon;
-
-import java.util.Map;
-import java.util.HashMap;
-
-/**
- *
- * @author tknelson
- */
-public class GeometryCatalog
-{
-    
-    // Singleton implementation
-    static private GeometryCatalog _instance;
-
-    /**
-     * Creates a new instance of GeometryCatalog
-     */
-    private GeometryCatalog()
-    {
-    }
-
-    static public GeometryCatalog getInstance()
-    {
-        if (_instance == null)
-        {
-            _instance = new GeometryCatalog();
-        }
-        return _instance;
-    }        
-    
-    
-    // Storage of LVolumes
-    //====================
-    private Map<String,LVolume> _lvolumes = new HashMap<String,LVolume>();
-    
-    public LVolume getLVolume(String name)
-    {
-        return _lvolumes.get(name);
-    }
-    
-    public void addLVolume(String name, LVolume lvolume)
-    {
-        _lvolumes.put(name,lvolume);
-    }
-    
-    public void clearLVolumes()
-    {
-        _lvolumes.clear();
-    }
-    
-    
-}
CVSspam 0.2.8