Message: Re: fStopAndKill with opPhotons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: fStopAndKill with opPhotons 

Forum: Processes Involving Optical Photons
Re: None fStopAndKill with opPhotons (Zach Miller)
Re: None Re: fStopAndKill with opPhotons (michel maire)
Re: None Re: fStopAndKill with opPhotons (Zach Miller)
Date: 25 Jul, 2014
From: michel maire <michel maire>

On Fri, 25 Jul 2014 15:21:47 GMT, Zach Miller wrote:
> Hi Michel,
> I've used the StackingAction to kill particles before upon their
> generation and addition to the stack, but I've also killed particles in
> SteppingAction before (in particular, I've killed neutrons and protons
> using SteppingAction after tracking each for a certain number of steps
> or through a certain volume).
> Is there a reason that StackingAction would be preferable, because I
> need to use the G4Step information to determine when to kill the
> particle and that is readily available in my SteppingAction method?

  If you want to kill particles as soon as they are created, you can use StackingAction.
 Otherwise, you are right, use SteppingAction.
 I do not know why fStopAndKill does not work. Is it only for OptPhoton or all particles ?

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

1 None: Re: fStopAndKill with opPhotons   (Zach Miller - 25 Jul, 2014)
(_ Feedback: Re: fStopAndKill with opPhotons   (Gumplinger Peter - 30 Jul, 2014)
(_ None: Re: fStopAndKill with opPhotons   (Zach Miller - 30 Jul, 2014)
(_ Idea: Re: fStopAndKill with opPhotons   (Michael H. Kelsey - 01 Aug, 2014)
 Add Message Add Message
to: "Re: fStopAndKill with opPhotons"

 Subscribe Subscribe

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