Message: Re: Set Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Set  

Forum: Event and Track Management
Re: Question Set (Jincai)
Date: Apr 24, 05:49
From: Makoto Asai <Makoto Asai>

UserSteppingAction is invoked after all the Geant4 processes including G4Transportation have already took place, and thus you cannot change any physics quantities of G4Step or G4Track, e.g. track momentum direction. To change momentum direction, you need to implement a "process" to change it, and you have to add it in the physics list. You may use G4OpBoundaryProcess as a starting point of your own process.
Hope this helps,
Makoto Asai

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: Set   (Jincai - Apr 24, 06:41)
(_ None: Re: Set   (Makoto Asai - Apr 24, 06:48)
1 Question: Re: Set   (Jincai - Apr 24, 08:02)
1 None: Re: Set   (Makoto Asai - Apr 24, 08:38)
... 1 Message(s)
2 Question: Re: Set   (Jincai - Apr 24, 17:23)
 Add Message Add Message
to: "Re: Set "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]