ATLAS Offline Software
Loading...
Searching...
No Matches
AlgC.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_ALGC_H
6#define ATHEXHIVE_CONDEX_ALGC_H
7
11
14
15class AlgC : public AthAlgorithm {
16
17public:
18
19 AlgC (const std::string& name, ISvcLocator* pSvcLocator);
20 virtual ~AlgC() = 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::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "a2", "read key 1"};
30
31 SG::ReadCondHandleKey<CondDataObj> m_rch {this, "Key_CH", "X1", "cond read key"};
32
33};
34#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition AlgC.h:29
virtual bool isClonable() const override
Definition AlgC.h:22
SG::ReadCondHandleKey< CondDataObj > m_rch
Definition AlgC.h:31
virtual StatusCode initialize() override
Definition AlgC.cxx:16
AlgC(const std::string &name, ISvcLocator *pSvcLocator)
Definition AlgC.cxx:9
virtual ~AlgC()=default
virtual StatusCode execute() override
Definition AlgC.cxx:31
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.