GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4FitterOutput.h>
Public Member Functions | |
TGo4FitterOutput () | |
TGo4FitterOutput (const char *Command, const char *Options=nullptr) | |
virtual | ~TGo4FitterOutput () |
void | Set (const char *Command, const char *Options=nullptr) |
void | SetPad (TVirtualPad *iPad) |
TVirtualPad * | GetPad () const |
Bool_t | NeedPad () const |
const char * | GetCommand () const |
const char * | GetOptions () const |
void | SetCommand (const char *Command) |
void | SetOptions (const char *Options) |
void | DoAction (TGo4FitterAbstract *Fitter) override |
void | Print (Option_t *option="") const override |
![]() | |
TGo4FitterAction () | |
TGo4FitterAction (const char *Name, const char *Title, TNamed *Owner=nullptr) | |
virtual | ~TGo4FitterAction () |
virtual Bool_t | CanChangeFitter () const |
virtual Bool_t | NeedBuffers () const |
![]() | |
TGo4FitNamed () | |
TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=nullptr) | |
virtual | ~TGo4FitNamed () |
const char * | GetFullName () |
const char * | GetOwnerFullName () |
void | SetOwner (TNamed *iOwner) |
TNamed * | GetOwner () |
void | Print (Option_t *option="") const override |
Private Attributes | |
TString | fxCommand |
TString | fxOptions |
TVirtualPad * | fxPad {nullptr} |
Output action To add some output to actions, TGo4FitterOutput action class should be used. In constructor output command and options (if required) should be specified. Also AddOuputAction() routine of fitter can be used. Now following commands are available: "Print". Possible options are: "*"- print all internal objects, "**" - print also objects in slots, "Pars" - print parameters values, "Ampls" - only amplitude parameters, "Results" - result values. "Draw". Draw of the fitter data and model objects. As option name of data object and its components should be sets up. For instance, "data1,Gauss1,Gauss2". If first character will be "#", Draw command creates new canvas for output.
Definition at line 27 of file TGo4FitterOutput.h.
TGo4FitterOutput::TGo4FitterOutput | ( | ) |
Default constructor.
Definition at line 22 of file TGo4FitterOutput.cxx.
TGo4FitterOutput::TGo4FitterOutput | ( | const char * | Command, |
const char * | Options = nullptr |
||
) |
Creates TGo4FitterOutput action with provided command name and options (if required).
Definition at line 26 of file TGo4FitterOutput.cxx.
|
virtual |
Destroys TGo4FitterOutput object.
Definition at line 31 of file TGo4FitterOutput.cxx.
|
overridevirtual |
Execute proper output of fitter, Print() or Draw(), with specified options.
Implements TGo4FitterAction.
Definition at line 34 of file TGo4FitterOutput.cxx.
References fxCommand, fxOptions, fxPad, and TGo4FitterAbstract::Print().
Referenced by SetOptions().
|
inline |
|
inline |
|
inline |
|
inline |
Return kTRUE, if pad required for output.
Definition at line 63 of file TGo4FitterOutput.h.
References fxCommand, and fxOptions.
Referenced by TGo4FitterAbstract::NeedPadsNumber(), and TGo4FitterAbstract::SetPad().
|
override |
Print information on standard output.
Definition at line 48 of file TGo4FitterOutput.cxx.
References fxCommand, fxOptions, and TGo4FitNamed::Print().
Referenced by SetOptions().
|
inline |
Set command name and options (if required).
Definition at line 48 of file TGo4FitterOutput.h.
|
inline |
Sets command name.
Definition at line 78 of file TGo4FitterOutput.h.
References fxCommand.
Referenced by QFitOutputActionWidget::CommandCombo_activated().
|
inline |
Sets command options.
Definition at line 83 of file TGo4FitterOutput.h.
References DoAction(), fxOptions, and Print().
Referenced by QFitOutputActionWidget::OptionsEdit_textChanged().
|
inline |
Sets pad, which can be used for command output.
Definition at line 53 of file TGo4FitterOutput.h.
References fxPad.
Referenced by TGo4FitterAbstract::SetPad().
|
private |
Command name.
Definition at line 97 of file TGo4FitterOutput.h.
Referenced by DoAction(), GetCommand(), NeedPad(), Print(), Set(), and SetCommand().
|
private |
Command options.
Definition at line 100 of file TGo4FitterOutput.h.
Referenced by DoAction(), GetOptions(), NeedPad(), Print(), Set(), and SetOptions().
|
private |
TPad, which can be used for output.
Definition at line 103 of file TGo4FitterOutput.h.
Referenced by DoAction(), GetPad(), and SetPad().