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

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

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