10#ifndef ATHEXBASICS_WRITEXAOD_H
11#define ATHEXBASICS_WRITEXAOD_H
16#include "GaudiKernel/ToolHandle.h"
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
26 virtual StatusCode
execute(
const EventContext& ctx)
const override;
34 ToolHandle<InDet::IInDetTrackSelectionTool>
m_trackSelectionTool{
this,
"TrackSelectionTool",
"InDetTrackSelectionTool",
"Tool for selecting tracks"};
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Algorithm demonstrating writing of xAOD containers.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackKey
Read handle for the offline object container - set to tracks by default. **/.
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_newKey
Read handle for the new track container **/.
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectionTool
Tool handle for the track selection tool */.