6#ifndef G4ATLASINTERFACES_G4UA__IUSERACTIONSVC_H
7#define G4ATLASINTERFACES_G4UA__IUSERACTIONSVC_H
10#include "GaudiKernel/IService.h"
11#include "GaudiKernel/ToolHandle.h"
15#include "G4UserSteppingAction.hh"
47 virtual StatusCode
addActionTool(
const ToolHandle<IUserActionTool>& service_tool) = 0;
Abstract interface for the UserActionSvc.
virtual StatusCode getSecondaryActions(std::vector< G4UserSteppingAction * > &actions)=0
virtual StatusCode EndOfAthenaEvent(HitCollectionMap &)=0
virtual void G4RunTool(IG4RunTool *)=0
Set the G4RunTool pointer to be used by the UserActionSvc.
virtual StatusCode BeginOfAthenaEvent(HitCollectionMap &)=0
virtual StatusCode initializeActions()=0
Initialize all the user actions for the current thread.
virtual StatusCode initializeActionsMaster()=0
Initialize run actions on the main Geant4 thread.
DeclareInterfaceID(G4UA::IUserActionSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual StatusCode addActionTool(const ToolHandle< IUserActionTool > &service_tool)=0
In very rare cases, the IUserActionSvc needs to call tools of which it cannot be owner during its ini...
Small wrapper around hit collection map to facilitate accessing the hit collection.