ATLAS Offline Software
Loading...
Searching...
No Matches
SGInputLoader.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 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"
19
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() override;
35 virtual StatusCode finalize() override;
36
37 private:
38
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_failEvt{this, "FailIfNoProxy", true,
52 "execute returns FAILURE if a requested proxy is not found in store"};
53
54 Gaudi::Property<bool> m_loadProxies{this, "LoadExtraProxies", true,
55 "load the Proxies attributed to the SGInputLoader by the Scheduler"};
56
57 // other
58 bool m_first{true};
59
60};
61
62
63#endif //> !SGCOMPS_SGINPUTLOADER_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SGInputLoader()
Default constructor:
virtual ~SGInputLoader()
Gaudi::Property< bool > m_failEvt
void loader(Gaudi::Details::PropertyBase &)
bool loadObjs(const DataObjIDColl &objs) const
Gaudi::Property< bool > m_dump
virtual StatusCode execute() override
Gaudi::Property< bool > m_loadProxies
DataObjIDColl m_load
Properties.
virtual StatusCode finalize() override
SGInputLoader(const std::string &name, ISvcLocator *pSvcLocator)
bool isClonable() const override
this Alg is Clonable (for AthenaMT)
virtual StatusCode initialize() override