GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitDataRidge.h
Go to the documentation of this file.
1 // $Id: TGo4FitDataRidge.h 2692 2020-01-10 14:34:41Z 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 TGO4FITDATARIDGE_H
15 #define TGO4FITDATARIDGE_H
16 
17 #include "TGo4FitData.h"
18 #include "TGo4FitSlot.h"
19 
31 class TGo4FitDataRidge : public TGo4FitData {
32  public:
33 
38 
44  TGo4FitDataRidge(const char* iName, TGo4FitData* Data = 0, Int_t SelectedAxis = 1);
45 
49  virtual ~TGo4FitDataRidge();
50 
54  void SetData(TGo4FitData* iData, Bool_t Owned) { fxData.SetObject(iData,Owned); }
55 
59  TGo4FitData* GetData() const { return dynamic_cast<TGo4FitData*> (fxData.GetObject()); }
60 
64  void SetSelectedAxis(Int_t naxis) { fiSelectedAxis = naxis; }
65 
69  Int_t GetSelectedAxis() { return fiSelectedAxis; }
70 
75 
79  virtual void FillSlotList(TSeqCollection* list);
80 
84  virtual void Print(Option_t* option) const;
85 
86  protected:
87 
92 
97 
99 };
100 
101 // *****************************************************************************
102 
104  public:
108 
109  protected:
110  virtual TGo4FitData* GetData() const { return fxData; }
111  virtual Bool_t StartReset();
112  virtual Bool_t ReadCurrentPoint();
113  virtual Bool_t ShiftToNextPoint();
114 
115  private:
118  TArrayD fxOwnScales;
119 
120  ClassDef(TGo4FitDataRidgeIter,1)
121 };
122 
123 #endif // TGO4FITDATARIDGE_H
virtual ~TGo4FitDataRidge()
TGo4FitSlot fxData
void SetSelectedAxis(Int_t naxis)
TGo4FitDataIter * MakeIter()
TGo4FitDataRidge * fxData
virtual Bool_t ReadCurrentPoint()
virtual void Print(Option_t *option) const
virtual Bool_t StartReset()
virtual Bool_t ShiftToNextPoint()
Bool_t SetObject(TObject *iObject, Bool_t iOwned=kFALSE, Bool_t CheckClass=kTRUE)
ClassDef(TGo4FitSlotList, 1)
virtual TGo4FitData * GetData() const
virtual void FillSlotList(TSeqCollection *list)
void SetData(TGo4FitData *iData, Bool_t Owned)
TGo4FitDataIter * iter
TObject * GetObject() const
TGo4FitData * GetData() const