Print

Print


Author: [log in to unmask]
Date: Thu Feb  5 18:33:57 2015
New Revision: 3514

Log:
Check for 0 step length before suspending track to fix hang in 3D field map.  SLIC-244

Modified:
    projects/slic/trunk/src/SteppingAction.cc

Modified: projects/slic/trunk/src/SteppingAction.cc
 =============================================================================
--- projects/slic/trunk/src/SteppingAction.cc	(original)
+++ projects/slic/trunk/src/SteppingAction.cc	Thu Feb  5 18:33:57 2015
@@ -23,7 +23,7 @@
 void SteppingAction::UserSteppingAction(const G4Step* step) {
 
     /* Check for back scattering. */
-    if (isBackScattering(step)) {
+    if (isBackScattering(step) && step->GetStepLength() != 0.) {
 
         // Get track information.
         UserTrackInformation* trackInfo =

########################################################################
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