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.
Loading...
Searching...
No Matches
processing
include
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
31
class
ConfigurePython
{
32
33
34
public
:
44
ConfigurePython
(
const
std::string& pythonScript,
char
* args[],
int
nargs);
45
49
~ConfigurePython
();
50
52
Process
*
makeProcess
();
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
83
struct
ProcessorInfo
{
84
std::string
classname_
;
85
std::string
instancename_
;
86
ParameterSet
params_
;
87
};
88
90
std::vector<ProcessorInfo>
sequence_
;
91
92
};
93
94
#endif
// __CONFIGURE_PYTHON_H__
ParameterSet.h
Class which contains parameters passed to a Processor.
Process.h
Class which represents the process under execution.
ProcessorFactory.h
Class which provides a singleton module factory that creates Processor objects.
ConfigurePython
Definition
ConfigurePython.h:31
ConfigurePython::output_files_
std::vector< std::string > output_files_
Definition
ConfigurePython.h:77
ConfigurePython::event_limit_
int event_limit_
Definition
ConfigurePython.h:68
ConfigurePython::skip_events_
int skip_events_
Definition
ConfigurePython.h:65
ConfigurePython::libraries_
std::vector< std::string > libraries_
Definition
ConfigurePython.h:74
ConfigurePython::sequence_
std::vector< ProcessorInfo > sequence_
Definition
ConfigurePython.h:90
ConfigurePython::~ConfigurePython
~ConfigurePython()
Definition
ConfigurePython.cxx:296
ConfigurePython::run_mode_
int run_mode_
Definition
ConfigurePython.h:62
ConfigurePython::makeProcess
Process * makeProcess()
Definition
ConfigurePython.cxx:300
ConfigurePython::input_files_
std::vector< std::string > input_files_
Definition
ConfigurePython.h:71
ParameterSet
description
Definition
ParameterSet.h:22
Process
Definition
Process.h:29
ConfigurePython::ProcessorInfo
Represents the configuration of an EventProcessor in the job.
Definition
ConfigurePython.h:83
ConfigurePython::ProcessorInfo::params_
ParameterSet params_
Definition
ConfigurePython.h:86
ConfigurePython::ProcessorInfo::instancename_
std::string instancename_
Definition
ConfigurePython.h:85
ConfigurePython::ProcessorInfo::classname_
std::string classname_
Definition
ConfigurePython.h:84
Generated by
1.9.8