ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
SGComps
src
SGInputLoader.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// SGInputLoader.h
8
// Header file for class SGInputLoader
10
#ifndef SGCOMPS_SGINPUTLOADER_H
11
#define SGCOMPS_SGINPUTLOADER_H 1
12
13
// STL includes
14
#include <string>
15
16
// FrameWork includes
17
#include "GaudiKernel/DataObjID.h"
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
20
class
SGInputLoader
21
:
public
::AthAlgorithm
22
{
23
24
public
:
25
26
SGInputLoader
(
const
std::string& name, ISvcLocator* pSvcLocator );
27
28
virtual
~SGInputLoader
();
29
31
bool
isClonable
()
const override
{
return
true
; }
32
33
virtual
StatusCode
initialize
()
override
;
34
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
35
virtual
StatusCode
finalize
()
override
;
36
37
private
:
38
40
SGInputLoader
();
41
42
void
loader
(Gaudi::Details::PropertyBase&);
43
bool
loadObjs
(
const
DataObjIDColl& objs)
const
;
44
46
DataObjIDColl
m_load
;
// create Output data dependencies for these objects
47
48
Gaudi::Property< bool >
m_dump
{
this
,
"ShowEventDump"
,
false
,
49
"printout contents of EventStore at end of execute()"
};
50
51
Gaudi::Property< bool >
m_preLoad
{
this
,
"PreLoadData"
,
false
,
52
"pre load EventStore data in execute()"
};
53
54
Gaudi::Property<bool>
m_failEvt
{
this
,
"FailIfNoProxy"
,
true
,
55
"execute returns FAILURE if a requested proxy is not found in store"
};
56
57
Gaudi::Property<bool>
m_loadProxies
{
this
,
"LoadExtraProxies"
,
true
,
58
"load the Proxies attributed to the SGInputLoader by the Scheduler"
};
59
60
Gaudi::Property<std::string>
m_dataHeaderKey
{
this
,
"DataHeaderKey"
,
"EventSelector"
,
61
"StoreGate key of event entry object"
};
62
63
// other
64
bool
m_first
{
true
};
65
66
};
67
68
69
#endif
//> !SGCOMPS_SGINPUTLOADER_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SGInputLoader::SGInputLoader
SGInputLoader()
Default constructor:
SGInputLoader::~SGInputLoader
virtual ~SGInputLoader()
Definition
SGInputLoader.cxx:58
SGInputLoader::m_failEvt
Gaudi::Property< bool > m_failEvt
Definition
SGInputLoader.h:54
SGInputLoader::loader
void loader(Gaudi::Details::PropertyBase &)
Definition
SGInputLoader.cxx:190
SGInputLoader::loadObjs
bool loadObjs(const DataObjIDColl &objs) const
Definition
SGInputLoader.cxx:210
SGInputLoader::m_dump
Gaudi::Property< bool > m_dump
Definition
SGInputLoader.h:48
SGInputLoader::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
SGInputLoader.cxx:99
SGInputLoader::m_loadProxies
Gaudi::Property< bool > m_loadProxies
Definition
SGInputLoader.h:57
SGInputLoader::m_dataHeaderKey
Gaudi::Property< std::string > m_dataHeaderKey
Definition
SGInputLoader.h:60
SGInputLoader::m_first
bool m_first
Definition
SGInputLoader.h:64
SGInputLoader::m_load
DataObjIDColl m_load
Properties.
Definition
SGInputLoader.h:46
SGInputLoader::finalize
virtual StatusCode finalize() override
Definition
SGInputLoader.cxx:89
SGInputLoader::SGInputLoader
SGInputLoader(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SGInputLoader.cxx:44
SGInputLoader::isClonable
bool isClonable() const override
this Alg is Clonable (for AthenaMT)
Definition
SGInputLoader.h:31
SGInputLoader::m_preLoad
Gaudi::Property< bool > m_preLoad
Definition
SGInputLoader.h:51
SGInputLoader::initialize
virtual StatusCode initialize() override
Definition
SGInputLoader.cxx:64
Generated on
for ATLAS Offline Software by
1.17.0