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.
|
#include <ConfigurePython.h>
Classes | |
struct | ProcessorInfo |
Represents the configuration of an EventProcessor in the job. More... | |
Public Member Functions | |
ConfigurePython (const std::string &pythonScript, char *args[], int nargs) | |
Class constructor. | |
~ConfigurePython () | |
Process * | makeProcess () |
Private Attributes | |
int | run_mode_ {-1} |
int | skip_events_ {-1} |
int | event_limit_ {-1} |
std::vector< std::string > | input_files_ |
std::vector< std::string > | libraries_ |
std::vector< std::string > | output_files_ |
std::vector< ProcessorInfo > | sequence_ |
Definition at line 31 of file ConfigurePython.h.
ConfigurePython | ( | const std::string & | pythonScript, |
char * | args[], | ||
int | nargs | ||
) |
Class constructor.
This method contains all the parsing and execution of the python script.
pythonScript | Filename location of the python script. |
args | Commandline arguments to be passed to the python script. |
nargs | Number of commandline arguments. |
Definition at line 40 of file ConfigurePython.cxx.
~ConfigurePython | ( | ) |
Class destructor.
Definition at line 296 of file ConfigurePython.cxx.
Process * makeProcess | ( | ) |
Create a process object based on the python file information.
Definition at line 300 of file ConfigurePython.cxx.
|
private |
The maximum number of events to process, if provided in python file.
Definition at line 68 of file ConfigurePython.h.
|
private |
List of input files to process in the job, if provided in python file.
Definition at line 71 of file ConfigurePython.h.
|
private |
List of rules for shared libraries to load, if provided in python file.
Definition at line 74 of file ConfigurePython.h.
|
private |
List of rules for output ROOT file names, if provided in python file.
Definition at line 77 of file ConfigurePython.h.
|
private |
The run mode of the process: 0: LCIO to ROOT 1: ROOT to Histo 2: Histo Analysis
Definition at line 62 of file ConfigurePython.h.
|
private |
The sequence of EventProcessor objects to be executed in order.
Definition at line 90 of file ConfigurePython.h.
|
private |
The number of events to skip.
Definition at line 65 of file ConfigurePython.h.