GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitDataHistogram.h
Go to the documentation of this file.
1 // $Id: TGo4FitDataHistogram.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 TGO4FITDATAHISTOGRAM_H
15 #define TGO4FITDATAHISTOGRAM_H
16 
17 #include "TGo4FitData.h"
18 #include "TGo4FitSlot.h"
19 
20 class TH1;
21 
31  public:
32 
37 
43  TGo4FitDataHistogram(const char* iName, TH1* = 0, Bool_t iHistogramOwned = kFALSE, Bool_t AddAmpl = kFALSE);
44 
48  virtual ~TGo4FitDataHistogram();
49 
53  TH1* GetHistogram() { return (TH1*) fxHistogram.GetObject(); }
54 
59  void SetHistogram(TH1 *iHistogram, Bool_t iHistogramOwned = 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  TArrayI fxLimits;
104  TArrayD fxOwnScales;
105  TArrayD fxOwnWidths;
106 
107  ClassDef(TGo4FitDataHistogramIter,1)
108 };
109 
110 #endif // TGO4FITDATAHISTOGRAM_H
void SetHistogram(TH1 *iHistogram, Bool_t iHistogramOwned=kFALSE)
TGo4FitDataIter * MakeIter()
virtual void FillSlotList(TSeqCollection *list)
TGo4FitDataHistogram * fxData
ClassDef(TGo4FitSlotList, 1)
virtual void Print(Option_t *option) const
TObject * GetObject() const
virtual TGo4FitData * GetData() const