ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
CondAlg1.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef DATAMODELTESTDATACOMMON_CONDALG1_H
14
#define DATAMODELTESTDATACOMMON_CONDALG1_H
15
16
#include "
DataModelTestDataCommon/S2Cond.h
"
17
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
18
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
19
#include "
StoreGate/ReadCondHandleKey.h
"
20
#include "
StoreGate/WriteCondHandleKey.h
"
21
22
23
namespace
DMTest
{
24
25
26
class
CondAlg1
27
:
public
AthCondAlgorithm
28
{
29
public
:
35
CondAlg1
(
const
std::string &name, ISvcLocator *pSvcLocator);
36
37
41
virtual
StatusCode
initialize
()
override
;
42
43
47
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
48
49
50
private
:
51
SG::ReadCondHandleKey<AthenaAttributeList>
m_attrListKey
;
52
SG::WriteCondHandleKey<DMTest::S2>
m_scondKey
;
53
};
54
55
56
}
// namespace DMTest
57
58
59
#endif
// not DATAMODELTESTDATACOMMON_CONDALG1_H
AthCondAlgorithm.h
Base class for conditions algorithms.
AthenaAttributeList.h
ReadCondHandleKey.h
S2Cond.h
Conditions declarations for S2.
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
DMTest::CondAlg1::m_attrListKey
SG::ReadCondHandleKey< AthenaAttributeList > m_attrListKey
Definition
CondAlg1.h:51
DMTest::CondAlg1::m_scondKey
SG::WriteCondHandleKey< DMTest::S2 > m_scondKey
Definition
CondAlg1.h:52
DMTest::CondAlg1::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
CondAlg1.cxx:50
DMTest::CondAlg1::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
CondAlg1.cxx:39
DMTest::CondAlg1::CondAlg1
CondAlg1(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
CondAlg1.cxx:26
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0