Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 ~TF1Data() override;
58 void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class = nullptr);
59
60 ClassDefOverride(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
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
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:43
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition TClass.h:81
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
Double_t * fParMin
Definition TF1Data.h:48
TF1Data()
F1 default constructor.
Double_t * fSave
Definition TF1Data.h:50
~TF1Data() override
TF1 default destructor.
void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class=nullptr)
specialized streamer function being able to read old TF1 versions as TF1Data in memory
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