ATLAS Offline Software
Loading...
Searching...
No Matches
HiveAlgA.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_ALGA_H
12#define ATHEXHIVE_ALGA_H 1
13
14#include "HiveAlgBase.h"
18
20
21#include <string>
22
23class HiveAlgA : public HiveAlgBase {
24
25public:
26
27 // Standard Algorithm Constructor:
28
29 HiveAlgA (const std::string& name, ISvcLocator* pSvcLocator);
31
32 // Define the initialize and execute methods:
33
34 virtual StatusCode initialize() override;
35 virtual StatusCode execute() override;
36
37private:
38
39 SG::ReadHandleKey<xAOD::EventInfo> m_evt {this,"EvtInfo", "EventInfo", "xAOD EventInfo name"};
40
41 SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "a1", "WHK 1"};
42 SG::WriteHandleKey<HiveDataObj> m_wrh2 {this, "Key_W2", "a2", "WHK 2"};
43
44};
45#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.
SG::WriteHandleKey< HiveDataObj > m_wrh2
Definition HiveAlgA.h:42
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition HiveAlgA.h:41
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition HiveAlgA.h:39
HiveAlgA(const std::string &name, ISvcLocator *pSvcLocator)
Definition HiveAlgA.cxx:8
virtual StatusCode initialize() override
Definition HiveAlgA.cxx:18
virtual StatusCode execute() override
Definition HiveAlgA.cxx:31
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
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.