ATLAS Offline Software
Loading...
Searching...
No Matches
HiveAlgG.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11#ifndef ATHEXHIVE_ALGG_H
12#define ATHEXHIVE_ALGG_H 1
13
14#include "HiveAlgBase.h"
18
19#include <string>
20
21class HiveAlgG : public HiveAlgBase {
22
23public:
24
25 // Standard Algorithm Constructor:
26
27 HiveAlgG (const std::string& name, ISvcLocator* pSvcLocator);
29
30 // Define the initialize and execute methods:
31
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute() override;
34
35private:
36
37 // By default this DataHandle is created by HiveAlgD
38 SG::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "d1", "Read key 1"};
39
40 SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "g1", "Write key 1"};
41
42};
43#endif
Base class for AthExHive example Algs to provide functionality to sleep for a certain amount of time,...
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.
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
Definition HiveAlgG.cxx:17
HiveAlgG(const std::string &name, ISvcLocator *pSvcLocator)
Definition HiveAlgG.cxx:7
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition HiveAlgG.h:40
virtual StatusCode execute() override
Definition HiveAlgG.cxx:28
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition HiveAlgG.h:38
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.