8 #ifndef R_GRAPH_FUNCTIONS_HH
9 #define R_GRAPH_FUNCTIONS_HH
12 #include "GOptionString.hh"
15 #include <TGraphErrors.h>
17 #include <TGraph2DErrors.h>
21 #include <TPolyLine.h>
22 #include <TPolyLine3D.h>
27 #include <TTreeFormula.h>
36 const Double_t * t1,
const Double_t * t2 );
38 const Double_t xmin,
const Double_t xmax,
39 const Double_t * t1,
const Double_t * t2 );
45 extern TGraphErrors *
RConcatGraph ( TGraphErrors * gtot,
const TGraphErrors * gnew );
46 extern TGraphErrors *
RConcatGraph ( TGraphErrors * gtot,
const TGraph * gnew );
47 extern TGraph *
RConcatGraph ( TGraph * gtot,
const TGraph * gnew );
63 TGraphErrors * & tab_gr,
65 const Double_t eps = 1.e-6 );
74 const Double_t eps = 1.e-6 );
82 TPolyLine3D * & tab_l,
84 const Double_t eps = 1.e-6 );
93 const string & varx,
const string & vary,
94 const string & selection =
"" );
97 const string & varx,
const string & vary,
98 const string & errx,
const string & erry,
99 const string & selection );
102 const string & varc, u_int n,
double ctab[],
103 const string & varx,
const string & vary,
104 const string & errx =
"",
const string & erry =
"",
105 const string & selection =
"",
106 double prec = 0.001 );
TGraph * RGraphFromTree(TTree &tree, const string &varx, const string &vary, const string &selection)
Definition: RGraphFunctions.cpp:622
TGraphErrors * RCreateYmeanGraph(TH2 *hptr, const string &options)
Definition: RGraphFunctions.cpp:80
TGraphErrors * RConcatGraph(TGraphErrors *gtot, const TGraphErrors *gnew)
Definition: RGraphFunctions.cpp:198
Int_t RGetGraphSeries(const Int_t n, const Double_t *p, const Double_t *x, const Double_t *y, const Double_t *dx, const Double_t *dy, TGraphErrors *&tab_gr, Double_t *&tab_p, const Double_t eps)
Definition: RGraphFunctions.cpp:313
Int_t RGetPolyLineSeries(const Int_t n, const Double_t *p, const Double_t *x, const Double_t *y, TPolyLine *&tab_l, Double_t *&tab_p, const Double_t eps)
Definition: RGraphFunctions.cpp:425
Int_t RGetPolyLine3DSeries(const Int_t n, const Double_t *p, const Double_t *x, const Double_t *y, const Double_t *z, TPolyLine3D *&tab_l, Double_t *&tab_p, const Double_t eps)
Definition: RGraphFunctions.cpp:523
TGraphErrors ** RGraphSerieFromTree(TTree &tree, const string &varc, u_int n, double ctab[], const string &varx, const string &vary, const string &errx, const string &erry, const string &selection, double prec)
Definition: RGraphFunctions.cpp:888
TGraph * RGraphDifference(int n, const Double_t *t1, const Double_t *t2)
Definition: RGraphFunctions.cpp:21