ATLAS Offline Software
Loading...
Searching...
No Matches
AlgA.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_ALGA_H
6#define ATHEXHIVE_CONDEX_ALGA_H
7
12
14
15class AlgA : public AthAlgorithm {
16
17public:
18
19 AlgA (const std::string& name, ISvcLocator* pSvcLocator);
20 virtual ~AlgA () = default;
21
22 virtual bool isClonable() const override { return true; }
23
24 virtual StatusCode initialize() override;
25 virtual StatusCode execute() override;
26
27private:
28
29 SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "a1", "write key 1"};
30 SG::WriteHandleKey<HiveDataObj> m_wrh2 {this, "Key_W2", "a2", "write key 2"};
31 SG::ReadHandleKey<xAOD::EventInfo> m_evt {this, "EvtInfo", "EventInfo", "EventInfo name"};
32};
33#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.
virtual StatusCode execute() override
Definition AlgA.cxx:31
AlgA(const std::string &name, ISvcLocator *pSvcLocator)
Definition AlgA.cxx:11
virtual ~AlgA()=default
SG::WriteHandleKey< HiveDataObj > m_wrh2
Definition AlgA.h:30
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition AlgA.h:31
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition AlgA.h:29
virtual bool isClonable() const override
Definition AlgA.h:22
virtual StatusCode initialize() override
Definition AlgA.cxx:19
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.