Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4FitterOutput Class Reference

Output action To add some output to actions, TGo4FitterOutput action class should be used. More...

#include <TGo4FitterOutput.h>

Inheritance diagram for TGo4FitterOutput:

TGo4FitterAction TGo4FitNamed List of all members.

Public Methods

 TGo4FitterOutput ()
 Default constructor. More...

 TGo4FitterOutput (const char *Command, const char *Options=0)
 Creates TGo4FitterOutput action with provided command name and options (if required). More...

virtual ~TGo4FitterOutput ()
 Destroys TGo4FitterOutput object. More...

void Set (const char *Command, const char *Options=0)
 Set command name and options (if required). More...

void SetPad (TVirtualPad *iPad)
 Sets pad, hwich can be used for command output. More...

TVirtualPad * GetPad ()
 Returns assigned pad. More...

Bool_t NeedPad ()
 Return kTRUE, if pad required for output. More...

const char * GetCommand ()
 Returns command name. More...

const char * GetOptions ()
 Returns command options. More...

void SetCommand (const char *Command)
 Sets command name. More...

void SetOptions (const char *Options)
 Sets command options. More...

virtual void DoAction (TGo4FitterAbstract *Fitter)
 Execute proper output of fitter, Print() or Draw(), with specified options. More...

virtual void Print (Option_t *option) const
 Print information on standard output. More...


Private Attributes

TString fxCommand
 Command name. More...

TString fxOptions
 Command options. More...

TVirtualPad * fxPad
 TPad, which can be used for output. More...


Detailed Description

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 29 of file TGo4FitterOutput.h.


Constructor & Destructor Documentation

TGo4FitterOutput::TGo4FitterOutput  
 

Default constructor.

Definition at line 24 of file TGo4FitterOutput.cxx.

TGo4FitterOutput::TGo4FitterOutput const char *    Command,
const char *    Options = 0
 

Creates TGo4FitterOutput action with provided command name and options (if required).

Definition at line 27 of file TGo4FitterOutput.cxx.

TGo4FitterOutput::~TGo4FitterOutput   [virtual]
 

Destroys TGo4FitterOutput object.

Definition at line 31 of file TGo4FitterOutput.cxx.


Member Function Documentation

void TGo4FitterOutput::Set const char *    Command,
const char *    Options = 0
[inline]
 

Set command name and options (if required).

Definition at line 50 of file TGo4FitterOutput.h.

References fxCommand, and fxOptions.

void TGo4FitterOutput::SetPad TVirtualPad *    iPad [inline]
 

Sets pad, hwich can be used for command output.

Definition at line 55 of file TGo4FitterOutput.h.

References fxPad.

Referenced by TGo4FitterAbstract::SetPad().

TVirtualPad* TGo4FitterOutput::GetPad   [inline]
 

Returns assigned pad.

Definition at line 60 of file TGo4FitterOutput.h.

References fxPad.

Bool_t TGo4FitterOutput::NeedPad   [inline]
 

Return kTRUE, if pad required for output.

Definition at line 65 of file TGo4FitterOutput.h.

References fxCommand, and fxOptions.

Referenced by TGo4FitterAbstract::NeedPadsNumber(), and TGo4FitterAbstract::SetPad().

const char* TGo4FitterOutput::GetCommand   [inline]
 

Returns command name.

Definition at line 70 of file TGo4FitterOutput.h.

References fxCommand.

const char* TGo4FitterOutput::GetOptions   [inline]
 

Returns command options.

Definition at line 75 of file TGo4FitterOutput.h.

References fxOptions.

void TGo4FitterOutput::SetCommand const char *    Command [inline]
 

Sets command name.

Definition at line 80 of file TGo4FitterOutput.h.

References fxCommand.

void TGo4FitterOutput::SetOptions const char *    Options [inline]
 

Sets command options.

Definition at line 85 of file TGo4FitterOutput.h.

References fxOptions.

void TGo4FitterOutput::DoAction TGo4FitterAbstract   Fitter [virtual]
 

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().

void TGo4FitterOutput::Print Option_t *    option const [virtual]
 

Print information on standard output.

Reimplemented from TGo4FitNamed.

Definition at line 46 of file TGo4FitterOutput.cxx.

References fxCommand, fxOptions, and TGo4FitNamed::Print().


Member Data Documentation

TString TGo4FitterOutput::fxCommand [private]
 

Command name.

Definition at line 101 of file TGo4FitterOutput.h.

Referenced by DoAction(), GetCommand(), NeedPad(), Print(), Set(), and SetCommand().

TString TGo4FitterOutput::fxOptions [private]
 

Command options.

Definition at line 106 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 111 of file TGo4FitterOutput.h.

Referenced by DoAction(), GetPad(), and SetPad().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:44 2005 for Go4-v2.10-5 by doxygen1.2.15