Commit in projects/lcsim/trunk/detector-framework/src/test/java/org/lcsim/geometry/subdetector on MAIN | |||
HPSTestRunTracker2014Test.java | +2 | -3 | 3286 -> 3287 |
Added DE printout
--- projects/lcsim/trunk/detector-framework/src/test/java/org/lcsim/geometry/subdetector/HPSTestRunTracker2014Test.java 2014-09-02 05:00:29 UTC (rev 3286) +++ projects/lcsim/trunk/detector-framework/src/test/java/org/lcsim/geometry/subdetector/HPSTestRunTracker2014Test.java 2014-09-02 05:01:09 UTC (rev 3287) @@ -41,12 +41,11 @@
IDetectorElementStore store = DetectorElementStore.getInstance(); System.out.printf("%s: Printing %d DE:\n",this.getClass().getSimpleName(), store.size());
+ System.out.printf("%s: %50s %40s %50s\n",this.getClass().getSimpleName(), "name", "pos","mother");
for(IDetectorElement e : store) {
- System.out.printf("%s: %s\n",this.getClass().getSimpleName(), e.getName());
+ System.out.printf("%s: %50s %40s %50s \n",this.getClass().getSimpleName(), e.getName(),e.hasGeometryInfo()?e.getGeometry().getPosition().toString():" - ",e.getParent()==null?" - ":e.getParent().getName());
}
-
}
-
}
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1