#include "Plotting.h"#include <iostream>#include <math.h>#include "TGraph.h"#include "TTree.h"#include "TCut.h"#include "TROOT.h"#include "TH2F.h"#include "TMath.h"#include "TPad.h"#include "TStyle.h"#include "TMarker.h"#include "TFile.h"#include "TCanvas.h"#include "TLegend.h"#include "TLatex.h"Go to the source code of this file.
Functions | |
| TGraph * | bestFit (TTree *t, TString x, TString y, TCut cut) |
| TH2 * | treeToHist2D (TTree *t, TString x, TString y, TString name, TCut cut, double xmin, double xmax, double ymin, double ymax, int xbins, int ybins) |
| TList * | contourFromTH2 (TH2 *h2in, double threshold, int minPoints=20) |
| TH2D * | frameTH2D (TH2D *in, double threshold) |
| void | styleMultiGraph (TList *tmg, int lineColor, int lineWidth, int lineStyle) |
| void | styleMultiGraphMarker (TList *tmg, int markerColor, int markerSize, int markerStyle) |
| void | drawContours (TPad *pad, TString file, TString x_title, TString y_title, TLegend *leg) |
| void | contour2D (TString filein, TString fileout, TString xvar, int xbins, float xmin, float xmax, TString yvar, int ybins, float ymin, float ymax, TString name="contour2D") |
| Make a 2D contour plot from the output of MultiDimFit. More... | |
| TGraph * bestFit | ( | TTree * | t, |
| TString | x, | ||
| TString | y, | ||
| TCut | cut | ||
| ) |
Definition at line 100 of file Plotting_Contours.h.
| TH2 * treeToHist2D | ( | TTree * | t, |
| TString | x, | ||
| TString | y, | ||
| TString | name, | ||
| TCut | cut, | ||
| double | xmin, | ||
| double | xmax, | ||
| double | ymin, | ||
| double | ymax, | ||
| int | xbins, | ||
| int | ybins | ||
| ) |
Definition at line 117 of file Plotting_Contours.h.
| TList * contourFromTH2 | ( | TH2 * | h2in, |
| double | threshold, | ||
| int | minPoints = 20 |
||
| ) |
Definition at line 140 of file Plotting_Contours.h.
| TH2D * frameTH2D | ( | TH2D * | in, |
| double | threshold | ||
| ) |
Definition at line 182 of file Plotting_Contours.h.
| void styleMultiGraph | ( | TList * | tmg, |
| int | lineColor, | ||
| int | lineWidth, | ||
| int | lineStyle | ||
| ) |
| void styleMultiGraphMarker | ( | TList * | tmg, |
| int | markerColor, | ||
| int | markerSize, | ||
| int | markerStyle | ||
| ) |
| void drawContours | ( | TPad * | pad, |
| TString | file, | ||
| TString | x_title, | ||
| TString | y_title, | ||
| TLegend * | leg | ||
| ) |
Definition at line 260 of file Plotting_Contours.h.
| void contour2D | ( | TString | filein, |
| TString | fileout, | ||
| TString | xvar, | ||
| int | xbins, | ||
| float | xmin, | ||
| float | xmax, | ||
| TString | yvar, | ||
| int | ybins, | ||
| float | ymin, | ||
| float | ymax, | ||
| TString | name = "contour2D" |
||
| ) |
Make a 2D contour plot from the output of MultiDimFit.
Inputs:
Notes:
Definition at line 69 of file Plotting_Contours.h.