ra4_macros
bede988c286599a3a84b77a4d788ac0a971e89f9
|
#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include "TChain.h"
#include "TH1D.h"
#include "TF1.h"
#include "TMath.h"
#include "TCanvas.h"
#include "TPad.h"
#include "TLegend.h"
#include "TLine.h"
#include "TGaxis.h"
#include "TBox.h"
#include "TLatex.h"
#include "TPaveText.h"
#include "TString.h"
#include "TStyle.h"
#include "TGraphAsymmErrors.h"
#include "TEfficiency.h"
#include "styles.hpp"
#include "utilities.hpp"
#include "utilities_macros.hpp"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{plot_turnon_dps.cxx} | |
Functions | |
Double_t | errorFun (Double_t *x, Double_t *par) |
void | PlotTurnOn (TChain *data, TString var, int nbins, double minx, double maxx, TString xtitle, TString den, TString num, TString title="", TString ytitle="", float minfit=-1., bool isData=true) |
TString | Efficiency (TChain *data, TString den, TString num, float &effic, float &errup, float &errdown) |
int | main () |
Variables | |
bool | anonymous_namespace{plot_turnon_dps.cxx}::do_si = true |
bool | anonymous_namespace{plot_turnon_dps.cxx}::do_lep = false |
bool | anonymous_namespace{plot_turnon_dps.cxx}::do_dps = false |
bool | anonymous_namespace{plot_turnon_dps.cxx}::do_ht = false |
bool | anonymous_namespace{plot_turnon_dps.cxx}::do_met = false |
TString | anonymous_namespace{plot_turnon_dps.cxx}::plot_type = ".pdf" |
TString Efficiency | ( | TChain * | data, |
TString | den, | ||
TString | num, | ||
float & | effic, | ||
float & | errup, | ||
float & | errdown | ||
) |
Definition at line 618 of file plot_turnon_dps.cxx.
References RoundNumber().
Referenced by errorFun(), main(), and PlotTurnOn().
Double_t errorFun | ( | Double_t * | x, |
Double_t * | par | ||
) |
Definition at line 40 of file plot_turnon_dps.cxx.
References parse_card::data, Efficiency(), anonymous_namespace{make_rpv_datacard.cxx}::nbins, efficiency_map::num, and PlotTurnOn().
Referenced by PlotTurnOn().
int main | ( | ) |
Definition at line 49 of file plot_turnon_dps.cxx.
References anonymous_namespace{plot_turnon_dps.cxx}::do_dps, anonymous_namespace{plot_turnon_dps.cxx}::do_ht, anonymous_namespace{plot_turnon_dps.cxx}::do_lep, anonymous_namespace{plot_turnon_dps.cxx}::do_met, anonymous_namespace{plot_turnon_dps.cxx}::do_si, Efficiency(), PlotTurnOn(), and styles::setDefaultStyle().
void PlotTurnOn | ( | TChain * | data, |
TString | var, | ||
int | nbins, | ||
double | minx, | ||
double | maxx, | ||
TString | xtitle, | ||
TString | den, | ||
TString | num, | ||
TString | title = "" , |
||
TString | ytitle = "" , |
||
float | minfit = -1. , |
||
bool | isData = true |
||
) |
Definition at line 482 of file plot_turnon_dps.cxx.
References Efficiency(), errorFun(), format_tag(), styles::LabelSize, styles::nFont, anonymous_namespace{plot_turnon_dps.cxx}::plot_type, RoundNumber(), and styles::yTitleOffset.
Referenced by errorFun(), and main().