ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHive
src
condEx
CondAlgX.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_CONDALGX_H
6
#define ATHEXHIVE_CONDEX_CONDALGX_H
7
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
StoreGate/WriteCondHandleKey.h
"
11
12
#include "
AthExHive/CondDataObj.h
"
13
#include "
AthExHive/IASCIICondDbSvc.h
"
14
15
#include "
xAODEventInfo/EventInfo.h
"
16
#include "GaudiKernel/ICondSvc.h"
17
18
class
CondAlgX
:
public
AthCondAlgorithm
{
19
20
public
:
21
using
AthCondAlgorithm::AthCondAlgorithm;
22
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
25
26
private
:
27
28
SG::ReadHandleKey<xAOD::EventInfo>
m_evt
{
this
,
"EvtInfo"
,
"EventInfo"
,
"EventInfo name"
};
29
30
SG::WriteCondHandleKey<CondDataObj>
m_wchk
{
this
,
"Key_CH"
,
"X2"
,
"cond handle key"
};
31
32
Gaudi::Property<std::string>
m_dbKey
{
this
,
"Key_DB"
,
"X2"
,
"explicit dbKey for cond handle"
};
33
34
ServiceHandle<IASCIICondDbSvc>
m_cds
{
this
,
"ASCIICondDbSvc"
,
"ASCIICondDbSvc"
,
"Handle to the ASCII CondDb service"
};
35
};
36
37
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
CondDataObj.h
IASCIICondDbSvc.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
CondAlgX
Definition
CondAlgX.h:18
CondAlgX::m_cds
ServiceHandle< IASCIICondDbSvc > m_cds
Definition
CondAlgX.h:34
CondAlgX::m_dbKey
Gaudi::Property< std::string > m_dbKey
Definition
CondAlgX.h:32
CondAlgX::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
CondAlgX.cxx:31
CondAlgX::m_wchk
SG::WriteCondHandleKey< CondDataObj > m_wchk
Definition
CondAlgX.h:30
CondAlgX::initialize
virtual StatusCode initialize() override
Definition
CondAlgX.cxx:18
CondAlgX::m_evt
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition
CondAlgX.h:28
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
ServiceHandle
Definition
ClusterMakerTool.h:36
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0