allpix::ActionInitializationG4
Initializer for the tracker and generator actions, required for RunManager. More…
#include <ActionInitializationG4.hpp>
Inherits from G4VUserActionInitialization
Public Functions
Name | |
---|---|
ActionInitializationG4(const Configuration & config) | |
void | Build() const override Build the user action to be executed by the worker. |
void | BuildForMaster() const override Constructs a actions for Master. |
Detailed Description
template <class GEN ,
class INIT >
class allpix::ActionInitializationG4;
Initializer for the tracker and generator actions, required for RunManager.
Public Functions Documentation
function ActionInitializationG4
inline explicit ActionInitializationG4(
const Configuration & config
)
function Build
inline void Build() const override
Build the user action to be executed by the worker.
Note: All SetUserAction must be called from here
function BuildForMaster
inline void BuildForMaster() const override
Constructs a actions for Master.
Used to set up a particle source for master when UI commands are used
Updated on 2025-02-27 at 14:14:46 +0000