ATLAS Offline Software
Loading...
Searching...
No Matches
AthExHIP/src/TrackParticleCalibratorExampleAlg.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2//
3// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4//
5#ifndef ATHEXHIP_TRACKPARTICLECALIBRATOREXAMPLEALG_H
6#define ATHEXHIP_TRACKPARTICLECALIBRATOREXAMPLEALG_H
7
8// Framework include(s).
10#include "GaudiKernel/ToolHandle.h"
13
14// Device include(s).
18
19// xAOD include(s).
21
22// Traccc include(s).
23#include <traccc/edm/track_collection.hpp>
24
25namespace AthHIPExamples {
26
35
36 public:
37 // Inherit the base class's constructor(s).
38 using AthReentrantAlgorithm::AthReentrantAlgorithm;
39
42
44 virtual StatusCode initialize() override;
45
47 virtual StatusCode execute(const EventContext& ctx) const override;
48
50
51 private:
54
57 this, "InputContainer", "InDetTrackParticles",
58 "The input track particle container"};
59
61 this, "OutputContainer", "CalibratedInDetTrackParticles",
62 "The output track particle container"};
63
65 ToolHandle<AthDevice::IMemoryResourcesTool> m_mrTool{
66 this, "MemoryResourcesTool", "",
67 "Tool providing the memory resource(s) to use"};
68
70 ToolHandle<AthDevice::ICopiesTool> m_copyTool{
71 this, "CopiesTool", "",
72 "Tool providing the vecmem::copy object(s) to use"};
73
75 ToolHandle<AthHIP::IStreamTool> m_streamTool{this, "StreamTool", "",
76 "The stream tool to use"};
77
79
80}; // class LinearTransformTaskExampleAlg
81
82} // namespace AthHIPExamples
83
84#endif // ATHEXHIP_TRACKPARTICLECALIBRATOREXAMPLEALG_H
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.
Example algorithm performing "track particle calibration".
ToolHandle< AthDevice::ICopiesTool > m_copyTool
Host copy tool to use.
ToolHandle< AthHIP::IStreamTool > m_streamTool
Stream tool to use.
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputKey
The output container.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputKey
The input container.
virtual StatusCode initialize() override
Function initialising the algorithm.
ToolHandle< AthDevice::IMemoryResourcesTool > m_mrTool
Host memory resource tool to use.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
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.