ATLAS Offline Software
Loading...
Searching...
No Matches
HiveAlgL2.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHEXHIVE_ALGL2_H
6#define ATHEXHIVE_ALGL2_H 1
7
12#include "../HiveAlgBase.h"
13
14#include <string>
15
16class HiveAlgL2 : public HiveAlgBase {
17
18public:
19
20 // Standard Algorithm Constructor:
21 HiveAlgL2 (const std::string& name, ISvcLocator* pSvcLocator);
23
24 // Define the initialize, execute and finalize methods:
25 virtual StatusCode initialize() override;
26 virtual StatusCode execute(const EventContext& ctx) const override;
27
28private:
29 SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "l1", "read key"};
30 SG::UpdateHandleKey<HiveDataObj> m_udh1{this, "Key_U1", "l1", "update key"};
31};
32#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.
Property holding a SG store/key/clid from which an UpdateHandle is made.
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
HiveAlgL2(const std::string &name, ISvcLocator *pSvcLocator)
Definition HiveAlgL2.cxx:11
SG::UpdateHandleKey< HiveDataObj > m_udh1
Definition HiveAlgL2.h:30
virtual StatusCode execute(const EventContext &ctx) const override
Definition HiveAlgL2.cxx:28
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition HiveAlgL2.h:29
virtual StatusCode initialize() override
Definition HiveAlgL2.cxx:19
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which an UpdateHandle is made.