ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
MetaWriterAlg.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-2019 CERN for the benefit of the ATLAS collaboration.
4
*/
5
// $Id$
12
13
14
#ifndef DATAMODELTESTDATACOMMON_METAWRITERALG_H
15
#define DATAMODELTESTDATACOMMON_METAWRITERALG_H
16
17
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
#include "GaudiKernel/ServiceHandle.h"
20
21
22
namespace
DMTest
{
23
24
25
class
MetaWriterAlg
26
:
public
AthAlgorithm
27
{
28
public
:
34
MetaWriterAlg
(
const
std::string &name, ISvcLocator *pSvcLocator);
35
36
40
virtual
StatusCode
initialize
()
override
;
41
42
46
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
47
48
49
private
:
50
ServiceHandle<StoreGateSvc>
m_metaStore
;
51
};
52
53
54
}
// namespace DMTest
55
56
57
#endif
// not DATAMODELTESTDATACOMMON_METAWRITERALG_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
DMTest::MetaWriterAlg::execute
virtual StatusCode execute(const EventContext &ctx) override
Algorithm execute method.
Definition
MetaWriterAlg.cxx:58
DMTest::MetaWriterAlg::m_metaStore
ServiceHandle< StoreGateSvc > m_metaStore
Definition
MetaWriterAlg.h:50
DMTest::MetaWriterAlg::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
MetaWriterAlg.cxx:38
DMTest::MetaWriterAlg::MetaWriterAlg
MetaWriterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
MetaWriterAlg.cxx:27
ServiceHandle
Definition
ClusterMakerTool.h:36
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0