LDMX Software
ConfigurePython.h
1#ifndef FRAMEWORK_CONFIGUREPYTHON_H
2#define FRAMEWORK_CONFIGUREPYTHON_H
3
4/*~~~~~~~~~~~~~~~*/
5/* Framework */
6/*~~~~~~~~~~~~~~~*/
7#include "Framework/Configure/Parameters.h"
8#include "Framework/Process.h"
9
10namespace framework {
11
20 public:
22 static std::string root_module;
24 static std::string root_class;
26 static std::string root_object;
27
28 public:
50 ConfigurePython(const std::string& pythonScript, char* args[], int nargs);
51
57 ~ConfigurePython() = default;
58
69
72
73 private:
83
84}; // ConfigurePython
85
86} // namespace framework
87
88#endif // FRAMEWORK_CONFIGURE_PYTHON_H
Class which represents the process under execution.
Utility class which reads/executes a python script and creates a Process object based on the input.
framework::config::Parameters configuration_
The entire configuration for this process.
~ConfigurePython()=default
Class destructor.
static std::string root_object
the root configuration object name
static std::string root_module
the root configuration module name
ProcessHandle makeProcess()
Create a process object based on the python file information.
const framework::config::Parameters get() const
Get a handle to the configuration.
static std::string root_class
the root configuration class name
Class encapsulating parameters for configuring a processor.
Definition Parameters.h:27
All classes in the ldmx-sw project use this namespace.
Definition PerfDict.cxx:45
std::unique_ptr< Process > ProcessHandle
A handle to the current process Used to pass a process from ConfigurePython to fire....
Definition Process.h:248