ATLAS Offline Software
HiveTool.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_HIVETOOL_H
6 #define ATHEXHIVE_HIVETOOL_H
7 
9 #include "AthExHive/IHiveTool.h"
12 #include "AthExHive/HiveDataObj.h"
13 
14 #include <string>
15 
16 class HiveTool : public extends1<AthAlgTool,IHiveTool> {
17 public:
18  HiveTool( const std::string&, const std::string&, const IInterface* );
19  virtual ~HiveTool();
20 
21  virtual StatusCode initialize();
22  virtual StatusCode finalize();
23 
24  virtual StatusCode doSomething() const;
25 
26 private:
27 
28  SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "x1", "tool read key"};
29  SG::WriteHandleKey<HiveDataObj> m_wrh1{this, "Key_W1", "X1", "tool write key"};
30 
31 };
32 
33 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HiveTool
Definition: HiveTool.h:16
IHiveTool.h
HiveDataObj.h
HiveTool::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition: HiveTool.h:29
HiveTool::~HiveTool
virtual ~HiveTool()
Definition: HiveTool.cxx:21
SG::ReadHandleKey< HiveDataObj >
SG::WriteHandleKey< HiveDataObj >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
HiveTool::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition: HiveTool.h:28
HiveTool::finalize
virtual StatusCode finalize()
Definition: HiveTool.cxx:46
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
HiveTool::HiveTool
HiveTool(const std::string &, const std::string &, const IInterface *)
Definition: HiveTool.cxx:14
HiveTool::doSomething
virtual StatusCode doSomething() const
Definition: HiveTool.cxx:52
HiveTool::initialize
virtual StatusCode initialize()
Definition: HiveTool.cxx:25