lcsim/src/org/lcsim/recon/tracking/seedtracker
diff -u -r1.3 -r1.4
--- MaterialManagerNew.java 10 Feb 2011 01:10:23 -0000 1.3
+++ MaterialManagerNew.java 10 Feb 2011 06:58:29 -0000 1.4
@@ -37,12 +37,12 @@
* This class should now group together SiTrackerEndcap2 layers correctly.
*
* @author Jeremy McCormick
- * @version $Id: MaterialManagerNew.java,v 1.3 2011/02/10 01:10:23 jeremy Exp $
+ * @version $Id: MaterialManagerNew.java,v 1.4 2011/02/10 06:58:29 jeremy Exp $
*/
public class MaterialManagerNew
{
// Variables from original MaterialManager class.
- private static final boolean DEBUG = false; // enable debug output
+ private static final boolean DEBUG = true; // enable debug output
private static final boolean TUBE_ONLY = false; // only use Tube elements
// for calculating volume.
private List<MaterialPolyconeSegment> _matpc = new ArrayList<MaterialPolyconeSegment>();
@@ -126,9 +126,8 @@
String path = "";
PhysicalVolumeNavigator.getLeafPaths(modulePaths, module.getGeometry().getPhysicalVolume(),
path);
- modulePaths.add(path);
}
- // Add module.
+ // Add module paths to this layer.
pathGroups.add(modulePaths);
}
}