diff --git a/Design.cpp.md b/Design.cpp.md index 15fa260..d04fa16 100644 --- a/Design.cpp.md +++ b/Design.cpp.md @@ -2,6 +2,81 @@ In this file, the functions used to make pretty plots (creating and defining can Most of these functions are overloaded as ROOT was not always happy at compilation with using eg TH1 for TH1D and TH1F. +- [Functions and their parameters:](#functions-and-their-parameters-) + * [General helper function](#general-helper-function) + + [void design_markers()](#void-design-markers--) + + [void design_lines()](#void-design-lines--) + + [void design_filled_plot()](#void-design-filled-plot--) + + [void design_filled_plot()](#void-design-filled-plot---1) + + [void design_canvas()](#void-design-canvas--) + + [void design_canvas()](#void-design-canvas---1) + + [void design_canvas_Bmass()](#void-design-canvas-bmass--) + + [void design_canvas_Bmass()](#void-design-canvas-bmass---1) + + [TCanvas \*c_TH2F()](#tcanvas---c-th2f--) + + [void design_canvas_TH2F()](#void-design-canvas-th2f--) + + [void design_canvas_fancy()](#void-design-canvas-fancy--) + + [void design_TH2F()](#void-design-th2f--) + + [void design_TH2F()](#void-design-th2f---1) + + [void design_TH2F_ratio()](#void-design-th2f-ratio--) + + [void design_function()](#void-design-function--) + + [void design_function()](#void-design-function---1) + + [void design_TH1F(), design_TH1D()](#void-design-th1f----design-th1d--) + + [void design_TH1F(), design_TH1D()](#void-design-th1f----design-th1d---1) + + [void design_TH1F(), design_TH1D()](#void-design-th1f----design-th1d---2) + + [TLine \*design_cut_line()](#tline---design-cut-line--) + + [TLine \*design_ratio_line()](#tline---design-ratio-line--) + + [TLine \*design_veto_line()](#tline---design-veto-line--) + * [TMVA plots](#tmva-plots) + + [bool DesignCorrelationPlots()](#bool-designcorrelationplots--) + + [TCanvas \*c_Correlation()](#tcanvas---c-correlation--) + + [bool designVariablesSignalVsBackground()](#bool-designvariablessignalvsbackground--) + + [bool designResponseSignalVsBackground()](#bool-designresponsesignalvsbackground--) + + [bool designOvertraining()](#bool-designovertraining--) + + [TCanvas \*c_VariablesSignalVsBackground()](#tcanvas---c-variablessignalvsbackground--) + + [TCanvas \*c_Efficiency()](#tcanvas---c-efficiency--) + + [bool designEfficiency()](#bool-designefficiency--) + + [TPaveText \*significanceText()](#tpavetext---significancetext--) + + [TPaveText \*text_effFromPi0()](#tpavetext---text-efffrompi0--) + + [TCanvas \*c_ROCplot()](#tcanvas---c-rocplot--) + + [void designROC()](#void-designroc--) + * [Efficiency plots](#efficiency-plots) + + [TCanvas \*c_L0MuonEff()](#tcanvas---c-l0muoneff--) + + [void designL0MuonEffHistos()](#void-designl0muoneffhistos--) + + [TCanvas \* designL0MuonEfficiencies()](#tcanvas----designl0muonefficiencies--) + + [void designBasicEfficiency()](#void-designbasicefficiency--) + + [void designBasicEfficiency()](#void-designbasicefficiency---1) + + [void designMultiGraphEfficiency()](#void-designmultigraphefficiency--) + * [Generic plots](#generic-plots) + + [TCanvas \*c_canvas()](#tcanvas---c-canvas--) + + [void designTGraph()](#void-designtgraph--) + + [TH1D \*generalHistogram()](#th1d---generalhistogram--) + + [TH1D \*BmassHistogram()](#th1d---bmasshistogram--) + + [void TM_canvas()](#void-tm-canvas--) + + [void designMultiGraph()](#void-designmultigraph--) + + [void designMultiGraph()](#void-designmultigraph---1) + + [void addYearTag()](#void-addyeartag--) + + [void addAnyTag()](#void-addanytag--) + * [Truth-matching plots](#truth-matching-plots) + + [TCanvas \*c_for_TH2D()](#tcanvas---c-for-th2d--) + + [bool designTH2D()](#bool-designth2d--) + + [TH1D \*hist_cosThetaK()](#th1d---hist-costhetak--) + + [TH1D \*hist_cosAngle()](#th1d---hist-cosangle--) + * [Mass fit plots](#mass-fit-plots) + + [void designMassFitFrame()](#void-designmassfitframe--) + + [void designPullFrame()](#void-designpullframe--) + + [TLine \*threeSigmaLine ()](#tline---threesigmaline---) + * [Reweighting control plots](#reweighting-control-plots) + + [void drawKolmogorovTest()](#void-drawkolmogorovtest--) + + [void drawWeightRatio()](#void-drawweightratio--) + + [void drawWeightCorrelation()](#void-drawweightcorrelation--) + * [MVA scan, yield plots](#mva-scan--yield-plots) + + [void designYieldGraph()](#void-designyieldgraph--) + + [void design_YieldInQ2()](#void-design-yieldinq2--) + + [void design_SignificanceInQ2()](#void-design-significanceinq2--) + +Table of contents generated with markdown-toc + + # Functions and their parameters: @@ -369,7 +444,7 @@ Take a graph with errors, set the title, axis names, the color and the marker st * Int_t markerStyle ### TH1D \*generalHistogram() -Create a histogram with hist_name, title, number of bins nBins ranging from low_edge to high_edge. Ten call [void design_TH1D()](#void-designth1fdesignth1d). Return the histogram. +Create a histogram with hist_name, title, number of bins nBins ranging from low_edge to high_edge. Ten call [void design_TH1D()](#void-design_th1f-design_th1d). Return the histogram. * **Parameters** * string hist_name * string title