#include <iostream>#include "MakeNiceHisto.h"#include "TStyle.h"#include "TFile.h"#include "TROOT.h"#include "TMath.h"#include "TH1.h"#include "TH2.h"#include "TVirtualPad.h"#include "TCanvas.h"#include "TF1.h"#include "TObject.h"#include "TGraphErrors.h"#include "TError.h"#include "RVersion.h"Go to the source code of this file.
Functions | |
| TH1F * | HistInvert (TH1 *hist) |
| TH1F * | HistLog (const char *name, const char *title, Int_t nBins, Double_t xMin, Double_t xMax) |
| TH2F * | HistLogLog (const char *name, const char *title, Int_t nBinsX, Double_t xMinX, Double_t xMaxX, Int_t nBinsY, Double_t xMinY, Double_t xMaxY) |
| TH2F * | HistLinLog (const char *name, const char *title, Int_t nBinsX, Double_t xMinX, Double_t xMaxX, Int_t nBinsY, Double_t xMinY, Double_t xMaxY) |
| TH2F * | HistLogLin (const char *name, const char *title, Int_t nBinsX, Double_t xMinX, Double_t xMaxX, Int_t nBinsY, Double_t xMinY, Double_t xMaxY) |
| void | SetHistMaximum (TH1 *hist, Float_t factor) |
| void | SetTitles (TH1 *hist, const char *title, const char *xtitle, const char *ytitle) |
| TH1F * | MakeNiceGraph (TGraph *g, TVirtualPad *c1, const char *opt) |
| TVirtualPad * | MakeNiceHisto (TH1 *hist, TVirtualPad *c1, const char *opt, Bool_t copy) |
| void | SetHistStyle (TH1 *hist) |
| void | MakeNice1dHisto (TH1 *hist, TVirtualPad *c1, const char *opt, Bool_t copy) |
| void | MakeNice2dHisto (TH2 *hist, TVirtualPad *c1, const char *option, Bool_t copy) |
| void | MakeNiceHistoPad (TH1 *hist, TVirtualPad *c1, Double_t scaleX, Double_t scaleY, const char *opt, Bool_t copy) |
| void | MakeNiceHistoPad (TH1 *hist, TVirtualPad *c, Int_t i, Int_t j, Double_t scaleX, Double_t scaleY, const char *opt, Bool_t copy) |
| void | MakeNice1dHistoPad (TH1 *hist, TVirtualPad *c1, Double_t scaleX, Double_t scaleY, const char *opt, Bool_t copy) |
| void | MakeNice2dHistoPad (TH2 *hist, TVirtualPad *c1, Double_t scaleX, Double_t scaleY, const char *option, Bool_t copy) |
| const Double_t * | MakeLogBinning (Int_t nbins, Double_t xmin, Double_t xmax) |
| TCanvas * | FindCanvas (const char *canvasName, Int_t xwidth, Int_t ywidth) |
| Double_t | IntegralDerivative (TF1 *func, Double_t xlow, Double_t xhigh, Double_t stepsize, Int_t parameter, Double_t epsilon) |
| Double_t | FunctionDerivative (TF1 *func, Double_t x, Int_t parameter, Double_t epsilon) |
| TH1F * | GetHistogramFromGraph (TGraphErrors *graph, const char *histName) |
| TGraph * | GetGraphFromHistogram (TH1 *hist) |
| TClonesArray * | CanvasPartition (TVirtualPad *C, const Int_t Nx, const Int_t Ny, Float_t lMargin, Float_t rMargin, Float_t bMargin, Float_t tMargin) |
| void | ForceScale (TH1 *h, Double_t scale) |
| TH1F * | ForceRatio (TH1F *h1, TH1F *h2) |
| void | NormaliseBins (TH1 *h) |
| TGraphErrors * | DivideGraph (TGraph *g1, TGraph *g2) |
| TGraphErrors * | ScaleGraph (TGraph *g1, Double_t scale) |
| TGraphErrors * | AddGraph (TGraph *g1, TGraph *g2, Double_t val) |
| TGraphErrors * | DistGraph (TGraph *g1, TGraph *g2) |
| TGraphErrors * | ExtrapolateGraph (TGraph *g1, TGraph *g2) |
| TGraphErrors* AddGraph | ( | TGraph * | g1, |
| TGraph * | g2, | ||
| Double_t | val | ||
| ) |
| TClonesArray* CanvasPartition | ( | TVirtualPad * | C, |
| const Int_t | Nx, | ||
| const Int_t | Ny, | ||
| Float_t | lMargin, | ||
| Float_t | rMargin, | ||
| Float_t | bMargin, | ||
| Float_t | tMargin | ||
| ) |
| TGraphErrors* DistGraph | ( | TGraph * | g1, |
| TGraph * | g2 | ||
| ) |
Definition at line 1042 of file MakeNiceHisto.cxx.
| TGraphErrors* DivideGraph | ( | TGraph * | g1, |
| TGraph * | g2 | ||
| ) |
| TGraphErrors* ExtrapolateGraph | ( | TGraph * | g1, |
| TGraph * | g2 | ||
| ) |
| TCanvas* FindCanvas | ( | const char * | canvasName, |
| Int_t | xwidth, | ||
| Int_t | ywidth | ||
| ) |
Definition at line 551 of file MakeNiceHisto.cxx.
| TH1F* ForceRatio | ( | TH1F * | h1, |
| TH1F * | h2 | ||
| ) |
Definition at line 904 of file MakeNiceHisto.cxx.
| void ForceScale | ( | TH1 * | h, |
| Double_t | scale | ||
| ) |
Definition at line 879 of file MakeNiceHisto.cxx.
| Double_t FunctionDerivative | ( | TF1 * | func, |
| Double_t | x, | ||
| Int_t | parameter, | ||
| Double_t | epsilon | ||
| ) |
Definition at line 692 of file MakeNiceHisto.cxx.
| TGraph* GetGraphFromHistogram | ( | TH1 * | hist | ) |
Definition at line 759 of file MakeNiceHisto.cxx.
| TH1F* GetHistogramFromGraph | ( | TGraphErrors * | graph, |
| const char * | histName | ||
| ) |
Definition at line 723 of file MakeNiceHisto.cxx.
| TH1F* HistInvert | ( | TH1 * | hist | ) |
Definition at line 75 of file MakeNiceHisto.cxx.
| TH2F* HistLinLog | ( | const char * | name, |
| const char * | title, | ||
| Int_t | nBinsX, | ||
| Double_t | xMinX, | ||
| Double_t | xMaxX, | ||
| Int_t | nBinsY, | ||
| Double_t | xMinY, | ||
| Double_t | xMaxY | ||
| ) |
Definition at line 147 of file MakeNiceHisto.cxx.
| TH1F* HistLog | ( | const char * | name, |
| const char * | title, | ||
| Int_t | nBins, | ||
| Double_t | xMin, | ||
| Double_t | xMax | ||
| ) |
| TH2F* HistLogLin | ( | const char * | name, |
| const char * | title, | ||
| Int_t | nBinsX, | ||
| Double_t | xMinX, | ||
| Double_t | xMaxX, | ||
| Int_t | nBinsY, | ||
| Double_t | xMinY, | ||
| Double_t | xMaxY | ||
| ) |
Definition at line 164 of file MakeNiceHisto.cxx.
| TH2F* HistLogLog | ( | const char * | name, |
| const char * | title, | ||
| Int_t | nBinsX, | ||
| Double_t | xMinX, | ||
| Double_t | xMaxX, | ||
| Int_t | nBinsY, | ||
| Double_t | xMinY, | ||
| Double_t | xMaxY | ||
| ) |
Definition at line 120 of file MakeNiceHisto.cxx.
| Double_t IntegralDerivative | ( | TF1 * | func, |
| Double_t | xlow, | ||
| Double_t | xhigh, | ||
| Double_t | stepsize, | ||
| Int_t | parameter, | ||
| Double_t | epsilon | ||
| ) |
Definition at line 655 of file MakeNiceHisto.cxx.
| const Double_t* MakeLogBinning | ( | Int_t | nbins, |
| Double_t | xmin, | ||
| Double_t | xmax | ||
| ) |
| void MakeNice1dHisto | ( | TH1 * | hist, |
| TVirtualPad * | c1, | ||
| const char * | opt, | ||
| Bool_t | copy | ||
| ) |
| void MakeNice1dHistoPad | ( | TH1 * | hist, |
| TVirtualPad * | c1, | ||
| Double_t | scaleX, | ||
| Double_t | scaleY, | ||
| const char * | opt, | ||
| Bool_t | copy | ||
| ) |
| void MakeNice2dHisto | ( | TH2 * | hist, |
| TVirtualPad * | c1, | ||
| const char * | option, | ||
| Bool_t | copy | ||
| ) |
| void MakeNice2dHistoPad | ( | TH2 * | hist, |
| TVirtualPad * | c1, | ||
| Double_t | scaleX, | ||
| Double_t | scaleY, | ||
| const char * | option, | ||
| Bool_t | copy | ||
| ) |
| TH1F* MakeNiceGraph | ( | TGraph * | g, |
| TVirtualPad * | c1, | ||
| const char * | opt | ||
| ) |
| TVirtualPad* MakeNiceHisto | ( | TH1 * | hist, |
| TVirtualPad * | c1, | ||
| const char * | opt, | ||
| Bool_t | copy | ||
| ) |
Definition at line 221 of file MakeNiceHisto.cxx.


| void MakeNiceHistoPad | ( | TH1 * | hist, |
| TVirtualPad * | c1, | ||
| Double_t | scaleX, | ||
| Double_t | scaleY, | ||
| const char * | opt, | ||
| Bool_t | copy | ||
| ) |
| void MakeNiceHistoPad | ( | TH1 * | hist, |
| TVirtualPad * | c, | ||
| Int_t | i, | ||
| Int_t | j, | ||
| Double_t | scaleX, | ||
| Double_t | scaleY, | ||
| const char * | opt, | ||
| Bool_t | copy | ||
| ) |
| void NormaliseBins | ( | TH1 * | h | ) |
| TGraphErrors* ScaleGraph | ( | TGraph * | g1, |
| Double_t | scale | ||
| ) |
Definition at line 991 of file MakeNiceHisto.cxx.
| void SetHistMaximum | ( | TH1 * | hist, |
| Float_t | factor | ||
| ) |
Definition at line 183 of file MakeNiceHisto.cxx.
| void SetHistStyle | ( | TH1 * | hist | ) |
| void SetTitles | ( | TH1 * | hist, |
| const char * | title, | ||
| const char * | xtitle, | ||
| const char * | ytitle | ||
| ) |
Definition at line 189 of file MakeNiceHisto.cxx.
1.8.6