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

/Go4StatusAnalysis/TGo4FitterEnvelope.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE 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 TGO4FITTERENVELOPE_H
00017 #define TGO4FITTERENVELOPE_H
00018 
00019 #include "Go4StatusBase/TGo4Parameter.h"
00020 #include "Go4Fit/TGo4Fitter.h"
00021 
00030 class TGo4FitterEnvelope : public TGo4Parameter {
00031 
00032   public:
00033     TGo4FitterEnvelope();
00034     TGo4FitterEnvelope(const char* name, TGo4Fitter* fitter=0);
00035     virtual ~TGo4FitterEnvelope();
00036     Int_t PrintParameter(Text_t * n, Int_t);
00037     Bool_t UpdateFrom(TGo4Parameter *);
00038 
00039     virtual void Clear(Option_t* opt="");
00040 
00045     TGo4Fitter* GetFitter(Bool_t chown=kFALSE)
00046        {
00047            TGo4Fitter* rev=fxFitter;
00048            if(chown) fxFitter=0;
00049            return rev;
00050        }
00051 
00053      void SetFitter(TGo4Fitter* fitter)
00054       {
00055            if(fxFitter) delete fxFitter;
00056            fxFitter=fitter;
00057       }
00058 
00059   private:
00060     TGo4Fitter* fxFitter;
00061 
00062   ClassDef(TGo4FitterEnvelope,1)
00063 };
00064 
00065 #endif //TGO4FITTERENVELOPE_H
00066 
00067 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:05 2005 for Go4-v2.10-5 by doxygen1.2.15