Commit in lcsim/src/org/lcsim/recon/tracking/seedtracker on MAIN | |||
MaterialManager.java | +3 | -3 | 1.17 -> 1.18 |
increase tolerance for isXPlane
diff -u -r1.17 -r1.18 --- MaterialManager.java 19 Apr 2012 20:23:04 -0000 1.17 +++ MaterialManager.java 25 May 2012 20:16:00 -0000 1.18 @@ -44,12 +44,12 @@
* @author Jeremy McCormick * @author Matt Graham *
- * @version $Id: MaterialManager.java,v 1.17 2012/04/19 20:23:04 jeremy Exp $
+ * @version $Id: MaterialManager.java,v 1.18 2012/05/25 20:16:00 mgraham Exp $
*/ public class MaterialManager { // Variables from original MaterialManager class.
- private boolean DEBUG = false; // enable debug output to System.out
+ private boolean DEBUG = true; // enable debug output to System.out
private static final boolean TUBE_ONLY = false; // only use Tube elements // for calculating volume. private List<MaterialPolyconeSegment> _matpc = new ArrayList<MaterialPolyconeSegment>();
@@ -523,7 +523,7 @@
private boolean isXPlane(double xmin, double xmax) {
- return (xmax-xmin)<1.0;//1mm
+ return (xmax-xmin)<50.0;//5cm...this should be safe since tubes have xmin and xmax set to default huge values
} public void setTransform(ITransform3D transform) {
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