Update 'Design.cpp'
parent
9062274876
commit
3630ef7054
147
Design.cpp.md
147
Design.cpp.md
@ -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.
|
||||
|
||||
- [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-designcanvas)
|
||||
+ [void design_canvas()](#void-designcanvas-1)
|
||||
+ [void design_canvas_Bmass()](#void-designcanvasbmass)
|
||||
+ [void design_canvas_Bmass()](#void-designcanvasbmass-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--)
|
||||
|
||||
<small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
|
||||
|
||||
|
||||
Table of Contents
|
||||
=================
|
||||
|
||||
* [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)
|
||||
|
||||
# Functions and their parameters:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user