ATLAS Offline Software
Loading...
Searching...
No Matches
AlgT.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHEXHIVE_CONDEX_ALGT_H
6#define ATHEXHIVE_CONDEX_ALGT_H
7
12#include "AthExHive/IHiveTool.h"
13
15
16#include "GaudiKernel/ToolHandle.h"
17
18class AlgT : public AthAlgorithm {
19
20public:
21
22 AlgT (const std::string& name, ISvcLocator* pSvcLocator);
23 virtual ~AlgT () = default;
24
25 virtual bool isClonable() const override { return true; }
26
27 virtual StatusCode initialize() override;
28 virtual StatusCode execute() override;
29
30private:
31
32 SG::ReadHandleKey<xAOD::EventInfo> m_evt{this, "EvtInfo", "EventInfo", "EventInfo name"};
33 SG::ReadHandleKey<HiveDataObj> m_rdh1{this,"Key_R1","","read key"};
34 SG::WriteHandleKey<HiveDataObj> m_wrh1{this,"Key_W1","t1","write key"};
35
36
37 ToolHandle<IHiveTool> m_tool1{this, "Tool1", "HiveTool", "tool 1"};
38 ToolHandle<IHiveTool> m_tool2{this, "Tool2", "HiveTool", "tool 2"};
39 ToolHandle<IHiveTool> m_tool3{this, "Tool3", "HiveTool", "tool 3"};
40
41};
42#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode initialize() override
Definition AlgT.cxx:16
ToolHandle< IHiveTool > m_tool1
Definition AlgT.h:37
virtual StatusCode execute() override
Definition AlgT.cxx:32
ToolHandle< IHiveTool > m_tool2
Definition AlgT.h:38
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition AlgT.h:34
virtual bool isClonable() const override
Definition AlgT.h:25
AlgT(const std::string &name, ISvcLocator *pSvcLocator)
Definition AlgT.cxx:9
virtual ~AlgT()=default
ToolHandle< IHiveTool > m_tool3
Definition AlgT.h:39
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition AlgT.h:32
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition AlgT.h:33
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.