Commit in lcsim/src/org/lcsim/event/base on MAIN | |||
BaseHit.java | +3 | 1.13 -> 1.14 |
getDetectorElement will try to look it up from geometry if it is null
diff -u -r1.13 -r1.14 --- BaseHit.java 10 Jul 2012 19:57:14 -0000 1.13 +++ BaseHit.java 20 Jul 2012 09:28:14 -0000 1.14 @@ -57,6 +57,9 @@
* @return The IDetectorElement for this hit. */ public IDetectorElement getDetectorElement() {
+ if (de == null) { + findDetectorElementByIdentifier(); + }
return de; }
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