#include <TGo4FitterOutput.h>
Inheritance diagram for TGo4FitterOutput:
Public Member Functions | |
TGo4FitterOutput () | |
Default constructor. | |
TGo4FitterOutput (const char *Command, const char *Options=0) | |
Creates TGo4FitterOutput action with provided command name and options (if required). | |
virtual | ~TGo4FitterOutput () |
Destroys TGo4FitterOutput object. | |
void | Set (const char *Command, const char *Options=0) |
Set command name and options (if required). | |
void | SetPad (TVirtualPad *iPad) |
Sets pad, hwich can be used for command output. | |
TVirtualPad * | GetPad () |
Returns assigned pad. | |
Bool_t | NeedPad () |
Return kTRUE, if pad required for output. | |
const char * | GetCommand () |
Returns command name. | |
const char * | GetOptions () |
Returns command options. | |
void | SetCommand (const char *Command) |
Sets command name. | |
void | SetOptions (const char *Options) |
Sets command options. | |
virtual void | DoAction (TGo4FitterAbstract *Fitter) |
Execute proper output of fitter, Print() or Draw(), with specified options. | |
virtual void | Print (Option_t *option) const |
Print information on standard output. | |
Private Attributes | |
TString | fxCommand |
Command name. | |
TString | fxOptions |
Command options. | |
TVirtualPad * | fxPad |
TPad, which can be used for output. |
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 | ( | ) |
TGo4FitterOutput::TGo4FitterOutput | ( | const char * | Command, | |
const char * | Options = 0 | |||
) |
Creates TGo4FitterOutput action with provided command name and options (if required).
Definition at line 25 of file TGo4FitterOutput.cxx.
TGo4FitterOutput::~TGo4FitterOutput | ( | ) | [virtual] |
void TGo4FitterOutput::Set | ( | const char * | Command, | |
const char * | Options = 0 | |||
) | [inline] |
void TGo4FitterOutput::SetPad | ( | TVirtualPad * | iPad | ) | [inline] |
Sets pad, hwich can be used for command output.
Definition at line 53 of file TGo4FitterOutput.h.
References fxPad.
TVirtualPad* TGo4FitterOutput::GetPad | ( | ) | [inline] |
Bool_t TGo4FitterOutput::NeedPad | ( | ) | [inline] |
const char* TGo4FitterOutput::GetCommand | ( | ) | [inline] |
const char* TGo4FitterOutput::GetOptions | ( | ) | [inline] |
void TGo4FitterOutput::SetCommand | ( | const char * | Command | ) | [inline] |
void TGo4FitterOutput::SetOptions | ( | const char * | Options | ) | [inline] |
void TGo4FitterOutput::DoAction | ( | TGo4FitterAbstract * | Fitter | ) | [virtual] |
Execute proper output of fitter, Print() or Draw(), with specified options.
Implements TGo4FitterAction.
Definition at line 32 of file TGo4FitterOutput.cxx.
References fxCommand, fxOptions, fxPad, and TGo4FitterAbstract::Print().
void TGo4FitterOutput::Print | ( | Option_t * | option | ) | const [virtual] |
Print information on standard output.
Reimplemented from TGo4FitNamed.
Definition at line 44 of file TGo4FitterOutput.cxx.
References fxCommand, fxOptions, and TGo4FitNamed::Print().
TString TGo4FitterOutput::fxCommand [private] |
Command name.
Definition at line 99 of file TGo4FitterOutput.h.
Referenced by DoAction(), GetCommand(), NeedPad(), Print(), Set(), and SetCommand().
TString TGo4FitterOutput::fxOptions [private] |
Command options.
Definition at line 104 of file TGo4FitterOutput.h.
Referenced by DoAction(), GetOptions(), NeedPad(), Print(), Set(), and SetOptions().
TVirtualPad* TGo4FitterOutput::fxPad [private] |
TPad, which can be used for output.
Definition at line 109 of file TGo4FitterOutput.h.
Referenced by DoAction(), GetPad(), and SetPad().