ATLAS Offline Software
CondAlgZ.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CONDALGS_CONDALGZ_H
6 #define CONDALGS_CONDALGZ_H 1
7 
9 #include "StoreGate/ReadHandle.h"
12 
13 #include "AthExHive/CondDataObj.h"
14 #include "AthExHive/CondDataObjY.h"
15 #include "AthExHive/CondDataObjZ.h"
17 
19 
20 #include <string>
21 
22 class CondAlgZ : public AthAlgorithm {
23 
24 public:
25 
26  CondAlgZ (const std::string& name, ISvcLocator* pSvcLocator);
27  virtual ~CondAlgZ();
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode execute() override;
31 
32 private:
33 
34  SG::ReadCondHandleKey<CondDataObj> m_rchk1 {this, "Key_RCH1", "X2", "read cond handle key 1"};
35  SG::ReadCondHandleKey<CondDataObjY> m_rchk2 {this, "Key_RCH2", "Y1", "read cond handle key 2"};
36  SG::ReadCondHandleKey<CondDataObjY> m_rchk3 {this, "Key_RCH3", "Y2", "read cond handle key 3"};
37 
38  SG::WriteCondHandleKey<CondDataObjZ> m_wch {this, "Key_WCH", "Z1", "write cond handle key"};
39 };
40 
41 #endif
CondAlgZ::m_wch
SG::WriteCondHandleKey< CondDataObjZ > m_wch
Definition: CondAlgZ.h:38
CondAlgZ
Definition: CondAlgZ.h:22
IASCIICondDbSvc.h
WriteCondHandleKey.h
CondDataObj.h
CondAlgZ::m_rchk2
SG::ReadCondHandleKey< CondDataObjY > m_rchk2
Definition: CondAlgZ.h:35
CondAlgZ::initialize
virtual StatusCode initialize() override
Definition: CondAlgZ.cxx:21
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CondAlgZ::CondAlgZ
CondAlgZ(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CondAlgZ.cxx:13
CondAlgZ::m_rchk3
SG::ReadCondHandleKey< CondDataObjY > m_rchk3
Definition: CondAlgZ.h:36
CondAlgZ::execute
virtual StatusCode execute() override
Definition: CondAlgZ.cxx:33
CondDataObjZ.h
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CondDataObjY.h
EventInfo.h
SG::ReadCondHandleKey< CondDataObj >
CondAlgZ::m_rchk1
SG::ReadCondHandleKey< CondDataObj > m_rchk1
Definition: CondAlgZ.h:34
SG::WriteCondHandleKey< CondDataObjZ >
ReadHandle.h
Handle class for reading from StoreGate.
CondAlgZ::~CondAlgZ
virtual ~CondAlgZ()
Definition: CondAlgZ.cxx:19