Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HiveAlgC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef ATHEXHIVE_ALGC_H
12 #define ATHEXHIVE_ALGC_H 1
13 
14 #include "HiveAlgBase.h"
17 #include "AthExHive/HiveDataObj.h"
18 
19 #include <string>
20 
21 class HiveAlgC : public HiveAlgBase {
22 
23 public:
24 
25  // Standard Algorithm Constructor:
26 
27  HiveAlgC (const std::string& name, ISvcLocator* pSvcLocator);
29 
30  // Define the initialize and execute methods:
31 
32  virtual StatusCode initialize() override;
33  virtual StatusCode execute() override;
34 
35 private:
36 
37  // By default, this DataHandle is created by HiveAlgA
38  SG::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "a1", "read handle key 1"};
39 
40  SG::WriteHandleKey<HiveDataObj> m_wrh1{ this, "Key_W1", "c1", "write handle key 1"};
41  SG::WriteHandleKey<HiveDataObj> m_wrh2{ this, "Key_W2", "c2", "write handle key 2"};
42 
43 };
44 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HiveDataObj.h
HiveAlgC::~HiveAlgC
~HiveAlgC()
HiveAlgC::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition: HiveAlgC.h:38
SG::ReadHandleKey< HiveDataObj >
SG::WriteHandleKey< HiveDataObj >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HiveAlgC::execute
virtual StatusCode execute() override
Definition: HiveAlgC.cxx:29
HiveAlgC::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition: HiveAlgC.h:40
HiveAlgBase
Definition: HiveAlgBase.h:26
HiveAlgC::initialize
virtual StatusCode initialize() override
Definition: HiveAlgC.cxx:17
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
HiveAlgC
Definition: HiveAlgC.h:21
HiveAlgC::m_wrh2
SG::WriteHandleKey< HiveDataObj > m_wrh2
Definition: HiveAlgC.h:41
HiveAlgC::HiveAlgC
HiveAlgC(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HiveAlgC.cxx:7
HiveAlgBase.h
Base class for AthExHive example Algs to provide functionality to sleep for a certain amount of time,...