ATLAS Offline Software
TrackParticleCalibratorExampleAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H
6 #define ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H
7 
8 // Framework include(s).
10 #include "GaudiKernel/ServiceHandle.h"
13 
14 // xAOD include(s).
16 
17 namespace AthCUDAExamples {
18 
29 
30  public:
31  // Inherit the base class's constructor(s).
33 
36 
38  virtual StatusCode initialize() override;
39 
41  virtual StatusCode execute(const EventContext& ctx) const override
42 #if (defined(__GNUC__) || defined(__clang__))
43  __attribute__((no_sanitize("vptr")))
44 #endif
45  ;
46 
48 
49  private:
52  this, "InputContainer", "InDetTrackParticles",
53  "The input track particle container"};
56  this, "OutputContainer", "CalibratedInDetTrackParticles",
57  "The output track particle container"};
58 
59 }; // class LinearTransformTaskExampleAlg
60 
61 } // namespace AthCUDAExamples
62 
63 #endif // ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthCUDAExamples::TrackParticleCalibratorExampleAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
AthCUDAExamples::TrackParticleCalibratorExampleAlg::m_outputKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputKey
The output container.
Definition: TrackParticleCalibratorExampleAlg.h:55
AthCUDAExamples::TrackParticleCalibratorExampleAlg::m_inputKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputKey
The input container.
Definition: TrackParticleCalibratorExampleAlg.h:51
AthCUDAExamples
Definition: cudaMultiply.h:11
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthCUDAExamples::TrackParticleCalibratorExampleAlg
Example algorithm performing "track particle calibration".
Definition: TrackParticleCalibratorExampleAlg.h:28
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey< xAOD::TrackParticleContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthCUDAExamples::TrackParticleCalibratorExampleAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
__attribute__
__attribute__((always_inline)) inline uint16_t TileCalibDrawerBase
Definition: TileCalibDrawerBase.h:190
TrackParticleContainer.h