ATLAS Offline Software
Loading...
Searching...
No Matches
AlgB.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 ATHEXHIVE_CONDEX_ALGB_H
6#define ATHEXHIVE_CONDEX_ALGB_H
7
12
13class AlgB : public AthAlgorithm {
14
15public:
16
17 AlgB (const std::string& name, ISvcLocator* pSvcLocator);
18 virtual ~AlgB() = default;
19
20 virtual bool isClonable() const override { return true; }
21
22 virtual StatusCode initialize() override;
23 virtual StatusCode execute() override;
24
25private:
26
27 SG::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "a1", "read key 1"};
28 SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "a3", "write key 1"};
29
30};
31#endif
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.
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition AlgB.h:27
virtual ~AlgB()=default
virtual StatusCode initialize() override
Definition AlgB.cxx:17
virtual StatusCode execute() override
Definition AlgB.cxx:26
AlgB(const std::string &name, ISvcLocator *pSvcLocator)
Definition AlgB.cxx:11
virtual bool isClonable() const override
Definition AlgB.h:20
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition AlgB.h:28
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
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.