ATLAS Offline Software
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 ROOTCORE
13 #ifndef __CPPCHECK__
14 #error only include this header in AnalysisBase
15 #endif
16 #endif
17 
18 #include <AnaAlgorithm/Global.h>
19 
21 
22 namespace EL
23 {
24  struct AlgorithmWorkerData;
25 
34 
36  {
37  //
38  // public interface
39  //
40 
46  public:
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
asg::AsgComponentConfig
an object that stores the configuration for an AsgComponent and is able to create one from it
Definition: AsgComponentConfig.h:34
AsgComponentConfig.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
EL::PythonConfigBase::~PythonConfigBase
virtual ~PythonConfigBase()=default
Virtual destructor, to make PyROOT happy.
EL::PythonConfigBase::PythonConfigBase
PythonConfigBase()
standard constructor
Definition: PythonConfigBase.cxx:22
EL::PythonConfigBase
the base class for the python configuration of any asg::AsgComponent
Definition: PythonConfigBase.h:36
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
Global.h
EL::PythonConfigBase::componentType
const std::string & componentType() const noexcept
the actual component type to create
Definition: PythonConfigBase.cxx:35
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
EL::PythonConfigBase::setComponentType
void setComponentType(const std::string &val_componentType)
Definition: PythonConfigBase.cxx:43
EL::PythonConfigBase::m_componentType
std::string m_componentType
the value of componentType
Definition: PythonConfigBase.h:87