hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ConfigurePython.h
Go to the documentation of this file.
1
8#ifndef __CONFIGURE_PYTHON_H__
9#define __CONFIGURE_PYTHON_H__
10
11//------------//
12// Python //
13//------------//
14#include "Python.h"
15
16//----------------//
17// C++ StdLib //
18//----------------//
19#include <exception>
20#include <iostream>
21#include <stdexcept>
22#include <vector>
23
24//-----------//
25// hpstr //
26//-----------//
27#include "Process.h"
28#include "ProcessorFactory.h"
29#include "ParameterSet.h"
30
32
33
34 public:
44 ConfigurePython(const std::string& pythonScript, char* args[], int nargs);
45
50
53
54 private:
55
62 int run_mode_{-1};
63
65 int skip_events_{-1};
66
68 int event_limit_{-1};
69
71 std::vector<std::string> input_files_;
72
74 std::vector<std::string> libraries_;
75
77 std::vector<std::string> output_files_;
78
84 std::string classname_;
85 std::string instancename_;
87 };
88
90 std::vector<ProcessorInfo> sequence_;
91
92};
93
94#endif // __CONFIGURE_PYTHON_H__
Class which contains parameters passed to a Processor.
Class which represents the process under execution.
Class which provides a singleton module factory that creates Processor objects.
std::vector< std::string > output_files_
std::vector< std::string > libraries_
std::vector< ProcessorInfo > sequence_
Process * makeProcess()
std::vector< std::string > input_files_
description
Represents the configuration of an EventProcessor in the job.