ATLAS Offline Software
Loading...
Searching...
No Matches
G4UA::LArGeoH62004SteppingActionTool Class Reference

Tool which manages the LArGeoH62004SteppingAction action. More...

#include <LArGeoH62004SteppingActionTool.h>

Inheritance diagram for G4UA::LArGeoH62004SteppingActionTool:
Collaboration diagram for G4UA::LArGeoH62004SteppingActionTool:

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

ThreadSpecificUserAction< LArGeoH62004SteppingActionm_actions
 Thread-specific storage of the user action.

Private Attributes

LArGeoH62004SteppingAction::Config m_config
 Configuration parameters.
Gaudi::Property< float > m_yTable {this, "yTable", 0.f}
Gaudi::Property< bool > m_checkprim {this, "CheckPrim", false}
Gaudi::Property< bool > m_printstep {this, "PrintStep", false}

Detailed Description

Tool which manages the LArGeoH62004SteppingAction action.

Create the LArGeoH62004SteppingAction for each worker thread

Author
Andrea Di Simone

Definition at line 27 of file LArGeoH62004SteppingActionTool.h.

Constructor & Destructor Documentation

◆ LArGeoH62004SteppingActionTool()

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

Standard constructor.

Member Function Documentation

◆ BeginOfAthenaEvent()

StatusCode G4UA::UserActionToolBase< LArGeoH62004SteppingAction >::BeginOfAthenaEvent ( HitCollectionMap & )
inlineoverrideinherited

Calls BeginOfAthenaEvent.

Definition at line 59 of file UserActionToolBase.h.

59{return StatusCode::SUCCESS;};
abstract template utility base-class for G4 user-action tools.

◆ EndOfAthenaEvent()

StatusCode G4UA::UserActionToolBase< LArGeoH62004SteppingAction >::EndOfAthenaEvent ( HitCollectionMap & )
inlineoverrideinherited

Calls EndOfAthenaEvent.

Definition at line 61 of file UserActionToolBase.h.

61{return StatusCode::SUCCESS;};

◆ fillUserAction()

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

Fill the user action lists.

Definition at line 47 of file UserActionToolBase.h.

48 {
50 if(myAction == nullptr) {
51 ATH_MSG_ERROR( "Failed to construct user action in " << name() );
53 }
56 }
#define ATH_MSG_ERROR(x)
virtual std::unique_ptr< LArGeoH62004SteppingAction > makeAndFillAction(G4AtlasUserActions &actionLists)=0

◆ initialize()

StatusCode G4UA::LArGeoH62004SteppingActionTool::initialize ( )
finaloverride

Framework intialize method.

◆ makeAndFillAction()

virtual std::unique_ptr< LArGeoH62004SteppingAction > G4UA::LArGeoH62004SteppingActionTool::makeAndFillAction ( G4AtlasUserActions & )
finaloverrideprotectedvirtual

Create action for this thread.

Implements G4UA::UserActionToolBase< LArGeoH62004SteppingAction >.

Member Data Documentation

◆ m_actions

Thread-specific storage of the user action.

Definition at line 70 of file UserActionToolBase.h.

◆ m_checkprim

Gaudi::Property<bool> G4UA::LArGeoH62004SteppingActionTool::m_checkprim {this, "CheckPrim", false}
private

Definition at line 51 of file LArGeoH62004SteppingActionTool.h.

51{this, "CheckPrim", false};

◆ m_config

LArGeoH62004SteppingAction::Config G4UA::LArGeoH62004SteppingActionTool::m_config
private

Configuration parameters.

Definition at line 49 of file LArGeoH62004SteppingActionTool.h.

◆ m_printstep

Gaudi::Property<bool> G4UA::LArGeoH62004SteppingActionTool::m_printstep {this, "PrintStep", false}
private

Definition at line 52 of file LArGeoH62004SteppingActionTool.h.

52{this, "PrintStep", false};

◆ m_yTable

Gaudi::Property<float> G4UA::LArGeoH62004SteppingActionTool::m_yTable {this, "yTable", 0.f}
private

Definition at line 50 of file LArGeoH62004SteppingActionTool.h.

50{this, "yTable", 0.f};

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