Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files 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 #include "v5/TFormula.h"
29 #include "TAttLine.h"
30 #include "TAttFill.h"
31 #include "TAttMarker.h"
32 
33 namespace ROOT {
34 
35  namespace v5 {
36 
37 struct TF1Data : public ROOT::v5::TFormula, public TAttLine, public TAttFill, public TAttMarker {
38 
39  Double_t fXmin; //Lower bounds for the range
40  Double_t fXmax; //Upper bounds for the range
41  Int_t fNpx; //Number of points used for the graphical representation
42  Int_t fType; //(=0 for standard functions, 1 if pointer to function)
43  Int_t fNpfits; //Number of points used in the fit
44  Int_t fNDF; //Number of degrees of freedom in the fit
45  Int_t fNsave; //Number of points used to fill array fSave
46  Double_t fChisquare; //Function fit chisquare
47  Double_t *fParErrors; //[fNpar] Array of errors of the fNpar parameters
48  Double_t *fParMin; //[fNpar] Array of lower limits of the fNpar parameters
49  Double_t *fParMax; //[fNpar] Array of upper limits of the fNpar parameters
50  Double_t *fSave; //[fNsave] Array of fNsave function values
51  Double_t fMaximum; //Maximum value for plotting
52  Double_t fMinimum; //Minimum value for plotting
53 
54 
55 
56  TF1Data();
57  virtual ~TF1Data();
58  void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class = 0);
59 
60  ClassDef(TF1Data,7) //The Parametric 1-D function data structure of v5::TF1
61 };
62 
63  } // end namespace v5
64 } // end namespace ROOT
65 
66 #endif