k4SimGeant4
Loading...
Searching...
No Matches
SimG4FullSimActions Class Reference

Tool for loading full simulation user action initialization (list of user actions) More...

#include <SimG4FullSimActions.h>

Inheritance diagram for SimG4FullSimActions:
Collaboration diagram for SimG4FullSimActions:

Public Member Functions

 SimG4FullSimActions (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual ~SimG4FullSimActions ()
 
virtual StatusCode initialize () final
 Initialize.
 
virtual StatusCode finalize ()
 Finalize.
 
virtual G4VUserActionInitialization * userActionInitialization () final
 Get the user action initialization.
 
- Public Member Functions inherited from ISimG4ActionTool
 DeclareInterfaceID (ISimG4ActionTool, 1, 0)
 Retrieve interface ID.
 

Private Attributes

Gaudi::Property< bool > m_enableHistory {this, "enableHistory", false, "Set to true to save secondary particle info"}
 Set to true to save secondary particle info.
 
Gaudi::Property< double > m_energyCut {this, "energyCut", 0.0 * Gaudi::Units::GeV, "minimum energy for secondaries to be saved"}
 

Detailed Description

Tool for loading full simulation user action initialization (list of user actions)

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ SimG4FullSimActions()

SimG4FullSimActions::SimG4FullSimActions ( const std::string & type,
const std::string & name,
const IInterface * parent )
explicit

◆ ~SimG4FullSimActions()

SimG4FullSimActions::~SimG4FullSimActions ( )
virtual

Member Function Documentation

◆ finalize()

StatusCode SimG4FullSimActions::finalize ( )
virtual

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4FullSimActions::initialize ( )
finalvirtual

Initialize.

Returns
status code

◆ userActionInitialization()

G4VUserActionInitialization * SimG4FullSimActions::userActionInitialization ( )
finalvirtual

Get the user action initialization.

Returns
pointer to G4VUserActionInitialization (ownership is transferred to the caller)

Implements ISimG4ActionTool.

Member Data Documentation

◆ m_enableHistory

Gaudi::Property<bool> SimG4FullSimActions::m_enableHistory {this, "enableHistory", false, "Set to true to save secondary particle info"}
private

Set to true to save secondary particle info.

◆ m_energyCut

Gaudi::Property<double> SimG4FullSimActions::m_energyCut {this, "energyCut", 0.0 * Gaudi::Units::GeV, "minimum energy for secondaries to be saved"}
private

The documentation for this class was generated from the following files: