5#ifndef G4ATLASTOOLS_USERACTIONTOOLBASE_H
6#define G4ATLASTOOLS_USERACTIONTOOLBASE_H
13#include <GaudiKernel/StatusCode.h>
33 template <
class ActionType>
41 const IInterface* parent)
42 : base_class(
type, name, parent)
50 if(myAction ==
nullptr) {
51 ATH_MSG_ERROR(
"Failed to construct user action in " << name() );
52 return StatusCode::FAILURE;
55 return StatusCode::SUCCESS;
66 virtual std::unique_ptr<ActionType>
A thread-local storage wrapper for the user actions.
Small wrapper around hit collection map to facilitate accessing the hit collection.
Struct for passing around user actions.