Re: Some of LandFirstHits are empty - Neutrons simulation. [message #18525 is a reply to message #18524] |
Mon, 21 September 2015 13:09 |
Dmytro Kresan
Messages: 166 Registered: June 2004
|
first-grade participant |
From: *gsi.de
|
|
It is defined in function CheckIfSensitive() - file R3BLand.cxx, line number 451. You have to implement the check whether string volName contains "wrapping", and return kTRUE in this case.
NOTE: this will produce LandPoints also for wrapping volumes, which does not really make sense. To avoid it: implement at line 151 (after call to StepHistory()) check whether volume name contains "wrapping". If yes - make return kTRUE. This will store FirstHits but not the points.
Best regards,
Dima
|
|
|