1#ifndef SIMG4FULL_G4FULLSIMACTIONS_H
2#define SIMG4FULL_G4FULLSIMACTIONS_H
5#include "GaudiKernel/AlgTool.h"
6#include "GaudiKernel/SystemOfUnits.h"
21 explicit SimG4FullSimActions(
const std::string& type,
const std::string& name,
const IInterface* parent);
39 Gaudi::Property<bool>
m_enableHistory{
this,
"enableHistory",
false,
"Set to true to save secondary particle info"};
40 Gaudi::Property<double>
m_energyCut{
this,
"energyCut", 0.0 * Gaudi::Units::GeV,
"minimum energy for secondaries to be saved"};
Tool for loading full simulation user action initialization (list of user actions)
Definition SimG4FullSimActions.h:19
virtual StatusCode finalize()
Finalize.
Definition SimG4FullSimActions.cpp:22
SimG4FullSimActions(const std::string &type, const std::string &name, const IInterface *parent)
Definition SimG4FullSimActions.cpp:8
virtual StatusCode initialize() final
Initialize.
Definition SimG4FullSimActions.cpp:15
virtual G4VUserActionInitialization * userActionInitialization() final
Get the user action initialization.
Definition SimG4FullSimActions.cpp:24
Gaudi::Property< double > m_energyCut
Definition SimG4FullSimActions.h:40
Gaudi::Property< bool > m_enableHistory
Set to true to save secondary particle info.
Definition SimG4FullSimActions.h:39
virtual ~SimG4FullSimActions()
Definition SimG4FullSimActions.cpp:13