Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AlgA.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_ALGA_H
6 #define ATHEXHIVE_CONDEX_ALGA_H
7 
11 #include "AthExHive/HiveDataObj.h"
12 
14 
15 class AlgA : public AthAlgorithm {
16 
17 public:
18 
19  AlgA (const std::string& name, ISvcLocator* pSvcLocator);
20  virtual ~AlgA () = default;
21 
22  virtual bool isClonable() const override { return true; }
23 
24  virtual StatusCode initialize() override;
25  virtual StatusCode execute() override;
26 
27 private:
28 
29  SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "a1", "write key 1"};
30  SG::WriteHandleKey<HiveDataObj> m_wrh2 {this, "Key_W2", "a2", "write key 2"};
31  SG::ReadHandleKey<xAOD::EventInfo> m_evt {this, "EvtInfo", "EventInfo", "EventInfo name"};
32 };
33 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgA::execute
virtual StatusCode execute() override
Definition: AlgA.cxx:31
AlgA::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition: AlgA.h:29
HiveDataObj.h
SG::ReadHandleKey< xAOD::EventInfo >
AthAlgorithm.h
SG::WriteHandleKey< HiveDataObj >
AlgA::m_wrh2
SG::WriteHandleKey< HiveDataObj > m_wrh2
Definition: AlgA.h:30
AlgA::isClonable
virtual bool isClonable() const override
Definition: AlgA.h:22
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AlgA::AlgA
AlgA(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AlgA.cxx:11
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
EventInfo.h
AlgA::initialize
virtual StatusCode initialize() override
Definition: AlgA.cxx:19
AlgA::~AlgA
virtual ~AlgA()=default
AlgA::m_evt
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition: AlgA.h:31
AlgA
Definition: AlgA.h:15