ATLAS Offline Software
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$
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
()
override
;
47
48
49
private
:
50
ServiceHandle<StoreGateSvc>
m_metaStore
;
51
};
52
53
54
}
// namespace DMTest
55
56
57
#endif // not DATAMODELTESTDATACOMMON_METAWRITERALG_H
DMTest::MetaWriterAlg::m_metaStore
ServiceHandle< StoreGateSvc > m_metaStore
Definition:
MetaWriterAlg.h:50
DMTest::MetaWriterAlg::execute
virtual StatusCode execute() override
Algorithm execute method.
Definition:
MetaWriterAlg.cxx:58
DMTest::MetaWriterAlg::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition:
MetaWriterAlg.cxx:38
AthAlgorithm.h
DMTest::MetaWriterAlg
Definition:
MetaWriterAlg.h:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
DMTest::MetaWriterAlg::MetaWriterAlg
MetaWriterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition:
MetaWriterAlg.cxx:27
DMTest
Definition:
B.h:23
ServiceHandle< StoreGateSvc >
Generated on Thu Nov 7 2024 21:20:58 for ATLAS Offline Software by
1.8.18