Message: Any way to change UserAction registrations after the fact? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Any way to change UserAction registrations after the fact? 

Forum: Run Management
Date: 06 Jul, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

Is there any way to change the user actions registered by ActionInitialization::Build() after the fact? In particular, can this be done during the PreInit state (e.g., via UI commands), but after RunManager->SetUserInitialization(new ActionInitialization) has been called?

I have a use case where I would like to be able to switch between two different stacking actions (each of which comes from a different utility library) via a run-time macro command. As is usual with G4 applications, the UI is not instantiated until the RunManager configuration is finished.

  -- Michael Kelsey

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

1 None: Re: Any way to change UserAction registrations after the fact?   (Asai, Makoto - 06 Jul, 2017)
(_ None: Re: Any way to change UserAction registrations after the fact?   (Mike Kelsey - 06 Jul, 2017)
 Add Message Add Message
to: "Any way to change UserAction registrations after the fact?"

 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 ]