GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitDataGraph.h
Go to the documentation of this file.
1 // $Id: TGo4FitDataGraph.h 478 2009-10-29 12:26:09Z 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 für 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 
30 class TGo4FitDataGraph : public TGo4FitData {
31  public:
32 
37 
43  TGo4FitDataGraph(const char* iName, TGraph* = 0, Bool_t iGraphOwned = kFALSE, Bool_t AddAmpl = kFALSE);
44 
48  virtual ~TGo4FitDataGraph();
49 
53  TGraph* GetGraph() { return (TGraph*) fxGraph.GetObject(); }
54 
59  void SetGraph(TGraph *iGraph, Bool_t iGraphOwned = kFALSE);
60 
65 
69  virtual void FillSlotList(TSeqCollection* list);
70 
74  virtual void Print(Option_t* option) const;
75 
76  protected:
77 
83 
85 };
86 
87 // **************************************************************************
88 
90  public:
94 
95  protected:
96  virtual TGo4FitData* GetData() const { return fxData; }
97  virtual Bool_t StartReset();
98  virtual Bool_t ReadCurrentPoint();
99  virtual Bool_t ShiftToNextPoint();
100 
101  private:
103  Int_t fiNumPoints;
104 
105  ClassDef(TGo4FitDataGraphIter,1)
106 };
107 
108 #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()