Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AlgD.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_ALGD_H
6 #define ATHEXHIVE_CONDEX_ALGD_H
7 
11 
12 #include "AthExHive/HiveDataObj.h"
13 #include "AthExHive/CondDataObj.h"
14 
15 class AlgD : public AthAlgorithm {
16 
17 public:
18 
19  AlgD (const std::string& name, ISvcLocator* pSvcLocator);
20  virtual ~AlgD() = 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::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "a1", "read key 1"};
30 
31  SG::ReadCondHandleKey<CondDataObj> m_rch1 {this, "Key_CH1", "X1", "cond read key1"};
32  SG::ReadCondHandleKey<CondDataObj> m_rch2 {this, "Key_CH2", "X2", "cond read key2"};
33 
34 };
35 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgD::initialize
virtual StatusCode initialize() override
Definition: AlgD.cxx:17
AlgD::isClonable
virtual bool isClonable() const override
Definition: AlgD.h:22
AlgD::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition: AlgD.h:29
HiveDataObj.h
AlgD::~AlgD
virtual ~AlgD()=default
CondDataObj.h
SG::ReadHandleKey< HiveDataObj >
AthAlgorithm.h
AlgD::AlgD
AlgD(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AlgD.cxx:9
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AlgD::m_rch1
SG::ReadCondHandleKey< CondDataObj > m_rch1
Definition: AlgD.h:31
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
AlgD::execute
virtual StatusCode execute() override
Definition: AlgD.cxx:33
SG::ReadCondHandleKey< CondDataObj >
AlgD
Definition: AlgD.h:15
AlgD::m_rch2
SG::ReadCondHandleKey< CondDataObj > m_rch2
Definition: AlgD.h:32