Skip to content
Snippets Groups Projects
Commit 4b7e4b38 authored by Rene Brun's avatar Rene Brun
Browse files

From Andrei

- patch for reflections at boundaries used by optical processes in G4


git-svn-id: http://root.cern.ch/svn/root/trunk@16950 27541ba8-7e3a-0410-8455-c3a389f83636
parent 536d7c3e
Branches
Tags
No related merge requests found
// @(#)root/g4root:$Name: $:$Id: TG4RootNavigator.cxx,v 1.1 2006/11/22 17:14:01 brun Exp $
// @(#)root/g4root:$Name: $:$Id: TG4RootNavigator.cxx,v 1.2 2006/11/22 17:29:54 rdm Exp $
// Author: Andrei Gheata 07/08/06
/*************************************************************************
......@@ -116,6 +116,7 @@ G4double TG4RootNavigator::ComputeStep(const G4ThreeVector &pGlobalPoint,
if (pNewSafety<0.) pNewSafety = 0.;
G4double step = (gGeoManager->GetStep()+tol)*cm;
// if (step >= pCurrentProposedStepLength) step = kInfinity;
if (step < 2.*tol*cm) step = 0.;
fStepEntering = fGeometry->IsStepEntering();
fStepExiting = fGeometry->IsStepExiting();
if (fStepEntering || fStepExiting) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment