Commit in lcsim/src/org/lcsim/recon/tracking/digitization/sisim/config on MAIN | |||
SimTrackerHitReadoutDriver.java | +3 | -1 | 1.3 -> 1.4 |
check that DE wasn't null
diff -u -r1.3 -r1.4 --- SimTrackerHitReadoutDriver.java 24 Aug 2011 18:51:18 -0000 1.3 +++ SimTrackerHitReadoutDriver.java 26 Mar 2012 17:04:10 -0000 1.4 @@ -68,7 +68,9 @@
if (canHandle(header.getMetaData(collection).getName())) { for (SimTrackerHit hit : collection)
- {
+ {
+ if (hit.getDetectorElement() == null)
+ throw new RuntimeException("Can't find DetectorElement for hit!");
hit.getDetectorElement().getReadout().addHit(hit); if (debug) {
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