Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
TrackerReconDriver.java | +5 | -5 | 1.24 -> 1.25 |
Added class name to debug output.
diff -u -r1.24 -r1.25 --- TrackerReconDriver.java 24 Aug 2012 01:02:26 -0000 1.24 +++ TrackerReconDriver.java 9 Oct 2012 01:12:08 -0000 1.25 @@ -188,17 +188,17 @@
// Debug printouts. if (debug) {
- System.out.println("The HelicalTrackHit collection " + stInputCollectionName + " has " + event.get(HelicalTrackHit.class, stInputCollectionName).size() + " hits.");
+ System.out.println(this.getClass().getSimpleName() + ": The HelicalTrackHit collection " + stInputCollectionName + " has " + event.get(HelicalTrackHit.class, stInputCollectionName).size() + " hits.");
// Check for Tracks. List<Track> tracks = event.get(Track.class, trackCollectionName);
- System.out.println("The Track collection " + trackCollectionName + " has " + tracks.size() + " tracks.");
+ System.out.println(this.getClass().getSimpleName() + ": The Track collection " + trackCollectionName + " has " + tracks.size() + " tracks.");
// Print out track info. for (Track track : tracks) {
- System.out.println(track.toString()); - System.out.println("number of layers = " + track.getTrackerHits().size()); - System.out.println("chi2 = " + track.getChi2());
+ System.out.println(this.getClass().getSimpleName() + ": " + track.toString()); + System.out.println(this.getClass().getSimpleName() + ": number of layers = " + track.getTrackerHits().size()); + System.out.println(this.getClass().getSimpleName() + ": chi2 = " + track.getChi2());
} }
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