Message: Re: Does a registered StackingAction need to be Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Does a registered StackingAction need to be  

Forum: Run Management
Re: Question Does a registered StackingAction need to be "enabled" somehow? (Michael H. Kelsey)
Date: 29 Aug, 2018
From: michel maire <michel maire>

On Tue, 28 Aug 2018 19:52:25 GMT, Michael H. Kelsey wrote:
> My application includes a local StackingAction, inherited from
> G4UserStackingAction. Only the ClassifyNewTrack() function is
> overridden. Using LLDB, I have confirmed that the stacking action is
> instantiated, and that it is registered with a call to SetUserAction()
> (I followed the calling chain from ActionInitializaton to RunManager to
> EventManager to StackManager, and confirmed that the same, correct,
> pointer was being passed all the way through).
> 
> However, it appears that the ClassifyNewTrack() function is never
> called! Is there a requirement that user actions be "enabled" for
> running? Or perhaps there's some way my StackingAction is being
> "disabled"?
> 
>   -- Michael Kelsey
> 

 In example basic/B3 we use StackingAction::ClassifyNewTrack() to kill neutrino.
 You can verify that it works correctly

          Michel

 Add Message Add Message
to: "Re: Does a registered StackingAction need to be "

 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 ]