ATLAS Offline Software
Loading...
Searching...
No Matches
HiveAlgM.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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 StatusCode initialize();
26 StatusCode execute();
27 StatusCode finalize();
28
29private:
30
31 Gaudi::Property<int> m_off {this, "Offset", 1, "offset"};
32 SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "a2", "read key 1"};
33 SG::ReadHandleKey<HiveDataObj> m_rdh2{this, "Key_R2", "l1", "read key 2"};
34
35};
36#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)
StatusCode finalize()
Definition HiveAlgM.cxx:26
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition HiveAlgM.h:32
SG::ReadHandleKey< HiveDataObj > m_rdh2
Definition HiveAlgM.h:33
StatusCode initialize()
Definition HiveAlgM.cxx:17
Gaudi::Property< int > m_off
Definition HiveAlgM.h:31
StatusCode execute()
Definition HiveAlgM.cxx:31
HiveAlgM(const std::string &name, ISvcLocator *pSvcLocator)
Definition HiveAlgM.cxx:10
Property holding a SG store/key/clid from which a ReadHandle is made.