Logo ROOT   6.16/01
Reference Guide
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
33namespace ROOT {
34
35 namespace v5 {
36
37struct 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
#define b(i)
Definition: RSha256.hxx:100
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
double Double_t
Definition: RtypesCore.h:55
#define ClassDef(name, id)
Definition: Rtypes.h:324
The FORMULA class (ROOT version 5)
Definition: TFormula.h:65
Fill Area Attributes class.
Definition: TAttFill.h:19
Line Attributes class.
Definition: TAttLine.h:18
Marker Attributes class.
Definition: TAttMarker.h:19
Buffer base class used for serializing objects.
Definition: TBuffer.h:40
The ROOT global object gROOT contains a list of all defined classes.
Definition: TClass.h:75
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
virtual ~TF1Data()
TF1 default destructor.
Definition: TF1Data_v5.cxx:48
Double_t * fParMin
Definition: TF1Data.h:48
void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class=0)
Stream a class object.
Definition: TF1Data_v5.cxx:59
TF1Data()
F1 default constructor.
Definition: TF1Data_v5.cxx:26
Double_t * fSave
Definition: TF1Data.h:50
Double_t fXmin
Definition: TF1Data.h:39
Double_t * fParMax
Definition: TF1Data.h:49
Double_t fMaximum
Definition: TF1Data.h:51
Double_t fChisquare
Definition: TF1Data.h:46
Double_t fMinimum
Definition: TF1Data.h:52
Double_t * fParErrors
Definition: TF1Data.h:47
Double_t fXmax
Definition: TF1Data.h:40