TGo4FitDataProfile.h

Go to the documentation of this file.
00001 // $Id: TGo4FitDataProfile.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 TGO4FITDATAPROFILE_H
00015 #define TGO4FITDATAPROFILE_H
00016 
00017 #include "TGo4FitData.h"
00018 #include "TGo4FitSlot.h"
00019 
00020 class TProfile;
00021 
00027 class TGo4FitDataProfile : public TGo4FitData {
00028    public:
00029 
00033       TGo4FitDataProfile();
00034 
00040       TGo4FitDataProfile(const char* iName, TProfile* = 0, Bool_t iGraphOwned = kFALSE, Bool_t AddAmpl = kFALSE);
00041 
00045       virtual ~TGo4FitDataProfile();
00046 
00050       TProfile* GetProfile() { return (TProfile*) fxProfile.GetObject(); }
00051 
00056       void SetProfile(TProfile *iProfile, Bool_t iProfileOwned = kFALSE);
00057 
00061       TGo4FitDataIter* MakeIter();
00062 
00066       virtual void FillSlotList(TSeqCollection* list);
00067 
00071       virtual void Print(Option_t* option) const;
00072 
00073    protected:
00074 
00079       TGo4FitSlot fxProfile;
00080 
00081    ClassDef(TGo4FitDataProfile,1)
00082 };
00083 
00084 // **************************************************************************
00085 
00086 class TGo4FitDataProfileIter : public TGo4FitDataIter {
00087    public:
00088       TGo4FitDataProfileIter();
00089       TGo4FitDataProfileIter(TGo4FitDataProfile* Data);
00090       ~TGo4FitDataProfileIter();
00091 
00092    protected:
00093       virtual TGo4FitData* GetData() const { return fxData; }
00094       virtual Bool_t StartReset();
00095       virtual Bool_t ReadCurrentPoint();
00096       virtual Bool_t ShiftToNextPoint();
00097 
00098    private:
00099       TGo4FitDataProfile* fxData;
00100       Int_t fiNumPoints;
00101 
00102    ClassDef(TGo4FitDataProfileIter,1)
00103 };
00104 
00105 
00106 #endif // TGO4FITDATAPROFILE_H

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