// @(#)root/hist:$Id$
// Author: Rene Brun   18/08/95

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/


#ifndef ROOT_v5_TF1DATA
#define ROOT_v5_TF1DATA



//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TF1Data                                                                 //
//                                                                      //
// Dummy class with same structure of v5::TF1 objects 
// used only for reading the old files                                   //
//////////////////////////////////////////////////////////////////////////

#include "RConfigure.h"

#ifndef ROOT_v5_TFormula
#include "v5/TFormula.h"
#endif
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
#ifndef ROOT_TAttFill
#include "TAttFill.h"
#endif
#ifndef ROOT_TAttMarker
#include "TAttMarker.h"
#endif

namespace ROOT {

   namespace v5 { 

struct TF1Data : public ROOT::v5::TFormula, public TAttLine, public TAttFill, public TAttMarker {

   Double_t    fXmin;        //Lower bounds for the range
   Double_t    fXmax;        //Upper bounds for the range
   Int_t       fNpx;         //Number of points used for the graphical representation
   Int_t       fType;        //(=0 for standard functions, 1 if pointer to function)
   Int_t       fNpfits;      //Number of points used in the fit
   Int_t       fNDF;         //Number of degrees of freedom in the fit
   Int_t       fNsave;       //Number of points used to fill array fSave
   Double_t    fChisquare;   //Function fit chisquare
   Double_t    *fParErrors;  //[fNpar] Array of errors of the fNpar parameters
   Double_t    *fParMin;     //[fNpar] Array of lower limits of the fNpar parameters
   Double_t    *fParMax;     //[fNpar] Array of upper limits of the fNpar parameters
   Double_t    *fSave;       //[fNsave] Array of fNsave function values
   Double_t     fMaximum;    //Maximum value for plotting
   Double_t     fMinimum;    //Minimum value for plotting



   TF1Data();
   virtual   ~TF1Data();
   void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class = 0);
   
   ClassDef(TF1Data,7)  //The Parametric 1-D function data structure  of v5::TF1
};

   }  // end namespace v5
}   // end namespace ROOT

#endif
 TF1Data.h:1
 TF1Data.h:2
 TF1Data.h:3
 TF1Data.h:4
 TF1Data.h:5
 TF1Data.h:6
 TF1Data.h:7
 TF1Data.h:8
 TF1Data.h:9
 TF1Data.h:10
 TF1Data.h:11
 TF1Data.h:12
 TF1Data.h:13
 TF1Data.h:14
 TF1Data.h:15
 TF1Data.h:16
 TF1Data.h:17
 TF1Data.h:18
 TF1Data.h:19
 TF1Data.h:20
 TF1Data.h:21
 TF1Data.h:22
 TF1Data.h:23
 TF1Data.h:24
 TF1Data.h:25
 TF1Data.h:26
 TF1Data.h:27
 TF1Data.h:28
 TF1Data.h:29
 TF1Data.h:30
 TF1Data.h:31
 TF1Data.h:32
 TF1Data.h:33
 TF1Data.h:34
 TF1Data.h:35
 TF1Data.h:36
 TF1Data.h:37
 TF1Data.h:38
 TF1Data.h:39
 TF1Data.h:40
 TF1Data.h:41
 TF1Data.h:42
 TF1Data.h:43
 TF1Data.h:44
 TF1Data.h:45
 TF1Data.h:46
 TF1Data.h:47
 TF1Data.h:48
 TF1Data.h:49
 TF1Data.h:50
 TF1Data.h:51
 TF1Data.h:52
 TF1Data.h:53
 TF1Data.h:54
 TF1Data.h:55
 TF1Data.h:56
 TF1Data.h:57
 TF1Data.h:58
 TF1Data.h:59
 TF1Data.h:60
 TF1Data.h:61
 TF1Data.h:62
 TF1Data.h:63
 TF1Data.h:64
 TF1Data.h:65
 TF1Data.h:66
 TF1Data.h:67
 TF1Data.h:68
 TF1Data.h:69
 TF1Data.h:70
 TF1Data.h:71
 TF1Data.h:72
 TF1Data.h:73
 TF1Data.h:74