Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4FitterOutput.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4FITTEROUTPUT_H
00017 #define TGO4FITTEROUTPUT_H
00018 
00019 #include "TGo4FitterAction.h"
00020 
00021 class TVirtualPad;
00022 
00029 class TGo4FitterOutput : public TGo4FitterAction {
00030    public:
00031 
00035       TGo4FitterOutput();
00036 
00040       TGo4FitterOutput(const char* Command, const char* Options = 0);
00041 
00045       virtual ~TGo4FitterOutput();
00046 
00050       void Set(const char* Command, const char* Options = 0) { fxCommand = Command; fxOptions = Options; }
00051 
00055       void SetPad(TVirtualPad* iPad) { fxPad = iPad; }
00056 
00060       TVirtualPad* GetPad() { return fxPad; }
00061 
00065       Bool_t NeedPad() { return (fxCommand=="Draw") && ((fxOptions.Length()==0) || (fxOptions[0]!='#')); }
00066 
00070       const char* GetCommand() { return fxCommand.Data(); }
00071 
00075       const char* GetOptions() { return fxOptions.Data(); }
00076 
00080       void SetCommand(const char* Command) { fxCommand = Command; }
00081 
00085       void SetOptions(const char* Options) { fxOptions = Options; }
00086 
00090       virtual void DoAction(TGo4FitterAbstract* Fitter);
00091 
00095       virtual void Print(Option_t* option) const;
00096     private:
00097 
00101       TString fxCommand;
00102 
00106       TString fxOptions;
00107 
00111       TVirtualPad* fxPad;                   
00112 
00113    ClassDef(TGo4FitterOutput,1)
00114 };
00115 
00116 #endif // TGO4FITTEROUTPUT_H
00117 
00118 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:13 2008 for Go4-v3.04-1 by  doxygen 1.4.2