ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
G4UA::LArGeoH62004EventActionTool Class Reference

Tool which manages the LArGeoH62004EventAction action. More...

#include <LArGeoH62004EventActionTool.h>

Inheritance diagram for G4UA::LArGeoH62004EventActionTool:
Collaboration diagram for G4UA::LArGeoH62004EventActionTool:

Public Member Functions

 LArGeoH62004EventActionTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor. More...
 
StatusCode initialize () override final
 Framework intialize method. More...
 
virtual StatusCode fillUserAction (G4AtlasUserActions &actionLists) override final
 Fill the user action lists. More...
 

Protected Member Functions

virtual std::unique_ptr< LArGeoH62004EventActionmakeAndFillAction (G4AtlasUserActions &) override final
 Create action for this thread. More...
 

Protected Attributes

ThreadSpecificUserAction< LArGeoH62004EventActionm_actions
 Thread-specific storage of the user action. More...
 

Private Attributes

LArGeoH62004EventAction::Config m_config
 Configuration parameters. More...
 

Detailed Description

Tool which manages the LArGeoH62004EventAction action.

Create the LArGeoH62004EventAction for each worker thread

Author
Andrea Di Simone

Definition at line 27 of file LArGeoH62004EventActionTool.h.

Constructor & Destructor Documentation

◆ LArGeoH62004EventActionTool()

G4UA::LArGeoH62004EventActionTool::LArGeoH62004EventActionTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Standard constructor.

Member Function Documentation

◆ fillUserAction()

virtual StatusCode G4UA::UserActionToolBase< LArGeoH62004EventAction >::fillUserAction ( G4AtlasUserActions actionLists)
inlinefinaloverridevirtualinherited

Fill the user action lists.

Definition at line 45 of file UserActionToolBase.h.

46  {
47  auto myAction = makeAndFillAction(actionLists);
48  if(myAction == nullptr) {
49  ATH_MSG_ERROR( "Failed to construct user action in " << name() );
50  return StatusCode::FAILURE;
51  }
52  m_actions.set( std::move(myAction) );
53  return StatusCode::SUCCESS;
54  }

◆ initialize()

StatusCode G4UA::LArGeoH62004EventActionTool::initialize ( )
finaloverride

Framework intialize method.

◆ makeAndFillAction()

virtual std::unique_ptr<LArGeoH62004EventAction> G4UA::LArGeoH62004EventActionTool::makeAndFillAction ( G4AtlasUserActions )
finaloverrideprotectedvirtual

Create action for this thread.

Implements G4UA::UserActionToolBase< LArGeoH62004EventAction >.

Member Data Documentation

◆ m_actions

Thread-specific storage of the user action.

Definition at line 63 of file UserActionToolBase.h.

◆ m_config

LArGeoH62004EventAction::Config G4UA::LArGeoH62004EventActionTool::m_config
private

Configuration parameters.

Definition at line 48 of file LArGeoH62004EventActionTool.h.


The documentation for this class was generated from the following file:
G4UA::ThreadSpecificUserAction::set
void set(std::unique_ptr< ActionType > action)
Assign the object of the current thread.
Definition: ThreadSpecificUserAction.h:61
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
G4UA::UserActionToolBase< LArGeoH62004EventAction >::m_actions
ThreadSpecificUserAction< LArGeoH62004EventAction > m_actions
Thread-specific storage of the user action.
Definition: UserActionToolBase.h:63
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
G4UA::UserActionToolBase< LArGeoH62004EventAction >::makeAndFillAction
virtual std::unique_ptr< LArGeoH62004EventAction > makeAndFillAction(G4AtlasUserActions &actionLists)=0
Make the action and push onto the lists.