ATLAS Offline Software
Control
AthenaExamples
AthExHive
src
condEx
AlgC.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_ALGC_H
6
#define CONDALGS_ALGC_H 1
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
12
#include "
AthExHive/HiveDataObj.h
"
13
#include "
AthExHive/CondDataObj.h
"
14
15
#include <string>
16
17
class
AlgC
:
public
AthAlgorithm
{
18
19
public
:
20
21
AlgC
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
22
virtual
~AlgC
();
23
24
virtual
bool
isClonable
()
const override
{
return
true
; }
25
26
virtual
StatusCode
initialize
()
override
;
27
virtual
StatusCode
execute
()
override
;
28
virtual
StatusCode
finalize
()
override
;
29
30
private
:
31
32
SG::ReadHandleKey<HiveDataObj>
m_rdh1
{
this
,
"Key_R1"
,
"a2"
,
"read key 1"
};
33
34
SG::ReadCondHandleKey<CondDataObj>
m_rch
{
this
,
"Key_CH"
,
"X1"
,
"cond read key"
};
35
36
};
37
#endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AlgC
Definition:
AlgC.h:17
AlgC::~AlgC
virtual ~AlgC()
Definition:
AlgC.cxx:22
AlgC::AlgC
AlgC(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
AlgC.cxx:15
HiveDataObj.h
AlgC::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition:
AlgC.h:32
CondDataObj.h
SG::ReadHandleKey< HiveDataObj >
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AlgC::m_rch
SG::ReadCondHandleKey< CondDataObj > m_rch
Definition:
AlgC.h:34
AthAlgorithm
Definition:
AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
AlgC::initialize
virtual StatusCode initialize() override
Definition:
AlgC.cxx:26
SG::ReadCondHandleKey< CondDataObj >
AlgC::isClonable
virtual bool isClonable() const override
Definition:
AlgC.h:24
AlgC::execute
virtual StatusCode execute() override
Definition:
AlgC.cxx:48
AlgC::finalize
virtual StatusCode finalize() override
Definition:
AlgC.cxx:41
Generated on Thu Nov 7 2024 21:09:49 for ATLAS Offline Software by
1.8.18