8 #ifndef R_HISTO_FUNCTIONS_HH
9 #define R_HISTO_FUNCTIONS_HH
18 extern TH1 *
RReadHisto (
const string & fname,
const string & hname );
22 extern TH1 *
RSmoothHisto (
const TH1 *hptr,
const int n,
const char *title =
"Smoothed_Histo" );
23 extern TH1 *
RSmoothHisto1D (
const TH1 *hptr,
const int n,
const char *title =
"Smoothed_Histo" );
24 extern TH1 *
RSmoothHisto2D (
const TH1 *hptr,
const int n,
const char *title =
"Smoothed_Histo" );
28 extern Double_t
RGetHistoCorrelation (
const TH2 *hptr, Double_t &sum, Double_t &sigx, Double_t &sigy );
30 Double_t y1, Double_t y2,
31 Double_t &sum, Double_t &sigx, Double_t &sigy );
34 Double_t &sum, Double_t &sigx, Double_t &sigy );
39 Int_t ixmin = 0, Int_t ixmax = 0,
40 Int_t iymin = 0, Int_t iymax = 0 );
42 extern void RDrawHistoError (
const TH1 * hptr,
const TH1 * herr,
const char opts[] =
"", Double_t yinf = 0., Double_t ysup = 0. );
43 extern void RDrawHistoError (
const TH1 * hptr,
const char opts[] =
"", Double_t yinf = 0., Double_t ysup = 0. );
49 extern int RExportPOV (
const string & fname, TH1 * hptr,
double thr = 0.,
const string & fmt =
"%10.4f" );
50 extern int RExportPOV ( FILE * fptr, TH1 * hptr,
double thr = 0.,
const string & fmt =
"%10.4f" );
52 extern int RExportDF3 (
const string & fname, TH3 * hptr,
double thr = 0.,
double scale = 1. );
53 extern int RExportDF3 ( FILE * fptr, TH3 * hptr,
double thr = 0.,
double scale = 1. );
TH1 * RReadHisto(const string &fname, const string &hname)
Definition: RHistoFunctions.cpp:29
TH1 * RSmoothHisto(const TH1 *hptr, const int n, const char *title)
Definition: RHistoFunctions.cpp:81
void RGetHistoErrorLimits(const TH1 *hptr, Double_t &vinf, Double_t &vsup, Int_t ixmin, Int_t ixmax, Int_t iymin, Int_t iymax)
Definition: RHistoFunctions.cpp:537
void RDrawHistoError(const TH1 *hptr, const TH1 *herr, const char opts[], Double_t yinf, Double_t ysup)
Definition: RHistoFunctions.cpp:650
int RExportPOV(const string &fname, TH1 *hptr, double thr, const string &fmt)
Definition: RHistoFunctions.cpp:869
TH1 * RSmoothHisto2D(const TH1 *hptr, const int n, const char *title)
Definition: RHistoFunctions.cpp:178
Double_t RGetHistoCorrelation(const TH2 *hptr, Double_t &sum, Double_t &sigx, Double_t &sigy)
Definition: RHistoFunctions.cpp:286
TH1 * RSmoothHisto1D(const TH1 *hptr, const int n, const char *title)
Definition: RHistoFunctions.cpp:110
int RExportDF3(const string &fname, TH3 *hptr, double thr, double scale)
Definition: RHistoFunctions.cpp:985