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_trigger.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_trigger.cxx}::do_rund = false |
bool | anonymous_namespace{plot_trigger.cxx}::do_dps = false |
bool | anonymous_namespace{plot_trigger.cxx}::do_rpv = true |
TString | anonymous_namespace{plot_trigger.cxx}::plot_type = ".pdf" |
TString Efficiency | ( | TChain * | data, |
TString | den, | ||
TString | num, | ||
float & | effic, | ||
float & | errup, | ||
float & | errdown | ||
) |
Definition at line 324 of file plot_trigger.cxx.
References RoundNumber().
Referenced by errorFun(), and PlotTurnOn().
Double_t errorFun | ( | Double_t * | x, |
Double_t * | par | ||
) |
Definition at line 38 of file plot_trigger.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 47 of file plot_trigger.cxx.
References anonymous_namespace{plot_trigger.cxx}::do_dps, anonymous_namespace{plot_trigger.cxx}::do_rpv, anonymous_namespace{plot_trigger.cxx}::do_rund, 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 185 of file plot_trigger.cxx.
References anonymous_namespace{plot_trigger.cxx}::do_rpv, Efficiency(), errorFun(), format_tag(), styles::LabelSize, styles::nFont, anonymous_namespace{plot_trigger.cxx}::plot_type, RoundNumber(), and styles::yTitleOffset.
Referenced by errorFun(), and main().