|
ra4_macros
bede988c286599a3a84b77a4d788ac0a971e89f9
|
#include <iostream>#include <string>#include <vector>#include "TCanvas.h"#include "TFile.h"#include "TGraphErrors.h"#include "TStyle.h"#include "small_tree_rpv.hpp"#include "utilities.hpp"#include "utilities_macros.hpp"#include "utilities_macros_rpv.hpp"Go to the source code of this file.
Namespaces | |
| anonymous_namespace{syst_gs.cxx} | |
Functions | |
| vector< vector< double > > | getYields (small_tree_rpv &tree, vector< vector< double > > &low_drbb, vector< vector< double > > &high_drbb_err, vector< vector< double > > &low_drbb_err, bool isData=false) |
| void | printPlots (TGraphErrors *graph, TString title="", TString filename="syst_gs.pdf") |
| void | printPlotsOverlay (TGraphErrors *graph1, TGraphErrors *graph2, TString title="", TString filename="syst_gs.pdf") |
| void | print1D (vector< vector< double > > norm) |
| double | addError (double error, double added_error) |
| double | divideErrors (double x, double y, double dx, double dy) |
| int | main () |
Variables | |
| const int | anonymous_namespace{syst_gs.cxx}::nmjbins = 3 |
| const int | anonymous_namespace{syst_gs.cxx}::nnjetbins = 4 |
| bool | anonymous_namespace{syst_gs.cxx}::make1D =true |
| TString | anonymous_namespace{syst_gs.cxx}::plot_type =".pdf" |
| TString | anonymous_namespace{syst_gs.cxx}::plot_style ="RA4" |
| TString | anonymous_namespace{syst_gs.cxx}::outDir ="rpv_gs" |
| double addError | ( | double | error, |
| double | added_error | ||
| ) |
Definition at line 544 of file syst_gs.cxx.
Referenced by getYields().
| double divideErrors | ( | double | x, |
| double | y, | ||
| double | dx, | ||
| double | dy | ||
| ) |
Definition at line 548 of file syst_gs.cxx.
Referenced by main().
| vector< vector< double > > getYields | ( | small_tree_rpv & | tree, |
| vector< vector< double > > & | low_drbb, | ||
| vector< vector< double > > & | high_drbb_err, | ||
| vector< vector< double > > & | low_drbb_err, | ||
| bool | isData = false |
||
| ) |
Definition at line 151 of file syst_gs.cxx.
References addError(), small_tree_rpv::dr_bb(), small_tree_rpv::eff_trig(), small_tree::GetEntries(), small_tree_rpv::GetEntry(), small_tree::ht(), efficiency_map::lumi, rpv::luminosity, small_tree_rpv::mj(), small_tree::nbm(), small_tree::njets(), small_tree::nleps(), anonymous_namespace{syst_gs.cxx}::nmjbins, anonymous_namespace{syst_gs.cxx}::nnjetbins, small_tree_rpv::pass(), small_tree_rpv::trig(), small_tree_rpv::w_pu_rpv(), and small_tree::weight().
Referenced by main().
| int main | ( | ) |
Definition at line 33 of file syst_gs.cxx.
References small_tree::Add(), AddInQuadrature(), parse_card::data, divideErrors(), getYields(), anonymous_namespace{syst_gs.cxx}::make1D, anonymous_namespace{syst_gs.cxx}::nmjbins, anonymous_namespace{syst_gs.cxx}::nnjetbins, print1D(), printPlots(), and printPlotsOverlay().
| void print1D | ( | vector< vector< double > > | norm | ) |
Definition at line 410 of file syst_gs.cxx.
References ra4::c_other, ra4::c_singlet, ra4::c_t1tttt, ra4::c_tt_1l, ra4::c_tt_2l, ra4::c_wjets, cutandweight(), filestring(), rpv::luminosity, anonymous_namespace{make_csv_template.cxx}::nBins, anonymous_namespace{syst_gs.cxx}::outDir, plot_distributions(), anonymous_namespace{syst_gs.cxx}::plot_style, and anonymous_namespace{syst_gs.cxx}::plot_type.
Referenced by main().
| void printPlots | ( | TGraphErrors * | graph, |
| TString | title = "", |
||
| TString | filename = "syst_gs.pdf" |
||
| ) |
Definition at line 374 of file syst_gs.cxx.
References anonymous_namespace{syst_gs.cxx}::nnjetbins.
Referenced by main().
| void printPlotsOverlay | ( | TGraphErrors * | graph1, |
| TGraphErrors * | graph2, | ||
| TString | title = "", |
||
| TString | filename = "syst_gs.pdf" |
||
| ) |
Definition at line 335 of file syst_gs.cxx.
References anonymous_namespace{syst_gs.cxx}::nnjetbins.
Referenced by main().
1.8.11