ATLAS Offline Software
Control
AthenaExamples
AthExStoreGateExample
Tutorial
SGRead.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef ATHEXSTOREGATEXAMPLE_SGREAD_H
8
#define ATHEXSTOREGATEXAMPLE_SGREAD_H 1
9
10
#include "
AthenaBaseComps/AthAlgorithm.h
"
11
12
#include <string>
13
14
/*
15
16
Header file for algorithm SGRead
17
reads data objects from StoreGate
18
19
*/
20
21
class
SGRead
:
public
AthAlgorithm
{
22
public
:
23
24
// Standard Algorithm Constructor:
25
26
SGRead
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
27
28
// Algorithm methods:
29
30
StatusCode
initialize
();
31
StatusCode
execute
();
32
StatusCode
finalize
();
33
34
private
:
35
36
std::string
m_DataObjKey
;
// Property: key of DataObj in TDS
37
38
};
39
40
41
#endif
42
43
44
45
46
47
48
49
SGRead::m_DataObjKey
std::string m_DataObjKey
Definition:
SGRead.h:36
SGRead::SGRead
SGRead(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
SGRead.cxx:22
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SGRead::finalize
StatusCode finalize()
Definition:
SGRead.cxx:95
SGRead::execute
StatusCode execute()
Definition:
SGRead.cxx:56
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
SGRead::initialize
StatusCode initialize()
Definition:
SGRead.cxx:34
SGRead
Definition:
SGRead.h:21
Generated on Thu Nov 7 2024 21:25:56 for ATLAS Offline Software by
1.8.18