GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitDataProfile.h
Go to the documentation of this file.
1 // $Id: TGo4FitDataProfile.h 2627 2019-10-01 08:02:45Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4FITDATAPROFILE_H
15 #define TGO4FITDATAPROFILE_H
16 
17 #include "TGo4FitData.h"
18 #include "TGo4FitSlot.h"
19 
20 class TProfile;
21 
28  public:
29 
34 
40  TGo4FitDataProfile(const char* iName, TProfile* iProfile = 0, Bool_t iGraphOwned = kFALSE, Bool_t AddAmpl = kFALSE);
41 
45  virtual ~TGo4FitDataProfile();
46 
50  TProfile* GetProfile() { return (TProfile*) fxProfile.GetObject(); }
51 
56  void SetProfile(TProfile *iProfile, Bool_t iProfileOwned = kFALSE);
57 
62 
66  virtual void FillSlotList(TSeqCollection* list);
67 
71  virtual void Print(Option_t* option) const;
72 
73  protected:
74 
80 
82 };
83 
84 // **************************************************************************
85 
87  public:
91 
92  protected:
93  virtual TGo4FitData* GetData() const { return fxData; }
94  virtual Bool_t StartReset();
95  virtual Bool_t ReadCurrentPoint();
96  virtual Bool_t ShiftToNextPoint();
97 
98  private:
100  Int_t fiNumPoints;
101 
102  ClassDef(TGo4FitDataProfileIter,1)
103 };
104 
105 
106 #endif // TGO4FITDATAPROFILE_H
void SetProfile(TProfile *iProfile, Bool_t iProfileOwned=kFALSE)
ClassDef(TGo4FitSlotList, 1)
virtual Bool_t ShiftToNextPoint()
virtual Bool_t ReadCurrentPoint()
virtual void Print(Option_t *option) const
virtual void FillSlotList(TSeqCollection *list)
TGo4FitDataProfile * fxData
TGo4FitDataIter * MakeIter()
TObject * GetObject() const
virtual TGo4FitData * GetData() const