ATLAS Offline Software
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"
10 #include "AthExHive/HiveDataObj.h"
11 
12 #include <string>
13 
14 class HiveAlgM : public HiveAlgBase {
15 
16 public:
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 
28 
29 private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HiveAlgM
Definition: HiveAlgM.h:14
HiveDataObj.h
SG::ReadHandleKey< HiveDataObj >
HiveAlgM::initialize
StatusCode initialize()
Definition: HiveAlgM.cxx:17
HiveAlgM::execute
StatusCode execute()
Definition: HiveAlgM.cxx:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HiveAlgM::~HiveAlgM
~HiveAlgM()
Definition: HiveAlgM.cxx:15
HiveAlgM::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition: HiveAlgM.h:32
HiveAlgM::m_rdh2
SG::ReadHandleKey< HiveDataObj > m_rdh2
Definition: HiveAlgM.h:33
HiveAlgBase
Definition: HiveAlgBase.h:26
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HiveAlgM::m_off
Gaudi::Property< int > m_off
Definition: HiveAlgM.h:31
HiveAlgM::finalize
StatusCode finalize()
Definition: HiveAlgM.cxx:26
HiveAlgM::HiveAlgM
HiveAlgM(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HiveAlgM.cxx:10