LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
artg4tk::RunActionBase Class Reference

#include "RunActionBase.hh"

Inheritance diagram for artg4tk::RunActionBase:
artg4tk::ActionBase artg4tk::ExampleGeneralActionService

Public Member Functions

 RunActionBase (std::string myName)
 
virtual ~RunActionBase ()
 
virtual void beginOfRunAction (const G4Run *)
 
virtual void endOfRunAction (const G4Run *)
 
std::string const & myName () const
 
virtual void initialize ()
 

Detailed Description

Definition at line 36 of file RunActionBase.hh.

Constructor & Destructor Documentation

artg4tk::RunActionBase::RunActionBase ( std::string  myName)
inline

Definition at line 40 of file RunActionBase.hh.

References artg4tk::ActionHolderService::registerAction(), and ~RunActionBase().

41  {
43  actionHolder->registerAction(this);
44  }
ActionBase(std::string myName)
Definition: ActionBase.hh:18
void registerAction(RunActionBase *const action)
Definition: ActionHolder.cc:60
std::string const & myName() const
Definition: ActionBase.hh:25
artg4tk::RunActionBase::~RunActionBase ( )
virtual

Definition at line 4 of file RunActionBase.cc.

Referenced by RunActionBase().

4 {}

Member Function Documentation

virtual void artg4tk::RunActionBase::beginOfRunAction ( const G4Run *  )
inlinevirtual

Reimplemented in artg4tk::ExampleGeneralActionService.

Definition at line 56 of file RunActionBase.hh.

57  {}
virtual void artg4tk::RunActionBase::endOfRunAction ( const G4Run *  )
inlinevirtual

Definition at line 61 of file RunActionBase.hh.

62  {}
virtual void artg4tk::ActionBase::initialize ( )
inlinevirtualinherited

Reimplemented in artg4tk::myParticleGunActionService, and artg4tk::HepevtInputActionService.

Definition at line 36 of file ActionBase.hh.

37  {}
std::string const& artg4tk::ActionBase::myName ( ) const
inlineinherited

Definition at line 25 of file ActionBase.hh.

References artg4tk::ActionBase::myName_.

26  {
27  return myName_;
28  }
std::string myName_
Definition: ActionBase.hh:41

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