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

/Go4Fit/TGo4FitAmplEstimation.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 TGO4FITAMPLESTIMATION_H
00017 #define TGO4FITAMPLESTIMATION_H
00018 #include "TGo4FitterAction.h"
00019 
00020 class TGo4Fitter;
00021 
00026 class TGo4FitAmplEstimation : public TGo4FitterAction {
00027    public:
00028 
00032       TGo4FitAmplEstimation();
00033 
00038       TGo4FitAmplEstimation(const char* Name, Int_t NumIters = 1);
00039 
00043       virtual ~TGo4FitAmplEstimation();
00044 
00048       Int_t GetNumIterations() { return fiNumIters; }
00049 
00053       void SetNumIterations(Int_t iNumIters) { fiNumIters = iNumIters; }
00054 
00055       virtual Bool_t NeedBuffers() const { return kTRUE; }
00056 
00061       virtual void DoAction(TGo4FitterAbstract* Fitter);
00062 
00066       virtual void Print(Option_t* option) const;
00067     private:
00068        Double_t PointWeight(Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev);
00069        Bool_t CalculateWithBuffers(TGo4Fitter* fitter);
00070        Bool_t CalculateWithIterators(TGo4Fitter* fitter);
00071 
00075        Int_t fiNumIters;
00076 
00077    ClassDef(TGo4FitAmplEstimation,1)
00078 };
00079 
00080 #endif // TGO4FITAMPLESTIMATION_H
00081 
00082 //----------------------------END OF GO4 SOURCE FILE ---------------------

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