Problem 761

Summary: G4SteppingManager2.cc ignores the proposed TrackStatusChange of an AlongStepProcess DoIt
Product: Geant4 Reporter: gum
Component: trackingAssignee: Takashi.Sasaki
Status: RESOLVED FIXED    
Severity: major    
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
URL: http://geant4www.triumf.ca/viewcvs/viewcvs.cgi/source/tracking/src/G4SteppingManager2.cc.diff?r1=1.18&r2=1.19 http://geant4www.triumf.ca/viewcvs/viewcvs.cgi/source/tracking/src/G4SteppingManager2.cc.diff?r1=1.18&r2=1.19 http://geant4www.triumf.ca/viewcvs/viewcvs.cgi/source/tracking/src/G4SteppingManager2.cc.diff?r1=1.18&r2=1.19

Description gum 2005-06-28 15:03:43 CEST
This change in 7.0:

http://geant4www.triumf.ca/viewcvs/viewcvs.cgi/source/tracking/src/G4SteppingManager2.cc.diff?r1=1.18&r2=1.19

where the line:

fTrack->SetTrackStatus( fParticleChange->GetTrackStatus() );

has been commented out; thus the proposed TrackStatusChange of a
AlongStepProcess DoIt is now ignored.

For this reason, the G4Cerenkov process can no longer suspend the primary
particle track; i.e. the method:

        SetTrackSecondariesFirst(const G4bool state);
        // If set, the primary particle tracking is interrupted and any
        // produced Cerenkov photons are tracked next. When all have
        // been tracked, the tracking of the primary resumes.

no longer works as advertised.
Comment 1 Takashi.Sasaki 2005-07-14 05:54:59 CEST
This change was done by request form people who are in charge of the process
implementation. I will ask them to check if there is problem to change it
again.
Comment 2 Takashi.Sasaki 2005-07-19 04:10:59 CEST
The fix has been commmited.