Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:30:29

0001 // @(#)root/hist:$Id$
0002 // Author: Rene Brun   18/08/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 
0013 #ifndef ROOT_v5_TF1DATA
0014 #define ROOT_v5_TF1DATA
0015 
0016 
0017 
0018 //////////////////////////////////////////////////////////////////////////
0019 //                                                                      //
0020 // TF1Data                                                                 //
0021 //                                                                      //
0022 // Dummy class with same structure of v5::TF1 objects
0023 // used only for reading the old files                                   //
0024 //////////////////////////////////////////////////////////////////////////
0025 
0026 #include "RConfigure.h"
0027 
0028 #include "v5/TFormula.h"
0029 #include "TAttLine.h"
0030 #include "TAttFill.h"
0031 #include "TAttMarker.h"
0032 
0033 namespace ROOT {
0034 
0035    namespace v5 {
0036 
0037 struct TF1Data : public ROOT::v5::TFormula, public TAttLine, public TAttFill, public TAttMarker {
0038 
0039    Double_t    fXmin;        //Lower bounds for the range
0040    Double_t    fXmax;        //Upper bounds for the range
0041    Int_t       fNpx;         //Number of points used for the graphical representation
0042    Int_t       fType;        //(=0 for standard functions, 1 if pointer to function)
0043    Int_t       fNpfits;      //Number of points used in the fit
0044    Int_t       fNDF;         //Number of degrees of freedom in the fit
0045    Int_t       fNsave;       //Number of points used to fill array fSave
0046    Double_t    fChisquare;   //Function fit chisquare
0047    Double_t    *fParErrors;  //[fNpar] Array of errors of the fNpar parameters
0048    Double_t    *fParMin;     //[fNpar] Array of lower limits of the fNpar parameters
0049    Double_t    *fParMax;     //[fNpar] Array of upper limits of the fNpar parameters
0050    Double_t    *fSave;       //[fNsave] Array of fNsave function values
0051    Double_t     fMaximum;    //Maximum value for plotting
0052    Double_t     fMinimum;    //Minimum value for plotting
0053 
0054 
0055 
0056    TF1Data();
0057      ~TF1Data() override;
0058    void Streamer(TBuffer &b, Int_t version, UInt_t start, UInt_t count, const TClass *onfile_class = nullptr);
0059 
0060    ClassDefOverride(TF1Data,7)  //The Parametric 1-D function data structure  of v5::TF1
0061 };
0062 
0063    }  // end namespace v5
0064 }   // end namespace ROOT
0065 
0066 #endif