ATLAS Offline Software
Loading...
Searching...
No Matches
ReWriteData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENAPOOLEXAMPLEALGORITHMS_REWRITEDATA_H
6#define ATHENAPOOLEXAMPLEALGORITHMS_REWRITEDATA_H
7
13
19
20namespace AthPoolEx {
21
26 public:
27 ReWriteData(const std::string& name, ISvcLocator* pSvcLocator);
28 virtual ~ReWriteData() = default;
29
30 public:
32 virtual StatusCode initialize() override final;
33 virtual StatusCode execute(const EventContext& ctx) const override final;
34 virtual StatusCode finalize() override final;
35
36 private:
37 SG::ReadHandleKey<ExampleHitContainer> m_exampleHitKey{this, "ExampleHitKey", "MyHits"};
39};
40
41} // namespace AthPoolEx
42
43#endif
This file contains the class definition for the ExampleHitContainer class.
This file contains the class definition for the ExampleTrackContainer class.
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.
ReWriteData(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override final
Gaudi Service Interface method implementations:
virtual StatusCode execute(const EventContext &ctx) const override final
virtual ~ReWriteData()=default
SG::WriteHandleKey< ExampleTrackContainer > m_exampleTrackKey
Definition ReWriteData.h:38
SG::ReadHandleKey< ExampleHitContainer > m_exampleHitKey
Definition ReWriteData.h:37
virtual StatusCode finalize() override final
An algorithm that can be simultaneously executed in multiple threads.
This class provides a data vector for ExampleHit objects in AthenaPool.
Property holding a SG store/key/clid from which a WriteHandle is made.
Forward declaration.
#define private