ATLAS Offline Software
Loading...
Searching...
No Matches
HiveAlgM.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_ALGM_H
6#define ATHEXHIVE_ALGM_H 1
7
8#include "../HiveAlgBase.h"
11
12#include <string>
13
14class HiveAlgM : public HiveAlgBase {
15
16public:
17
18 // Standard Algorithm Constructor:
19
20 HiveAlgM (const std::string& name, ISvcLocator* pSvcLocator);
21 ~HiveAlgM();
22
23 // Define the initialize, execute and finalize methods:
24
25 virtual StatusCode initialize() override;
26 virtual StatusCode execute(const EventContext& ctx) const override;
27
28private:
29
30 Gaudi::Property<int> m_off {this, "Offset", 1, "offset"};
31 SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "a2", "read key 1"};
32 SG::ReadHandleKey<HiveDataObj> m_rdh2{this, "Key_R2", "l1", "read key 2"};
33
34};
35#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.
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition HiveAlgM.h:31
virtual StatusCode execute(const EventContext &ctx) const override
Definition HiveAlgM.cxx:26
SG::ReadHandleKey< HiveDataObj > m_rdh2
Definition HiveAlgM.h:32
virtual StatusCode initialize() override
Definition HiveAlgM.cxx:17
Gaudi::Property< int > m_off
Definition HiveAlgM.h:30
HiveAlgM(const std::string &name, ISvcLocator *pSvcLocator)
Definition HiveAlgM.cxx:10
Property holding a SG store/key/clid from which a ReadHandle is made.