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

Question Does a registered StackingAction need to be "enabled" somehow? 

Forum: Run Management
Date: 28 Aug, 2018
From: Michael H. Kelsey <Michael H. Kelsey>

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

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

1 None: Re: Does a registered StackingAction need to be   (michel maire - 29 Aug, 2018)
 Add Message Add Message
to: "Does a registered StackingAction need to be "enabled" somehow?"

 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 ]