ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TF1Data.h
Go to the documentation of this file.
1 // @(#)root/hist:$Id$
2 // Author: Rene Brun 18/08/95
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 
13 #ifndef ROOT_v5_TF1DATA
14 #define ROOT_v5_TF1DATA
15 
16 
17 
18 //////////////////////////////////////////////////////////////////////////
19 // //
20 // TF1Data //
21 // //
22 // Dummy class with same structure of v5::TF1 objects
23 // used only for reading the old files //
24 //////////////////////////////////////////////////////////////////////////
25 
26 #include "RConfigure.h"
27 
28 #ifndef ROOT_v5_TFormula
29 #include "v5/TFormula.h"
30 #endif
31 #ifndef ROOT_TAttLine
32 #include "TAttLine.h"
33 #endif
34 #ifndef ROOT_TAttFill
35 #include "TAttFill.h"
36 #endif
37 #ifndef ROOT_TAttMarker
38 #include "TAttMarker.h"
39 #endif
40 
41 namespace ROOT {
42 
43  namespace v5 {
44 
45 struct TF1Data : public ROOT::v5::TFormula, public TAttLine, public TAttFill, public TAttMarker {
46 
47  Double_t fXmin; //Lower bounds for the range
48  Double_t fXmax; //Upper bounds for the range
49  Int_t fNpx; //Number of points used for the graphical representation
50  Int_t fType; //(=0 for standard functions, 1 if pointer to function)
51  Int_t fNpfits; //Number of points used in the fit
52  Int_t fNDF; //Number of degrees of freedom in the fit
53  Int_t fNsave; //Number of points used to fill array fSave
54  Double_t fChisquare; //Function fit chisquare
55  Double_t *fParErrors; //[fNpar] Array of errors of the fNpar parameters
56  Double_t *fParMin; //[fNpar] Array of lower limits of the fNpar parameters
57  Double_t *fParMax; //[fNpar] Array of upper limits of the fNpar parameters
58  Double_t *fSave; //[fNsave] Array of fNsave function values
59  Double_t fMaximum; //Maximum value for plotting
60  Double_t fMinimum; //Minimum value for plotting
61 
62 
63 
64  TF1Data();
65  virtual ~TF1Data();
66  void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class = 0);
67 
68  ClassDef(TF1Data,7) //The Parametric 1-D function data structure of v5::TF1
69 };
70 
71  } // end namespace v5
72 } // end namespace ROOT
73 
74 #endif
Double_t fXmax
Definition: TF1Data.h:48
Double_t * fParErrors
Definition: TF1Data.h:55
Buffer base class used for serializing objects.
Definition: TBuffer.h:42
int Int_t
Definition: RtypesCore.h:41
Marker Attributes class.
Definition: TAttMarker.h:32
Fill Area Attributes class.
Definition: TAttFill.h:32
ClassDef(TAttLine, 2)
unsigned int UInt_t
Definition: RtypesCore.h:42
Double_t * fParMax
Definition: TF1Data.h:57
The ROOT global object gROOT contains a list of all defined classes.
Definition: TClass.h:81
double Double_t
Definition: RtypesCore.h:55
void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class=0)
virtual ~TF1Data()
Double_t fXmin
Definition: TF1Data.h:47
Double_t * fParMin
Definition: TF1Data.h:56
Double_t fChisquare
Definition: TF1Data.h:54
Double_t fMaximum
Definition: TF1Data.h:59
Double_t * fSave
Definition: TF1Data.h:58
Line Attributes class.
Definition: TAttLine.h:32
Double_t fMinimum
Definition: TF1Data.h:60