GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitDataGraph.h
Go to the documentation of this file.
1 // $Id: TGo4FitDataGraph.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 TGO4FITDATAGRAPH_H
15 #define TGO4FITDATAGRAPH_H
16 
17 #include "TGo4FitData.h"
18 #include "TGo4FitSlot.h"
19 
20 class TGraph;
21 
31 class TGo4FitDataGraph : public TGo4FitData {
32  public:
33 
38 
44  TGo4FitDataGraph(const char* iName, TGraph* iGraph = 0, Bool_t iGraphOwned = kFALSE, Bool_t AddAmpl = kFALSE);
45 
49  virtual ~TGo4FitDataGraph();
50 
54  TGraph* GetGraph() { return (TGraph*) fxGraph.GetObject(); }
55 
60  void SetGraph(TGraph *iGraph, Bool_t iGraphOwned = kFALSE);
61 
66 
70  virtual void FillSlotList(TSeqCollection* list);
71 
75  virtual void Print(Option_t* option) const;
76 
77  protected:
78 
84 
86 };
87 
88 // **************************************************************************
89 
91  public:
95 
96  protected:
97  virtual TGo4FitData* GetData() const { return fxData; }
98  virtual Bool_t StartReset();
99  virtual Bool_t ReadCurrentPoint();
100  virtual Bool_t ShiftToNextPoint();
101 
102  private:
104  Int_t fiNumPoints;
105 
106  ClassDef(TGo4FitDataGraphIter,1)
107 };
108 
109 #endif // TGO4FITDATAGRAPH_H
virtual TGo4FitData * GetData() const
TGo4FitSlot fxGraph
virtual ~TGo4FitDataGraph()
virtual Bool_t StartReset()
virtual Bool_t ReadCurrentPoint()
void SetGraph(TGraph *iGraph, Bool_t iGraphOwned=kFALSE)
TGo4FitDataIter * MakeIter()
ClassDef(TGo4FitSlotList, 1)
TGo4FitDataGraph * fxData
virtual void FillSlotList(TSeqCollection *list)
virtual void Print(Option_t *option) const
TObject * GetObject() const
virtual Bool_t ShiftToNextPoint()