Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Launcher v4.9.0
|
Execute an analytical function on a dataserver. More...
#include <TLauncherFunction.h>
Public Member Functions | |
Constructor and Destructor | |
TLauncherFunction (URANIE::DataServer::TDataServer *tds, const char *functionanme, TString sinput="", TString soutput="") | |
Constructor by a TDataServer, the name of the function and a list of inputs (optional). User MUST specify that functionanme IS a TString by forecasting it so as to use the fiest constructor. | |
TLauncherFunction (URANIE::DataServer::TDataServer *tds, void(*fcn)(Double_t *, Double_t *), TString sinput, TString soutput) | |
Constructor by a TDataServer, a function and list of inputs and outputs (optional) | |
virtual | ~TLauncherFunction () |
Default destructor. | |
Setting and Getting attributs | |
void | setNOutput (Int_t n) |
Sets the number of output. | |
void | setDrawProgressBar (Bool_t bbool=kTRUE) |
Set the "draw progress bar" flag. | |
Bool_t | getDrawProgressBar () |
Get the "draw progress bar" flag. | |
Evaluate the function | |
virtual void | run (TString sinput="", TString soutput="", Option_t *option="") |
Runs phase of the code. | |
void | delOutputAttributes () |
Printing Log | |
void | setLog () |
void | unsetLog () |
void | changeLog () |
Bool_t | getLog () |
virtual void | printLog (Option_t *option="") |
Private Attributes | |
TMethodCall * | _fMethodCall |
Pointer to MethodCall in case of interpreted function. | |
void(* | _fMethod )(Double_t *gin, Double_t *f) |
TString | _soutput |
Name of the output attributes. | |
Int_t | _nOutput |
The dimension of the output vector. | |
URANIE::DataServer::TDataServer * | _tds |
Pointer to the DataServer. | |
TList * | _listOfInputAttributes |
List of the input branches. | |
Bool_t | _blog |
Boolean to edit the log. | |
Bool_t | _bdrawProgressBar |
Boolean to know if the progress bar has to be drawn. | |
URANIE::DataServer::TDSNtupleD * | _internal |
Detailed Description
Execute an analytical function on a dataserver.
This class extends the old class TPleXNum which is devoted to exectute an analytical function on a numerical experiment plant.
Constructor & Destructor Documentation
◆ TLauncherFunction() [1/2]
URANIE::Launcher::TLauncherFunction::TLauncherFunction | ( | URANIE::DataServer::TDataServer * | tds, |
const char * | functionanme, | ||
TString | sinput = "" , |
||
TString | soutput = "" |
||
) |
Constructor by a TDataServer, the name of the function and a list of inputs (optional). User MUST specify that functionanme IS a TString by forecasting it so as to use the fiest constructor.
Referenced by ClassImp().
◆ TLauncherFunction() [2/2]
URANIE::Launcher::TLauncherFunction::TLauncherFunction | ( | URANIE::DataServer::TDataServer * | tds, |
void(*)(Double_t *, Double_t *) | fcn, | ||
TString | sinput, | ||
TString | soutput | ||
) |
Constructor by a TDataServer, a function and list of inputs and outputs (optional)
◆ ~TLauncherFunction()
|
virtual |
Default destructor.
Referenced by ClassImp().
Member Function Documentation
◆ changeLog()
|
inline |
References _blog.
◆ delOutputAttributes()
void URANIE::Launcher::TLauncherFunction::delOutputAttributes | ( | ) |
Referenced by ClassImp().
◆ getDrawProgressBar()
|
inline |
Get the "draw progress bar" flag.
- Returns
- (Bool_t) the "draw progress bar" flag (boolean)
References _bdrawProgressBar.
◆ getLog()
|
inline |
References _blog.
◆ printLog()
|
virtual |
Referenced by ClassImp().
◆ run()
|
virtual |
Runs phase of the code.
Referenced by ClassImp().
◆ setDrawProgressBar()
|
inline |
Set the "draw progress bar" flag.
The progress bar will be drawn if and only if the "draw progress bar" flag is true.
References _bdrawProgressBar.
◆ setLog()
|
inline |
References _blog.
◆ setNOutput()
void URANIE::Launcher::TLauncherFunction::setNOutput | ( | Int_t | n | ) |
Sets the number of output.
Referenced by ClassImp().
◆ unsetLog()
|
inline |
References _blog.
Member Data Documentation
◆ _bdrawProgressBar
|
private |
Boolean to know if the progress bar has to be drawn.
Referenced by ClassImp(), getDrawProgressBar(), and setDrawProgressBar().
◆ _blog
|
private |
Boolean to edit the log.
Referenced by changeLog(), ClassImp(), getLog(), setLog(), and unsetLog().
◆ _fMethod
|
private |
Referenced by ClassImp().
◆ _fMethodCall
|
private |
Pointer to MethodCall in case of interpreted function.
Referenced by ClassImp().
◆ _internal
|
private |
Referenced by ClassImp().
◆ _listOfInputAttributes
|
private |
List of the input branches.
Referenced by ClassImp().
◆ _nOutput
|
private |
The dimension of the output vector.
Referenced by ClassImp().
◆ _soutput
|
private |
Name of the output attributes.
Referenced by ClassImp().
◆ _tds
|
private |
Pointer to the DataServer.
Referenced by ClassImp().