TGo4FitAmplEstimation.h

Go to the documentation of this file.
00001 // $Id: TGo4FitAmplEstimation.h 478 2009-10-29 12:26:09Z linev $
00002 //-----------------------------------------------------------------------
00003 //       The GSI Online Offline Object Oriented (Go4) Project
00004 //         Experiment Data Processing at EE department, GSI
00005 //-----------------------------------------------------------------------
00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
00007 //                     Planckstr. 1, 64291 Darmstadt, Germany
00008 // Contact:            http://go4.gsi.de
00009 //-----------------------------------------------------------------------
00010 // This software can be used under the license agreements as stated
00011 // in Go4License.txt file which is part of the distribution.
00012 //-----------------------------------------------------------------------
00013 
00014 #ifndef TGO4FITAMPLESTIMATION_H
00015 #define TGO4FITAMPLESTIMATION_H
00016 
00017 #include "TGo4FitterAction.h"
00018 
00019 class TGo4Fitter;
00020 
00025 class TGo4FitAmplEstimation : public TGo4FitterAction {
00026    public:
00027 
00031       TGo4FitAmplEstimation();
00032 
00037       TGo4FitAmplEstimation(const char* Name, Int_t NumIters = 1);
00038 
00042       virtual ~TGo4FitAmplEstimation();
00043 
00047       Int_t GetNumIterations() { return fiNumIters; }
00048 
00052       void SetNumIterations(Int_t iNumIters) { fiNumIters = iNumIters; }
00053 
00054       virtual Bool_t NeedBuffers() const { return kTRUE; }
00055 
00060       virtual void DoAction(TGo4FitterAbstract* Fitter);
00061 
00065       virtual void Print(Option_t* option) const;
00066     private:
00067        Double_t PointWeight(Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev);
00068        Bool_t CalculateWithBuffers(TGo4Fitter* fitter);
00069        Bool_t CalculateWithIterators(TGo4Fitter* fitter);
00070 
00074        Int_t fiNumIters;
00075 
00076    ClassDef(TGo4FitAmplEstimation,1)
00077 };
00078 
00079 #endif // TGO4FITAMPLESTIMATION_H

Generated on Thu Oct 28 15:54:11 2010 for Go4-Fitpackagev4.04-2 by  doxygen 1.5.1