ATLAS Offline Software
AlgB.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 CONDALGS_ALGB_H
6 #define CONDALGS_ALGB_H 1
7 
11 #include "AthExHive/HiveDataObj.h"
12 
13 #include <string>
14 
15 class AlgB : public AthAlgorithm {
16 
17 public:
18 
19  AlgB (const std::string& name, ISvcLocator* pSvcLocator);
20  virtual ~AlgB();
21 
22  virtual bool isClonable() const override { return true; }
23 
24  virtual StatusCode initialize() override;
25  virtual StatusCode execute() override;
26  virtual StatusCode finalize() override;
27 
28 private:
29 
30  SG::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "a1", "read key 1"};
31  SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "a3", "write key 1"};
32 
33 };
34 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgB::finalize
virtual StatusCode finalize() override
Definition: AlgB.cxx:30
AlgB::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition: AlgB.h:31
AlgB::~AlgB
virtual ~AlgB()
Definition: AlgB.cxx:19
HiveDataObj.h
AlgB::execute
virtual StatusCode execute() override
Definition: AlgB.cxx:35
SG::ReadHandleKey< HiveDataObj >
AthAlgorithm.h
SG::WriteHandleKey< HiveDataObj >
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.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AlgB::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition: AlgB.h:30
AlgB::initialize
virtual StatusCode initialize() override
Definition: AlgB.cxx:21
AlgB::AlgB
AlgB(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AlgB.cxx:13
AlgB
Definition: AlgB.h:15
AlgB::isClonable
virtual bool isClonable() const override
Definition: AlgB.h:22