Update 'Design.cpp'

Renata Kopecná 2022-01-27 09:41:50 +01:00
parent 9062274876
commit 3630ef7054

@ -2,81 +2,82 @@ 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. 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)
Table of Contents
=================
* [Functions and their parameters:](#functions-and-their-parameters)
* [General helper function](#general-helper-function) * [General helper function](#general-helper-function)
+ [void design_markers()](#void-design_markers) * [void design_markers()](#void-design_markers)
+ [void design_lines()](#void-design_lines) * [void design_lines()](#void-design_lines)
+ [void design_filled_plot()](#void-design_filled_plot) * [void design_filled_plot()](#void-design_filled_plot)
+ [void design_filled_plot()](#void-design_filled_plot-1) * [void design_filled_plot()](#void-design_filled_plot-1)
+ [void design_canvas()](#void-designcanvas) * [void design_canvas()](#void-design_canvas)
+ [void design_canvas()](#void-designcanvas-1) * [void design_canvas()](#void-design_canvas-1)
+ [void design_canvas_Bmass()](#void-designcanvasbmass) * [void design_canvas_Bmass()](#void-design_canvas_bmass)
+ [void design_canvas_Bmass()](#void-designcanvasbmass-1) * [void design_canvas_Bmass()](#void-design_canvas_bmass-1)
+ [TCanvas \*c_TH2F()](#tcanvas---c-th2f) * [TCanvas *c_TH2F()](#tcanvas-c_th2f)
+ [void design_canvas_TH2F()](#void-design-canvas-th2f) * [void design_canvas_TH2F()](#void-design_canvas_th2f)
+ [void design_canvas_fancy()](#void-design-canvas-fancy) * [void design_canvas_fancy()](#void-design_canvas_fancy)
+ [void design_TH2F()](#void-design-th2f) * [void design_TH2F()](#void-design_th2f)
+ [void design_TH2F()](#void-design-th2f-1) * [void design_TH2F()](#void-design_th2f-1)
+ [void design_TH2F_ratio()](#void-design-th2f-ratio) * [void design_TH2F_ratio()](#void-design_th2f_ratio)
+ [void design_function()](#void-design-function) * [void design_function()](#void-design_function)
+ [void design_function()](#void-design-function-1) * [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)
+ [void design_TH1F(), design_TH1D()](#void-design-th1f-design-th1d-1) * [void design_TH1F(), design_TH1D()](#void-design_th1f-design_th1d-1)
+ [void design_TH1F(), design_TH1D()](#void-design-th1f-design-th1d-2) * [void design_TH1F(), design_TH1D()](#void-design_th1f-design_th1d-2)
+ [TLine \*design_cut_line()](#tline-design-cut-line--) * [TLine *design_cut_line()](#tline-design_cut_line)
+ [TLine \*design_ratio_line()](#tline-design-ratio-line) * [TLine *design_ratio_line()](#tline-design_ratio_line)
+ [TLine \*design_veto_line()](#tline-design-veto-line) * [TLine *design_veto_line()](#tline-design_veto_line)
* [TMVA plots](#tmva-plots) * [TMVA plots](#tmva-plots)
+ [bool DesignCorrelationPlots()](#bool-designcorrelationplots--) * [bool DesignCorrelationPlots()](#bool-designcorrelationplots)
+ [TCanvas \*c_Correlation()](#tcanvas---c-correlation--) * [TCanvas *c_Correlation()](#tcanvas-c_correlation)
+ [bool designVariablesSignalVsBackground()](#bool-designvariablessignalvsbackground--) * [bool designVariablesSignalVsBackground()](#bool-designvariablessignalvsbackground)
+ [bool designResponseSignalVsBackground()](#bool-designresponsesignalvsbackground--) * [bool designResponseSignalVsBackground()](#bool-designresponsesignalvsbackground)
+ [bool designOvertraining()](#bool-designovertraining--) * [bool designOvertraining()](#bool-designovertraining)
+ [TCanvas \*c_VariablesSignalVsBackground()](#tcanvas---c-variablessignalvsbackground--) * [TCanvas *c_VariablesSignalVsBackground()](#tcanvas-c_variablessignalvsbackground)
+ [TCanvas \*c_Efficiency()](#tcanvas---c-efficiency--) * [TCanvas *c_Efficiency()](#tcanvas-c_efficiency)
+ [bool designEfficiency()](#bool-designefficiency--) * [bool designEfficiency()](#bool-designefficiency)
+ [TPaveText \*significanceText()](#tpavetext---significancetext--) * [TPaveText *significanceText()](#tpavetext-significancetext)
+ [TPaveText \*text_effFromPi0()](#tpavetext---text-efffrompi0--) * [TPaveText *text_effFromPi0()](#tpavetext-text_efffrompi0)
+ [TCanvas \*c_ROCplot()](#tcanvas---c-rocplot--) * [TCanvas *c_ROCplot()](#tcanvas-c_rocplot)
+ [void designROC()](#void-designroc--) * [void designROC()](#void-designroc)
* [Efficiency plots](#efficiency-plots) * [Efficiency plots](#efficiency-plots)
+ [TCanvas \*c_L0MuonEff()](#tcanvas---c-l0muoneff--) * [TCanvas *c_L0MuonEff()](#tcanvas-c_l0muoneff)
+ [void designL0MuonEffHistos()](#void-designl0muoneffhistos--) * [void designL0MuonEffHistos()](#void-designl0muoneffhistos)
+ [TCanvas \* designL0MuonEfficiencies()](#tcanvas----designl0muonefficiencies--) * [TCanvas * designL0MuonEfficiencies()](#tcanvas--designl0muonefficiencies)
+ [void designBasicEfficiency()](#void-designbasicefficiency--) * [void designBasicEfficiency()](#void-designbasicefficiency)
+ [void designBasicEfficiency()](#void-designbasicefficiency---1) * [void designBasicEfficiency()](#void-designbasicefficiency-1)
+ [void designMultiGraphEfficiency()](#void-designmultigraphefficiency--) * [void designMultiGraphEfficiency()](#void-designmultigraphefficiency)
* [Generic plots](#generic-plots) * [Generic plots](#generic-plots)
+ [TCanvas \*c_canvas()](#tcanvas---c-canvas--) * [TCanvas *c_canvas()](#tcanvas-c_canvas)
+ [void designTGraph()](#void-designtgraph--) * [void designTGraph()](#void-designtgraph)
+ [TH1D \*generalHistogram()](#th1d---generalhistogram--) * [TH1D *generalHistogram()](#th1d-generalhistogram)
+ [TH1D \*BmassHistogram()](#th1d---bmasshistogram--) * [TH1D *BmassHistogram()](#th1d-bmasshistogram)
+ [void TM_canvas()](#void-tm-canvas--) * [void TM_canvas()](#void-tm_canvas)
+ [void designMultiGraph()](#void-designmultigraph--) * [void designMultiGraph()](#void-designmultigraph)
+ [void designMultiGraph()](#void-designmultigraph---1) * [void designMultiGraph()](#void-designmultigraph-1)
+ [void addYearTag()](#void-addyeartag--) * [void addYearTag()](#void-addyeartag)
+ [void addAnyTag()](#void-addanytag--) * [void addAnyTag()](#void-addanytag)
* [Truth-matching plots](#truth-matching-plots) * [Truth-matching plots](#truth-matching-plots)
+ [TCanvas \*c_for_TH2D()](#tcanvas---c-for-th2d--) * [TCanvas *c_for_TH2D()](#tcanvas-c_for_th2d)
+ [bool designTH2D()](#bool-designth2d--) * [bool designTH2D()](#bool-designth2d)
+ [TH1D \*hist_cosThetaK()](#th1d---hist-costhetak--) * [TH1D *hist_cosThetaK()](#th1d-hist_costhetak)
+ [TH1D \*hist_cosAngle()](#th1d---hist-cosangle--) * [TH1D *hist_cosAngle()](#th1d-hist_cosangle)
* [Mass fit plots](#mass-fit-plots) * [Mass fit plots](#mass-fit-plots)
+ [void designMassFitFrame()](#void-designmassfitframe--) * [void designMassFitFrame()](#void-designmassfitframe)
+ [void designPullFrame()](#void-designpullframe--) * [void designPullFrame()](#void-designpullframe)
+ [TLine \*threeSigmaLine ()](#tline---threesigmaline---) * [TLine *threeSigmaLine ()](#tline-threesigmaline-)
* [Reweighting control plots](#reweighting-control-plots) * [Reweighting control plots](#reweighting-control-plots)
+ [void drawKolmogorovTest()](#void-drawkolmogorovtest--) * [void drawKolmogorovTest()](#void-drawkolmogorovtest)
+ [void drawWeightRatio()](#void-drawweightratio--) * [void drawWeightRatio()](#void-drawweightratio)
+ [void drawWeightCorrelation()](#void-drawweightcorrelation--) * [void drawWeightCorrelation()](#void-drawweightcorrelation)
* [MVA scan, yield plots](#mva-scan--yield-plots) * [MVA scan, yield plots](#mva-scan-yield-plots)
+ [void designYieldGraph()](#void-designyieldgraph--) * [void designYieldGraph()](#void-designyieldgraph)
+ [void design_YieldInQ2()](#void-design-yieldinq2--) * [void design_YieldInQ2()](#void-design_yieldinq2)
+ [void design_SignificanceInQ2()](#void-design-significanceinq2--) * [void design_SignificanceInQ2()](#void-design_significanceinq2)
<small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
# Functions and their parameters: # Functions and their parameters: