ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
AnaAlgorithm
AnaAlgorithm
PythonConfigBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef ANA_ALGORITHM__PYTHON_CONFIG_BASE_H
10
#define ANA_ALGORITHM__PYTHON_CONFIG_BASE_H
11
12
#ifndef XAOD_STANDALONE
13
#ifndef __CPPCHECK__
14
#error only include this header in AnalysisBase
15
#endif
16
#endif
17
18
#include <
AnaAlgorithm/Global.h
>
19
20
#include <
AsgTools/AsgComponentConfig.h
>
21
22
namespace
EL
23
{
24
struct
AlgorithmWorkerData
;
25
34
35
class
PythonConfigBase
:
public
asg::AsgComponentConfig
36
{
37
//
38
// public interface
39
//
40
46
public
:
47
PythonConfigBase
();
48
49
55
public
:
56
explicit
PythonConfigBase
(
const
std::string& val_typeAndName);
57
58
64
public
:
65
virtual
~PythonConfigBase
() =
default
;
66
67
74
public
:
75
const
std::string&
componentType
()
const
noexcept;
76
void
setComponentType
(
const
std
::
string
& val_componentType);
78
79
80
81
//
82
// private interface
83
//
84
86
private
:
87
std
::
string
m_componentType
;
88
};
89
}
90
91
#endif
AsgComponentConfig.h
Global.h
EL::PythonConfigBase::PythonConfigBase
PythonConfigBase()
standard constructor
EL::PythonConfigBase::setComponentType
void setComponentType(const std::string &val_componentType)
Definition
PythonConfigBase.cxx:42
EL::PythonConfigBase::componentType
const std::string & componentType() const noexcept
the actual component type to create
Definition
PythonConfigBase.cxx:34
EL::PythonConfigBase::m_componentType
std::string m_componentType
the value of componentType
Definition
PythonConfigBase.h:87
EL::PythonConfigBase::~PythonConfigBase
virtual ~PythonConfigBase()=default
Virtual destructor, to make PyROOT happy.
asg::AsgComponentConfig
an object that stores the configuration for an AsgComponent and is able to create one from it
Definition
AsgComponentConfig.h:35
const
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
std
STL namespace.
EL::AlgorithmWorkerData
all the external components an algorithm needs before initialization (in EventLoop)
Definition
AlgorithmWorkerData.h:34
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0