ATLAS Offline Software
Loading...
Searching...
No Matches
WorkerConfig.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef EVENT_LOOP__WORKER_CONFIG_H
9#define EVENT_LOOP__WORKER_CONFIG_H
10
11#include <EventLoop/Global.h>
12
14#include <TObject.h>
15
16namespace EL
17{
18 namespace Detail
19 {
20 struct ModuleData;
21 }
22
23 class PythonConfigBase;
24
25
26 class WorkerConfig final : public TObject
27 {
30
31 public:
32
34 [[nodiscard]] const asg::SgEventMeta *metaStore() const noexcept;
35
36
38 void add (const PythonConfigBase& config);
39
40
41
44
45 public:
46
47 WorkerConfig (Detail::ModuleData *val_data) noexcept;
48 ~WorkerConfig () noexcept;
49
50
51
54
55 private:
56
57 Detail::ModuleData *m_data = nullptr;
58 asg::SgEventMeta m_metaStore;
59
60#pragma GCC diagnostic push
61#pragma GCC diagnostic ignored "-Wpragmas"
62#pragma GCC diagnostic ignored "-Wunknown-pragmas"
63#pragma GCC diagnostic ignored "-Winconsistent-missing-override"
65#pragma GCC diagnostic pop
66 };
67
68
69
72
73 [[nodiscard]] inline const asg::SgEventMeta *WorkerConfig ::
74 metaStore() const noexcept
75 {
76 return &m_metaStore;
77 }
78}
79
80#endif
the base class for the python configuration of any asg::AsgComponent
~WorkerConfig() noexcept
ClassDef(WorkerConfig, 1)
const asg::SgEventMeta * metaStore() const noexcept
access the meta store in the input file
void add(const PythonConfigBase &config)
add the given component
asg::SgEventMeta m_metaStore
Detail::ModuleData * m_data
WorkerConfig(Detail::ModuleData *val_data) noexcept
Wrapper class providing StoreGate-like access to metadata in ROOT.
Definition SgEventMeta.h:45
This module defines the arguments passed from the BATCH driver to the BATCH worker.
the data the EventLoop core classes are sharing with the Module implementation
Definition ModuleData.h:65
#define private