SQLamarr
The stand-alone ultra-fast simulation option for the LHCb experiment
SQLamarr.GenerativePlugin.GenerativePlugin Class Reference

Wrapper to a compiled parametrization taking conditions and noise as input. More...

Public Member Functions

def __init__ (self, SQLite3DB db, str library_path, str function_name, str query, str output_table, List[str] outputs, int nRandom, List[str] references)
 Configure a Transformer to wrap a parametrization function defined in an external library. More...
 

Detailed Description

Wrapper to a compiled parametrization taking conditions and noise as input.

Python bindings for SQLamarr::GenerativePlugin.

Definition at line 30 of file GenerativePlugin.py.

Constructor & Destructor Documentation

◆ __init__()

def SQLamarr.GenerativePlugin.GenerativePlugin.__init__ (   self,
SQLite3DB  db,
str  library_path,
str  function_name,
str  query,
str  output_table,
List[str]  outputs,
int  nRandom,
List[str]   references 
)

Configure a Transformer to wrap a parametrization function defined in an external library.

Parameters
dbAn open database connection;
library_pathpath-like position of the shared library;
function_namelinker symbol of the function to wrap;
querySQL query defining the reference indices and the inputs to be passed to the wrapped function;
output_tablename of the output TEMPORARY TABLE where outputs are stored toghether with the reference indices;
outputslist of the output column names for further reference;
nRandomnumber of normally distributed random noise values;
referenceslist of reference indices SELECTed by the query, but not part of the input to the wrapped function.

Definition at line 36 of file GenerativePlugin.py.


The documentation for this class was generated from the following file: