ATLAS Offline Software
AlgE.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_ALGE_H
6 #define CONDALGS_ALGE_H 1
7 
11 
12 #include "AthExHive/HiveDataObj.h"
13 #include "AthExHive/CondDataObj.h"
14 #include "AthExHive/CondDataObjY.h"
15 #include "AthExHive/CondDataObjZ.h"
16 
17 #include <string>
18 
19 class AlgE : public AthAlgorithm {
20 
21 public:
22 
23  AlgE (const std::string& name, ISvcLocator* pSvcLocator);
24  virtual ~AlgE();
25 
26  virtual bool isClonable() const override { return true; }
27 
28  virtual StatusCode initialize() override;
29  virtual StatusCode execute() override;
30  virtual StatusCode finalize() override;
31 
32 private:
33 
34  SG::ReadHandleKey<HiveDataObj> m_rdh1 {this, "Key_R1", "a1", "read key 1"};
35 
36  SG::ReadCondHandleKey<CondDataObj> m_rch1 {this, "Key_CH1", "X2", "cond read key1"};
37  SG::ReadCondHandleKey<CondDataObjY> m_rch2 {this, "Key_CH2", "Y1", "cond read key2"};
38  SG::ReadCondHandleKey<CondDataObjY> m_rch3 {this, "Key_CH3", "Y2", "cond read key3"};
39 
40  SG::ReadCondHandleKey<CondDataObjZ> m_rch4 {this, "Key_CH4", "Z1", "cond read key4"};
41 
42 
43 };
44 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HiveDataObj.h
AlgE::m_rch2
SG::ReadCondHandleKey< CondDataObjY > m_rch2
Definition: AlgE.h:37
CondDataObj.h
SG::ReadHandleKey< HiveDataObj >
AlgE::isClonable
virtual bool isClonable() const override
Definition: AlgE.h:26
AlgE::m_rch4
SG::ReadCondHandleKey< CondDataObjZ > m_rch4
Definition: AlgE.h:40
AthAlgorithm.h
AlgE::finalize
virtual StatusCode finalize() override
Definition: AlgE.cxx:47
AlgE::AlgE
AlgE(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AlgE.cxx:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AlgE::m_rch1
SG::ReadCondHandleKey< CondDataObj > m_rch1
Definition: AlgE.h:36
AlgE
Definition: AlgE.h:19
CondDataObjZ.h
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
AlgE::~AlgE
virtual ~AlgE()
Definition: AlgE.cxx:23
AlgE::execute
virtual StatusCode execute() override
Definition: AlgE.cxx:54
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CondDataObjY.h
SG::ReadCondHandleKey< CondDataObj >
AlgE::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition: AlgE.h:34
AlgE::m_rch3
SG::ReadCondHandleKey< CondDataObjY > m_rch3
Definition: AlgE.h:38
AlgE::initialize
virtual StatusCode initialize() override
Definition: AlgE.cxx:27