ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
|
#include "plot_dilep_angles.hpp"
#include <cmath>
#include <algorithm>
#include "TError.h"
#include "TVector2.h"
#include "TString.h"
#include "plot_maker.hpp"
#include "plot_opt.hpp"
#include "palette.hpp"
#include "histo_stack.hpp"
#include "event_scan.hpp"
#include "utilities.hpp"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx} | |
Functions | |
void | addSlices (PlotMaker &pm, const vector< double > slices, NamedFunc svar, const vector< double > xbins, NamedFunc xvar, string xlabel, const NamedFunc &baseline, const NamedFunc &weight, const vector< shared_ptr< Process > > &proc, const vector< PlotOpt > &plot_types, int tag_digits=0) |
bool | isRelIsoEl (const Baby &b, size_t iel) |
NamedFunc::ScalarType | nRelIsoEls (const Baby &b) |
NamedFunc::ScalarType | maxRelIsoElsPt (const Baby &b) |
bool | isRelIsoMu (const Baby &b, size_t imu) |
NamedFunc::ScalarType | nRelIsoMus (const Baby &b) |
NamedFunc::ScalarType | maxRelIsoMusPt (const Baby &b) |
bool | isGoodJet (const Baby &b, size_t ijet) |
NamedFunc::VectorType | isrJetsPt (const Baby &b, float ptThresh=30.) |
NamedFunc::ScalarType | isrSystemPt (const Baby &b) |
NamedFunc::ScalarType | nJetsWeights_ttisr (const Baby &b, bool use_baby_nisr) |
NamedFunc::ScalarType | nJetsWeights_visr (const Baby &b) |
int | main () |
Variables | |
const string | anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::isrtype = "ttisr" |
bool | anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::do_tt1l = false |
double | anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::lumi = 4.34 |
bool | anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::single_thread = false |
double | anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::CSVMedium = 0.800 |
void addSlices | ( | PlotMaker & | pm, |
const vector< double > | slices, | ||
NamedFunc | svar, | ||
const vector< double > | xbins, | ||
NamedFunc | xvar, | ||
string | xlabel, | ||
const NamedFunc & | baseline, | ||
const NamedFunc & | weight, | ||
const vector< shared_ptr< Process > > & | proc, | ||
const vector< PlotOpt > & | plot_types, | ||
int | tag_digits = 0 |
||
) |
Definition at line 284 of file plot_2016-07-19_isr_susy_talk.cxx.
References anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::isrtype, PlotMaker::Push(), RoundNumber(), and run_2016-06-03_freeze_preapp_all_preds::tag.
Referenced by main().
bool isGoodJet | ( | const Baby & | b, |
size_t | ijet | ||
) |
Definition at line 349 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::jets_eta(), Baby::jets_islep(), and Baby::jets_pt().
Referenced by isrJetsPt().
bool isRelIsoEl | ( | const Baby & | b, |
size_t | iel | ||
) |
Definition at line 301 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::els_pt(), Baby::els_reliso(), Baby::els_sceta(), and Baby::els_tight().
Referenced by maxRelIsoElsPt(), and nRelIsoEls().
bool isRelIsoMu | ( | const Baby & | b, |
size_t | imu | ||
) |
Definition at line 325 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::mus_eta(), Baby::mus_pt(), Baby::mus_reliso(), and Baby::mus_tight().
Referenced by maxRelIsoMusPt(), and nRelIsoMus().
NamedFunc::VectorType isrJetsPt | ( | const Baby & | b, |
float | ptThresh = 30. |
||
) |
Definition at line 355 of file plot_2016-07-19_isr_susy_talk.cxx.
References anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::CSVMedium, isGoodJet(), anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::isrtype, Baby::jets_csv(), and Baby::jets_pt().
Referenced by main().
NamedFunc::ScalarType isrSystemPt | ( | const Baby & | b | ) |
Definition at line 366 of file plot_2016-07-19_isr_susy_talk.cxx.
References anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::isrtype, Baby::jetsys_nob_pt(), and Baby::jetsys_pt().
Referenced by main().
int main | ( | ) |
Definition at line 51 of file plot_2016-07-19_isr_susy_talk.cxx.
References addSlices(), Process::background, PlotOpt::Bottom(), Contains(), PlotOptTypes::data, Process::data, anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::do_tt1l, Baby::eff_trig(), execute(), isrJetsPt(), isrSystemPt(), anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::isrtype, anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::lumi, PlotMaker::MakePlots(), maxRelIsoElsPt(), maxRelIsoMusPt(), PlotMaker::multithreaded_, nJetsWeights_ttisr(), nJetsWeights_visr(), nRelIsoEls(), nRelIsoMus(), anonymous_namespace{plot_ratios.cxx}::other, PlotOpt::PrintVals(), PlotMaker::Push(), RoundNumber(), PlotOpt::ShowBackgroundError(), anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::single_thread, PlotOpt::Stack(), PlotOpt::Title(), anonymous_namespace{plot_ratios.cxx}::tt1l, anonymous_namespace{plot_ratios.cxx}::tt2l, Baby::w_toppt(), Baby::weight(), and PlotOpt::YAxis().
NamedFunc::ScalarType maxRelIsoElsPt | ( | const Baby & | b | ) |
Definition at line 317 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::els_pt(), and isRelIsoEl().
Referenced by main().
NamedFunc::ScalarType maxRelIsoMusPt | ( | const Baby & | b | ) |
Definition at line 341 of file plot_2016-07-19_isr_susy_talk.cxx.
References isRelIsoMu(), and Baby::mus_pt().
Referenced by main().
NamedFunc::ScalarType nJetsWeights_ttisr | ( | const Baby & | b, |
bool | use_baby_nisr | ||
) |
Definition at line 371 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::eff_trig(), Baby::nisr(), Baby::njets(), Baby::ntrupv(), Baby::SampleType(), Baby::w_toppt(), and Baby::weight().
Referenced by main().
NamedFunc::ScalarType nJetsWeights_visr | ( | const Baby & | b | ) |
Definition at line 392 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::eff_trig(), Baby::njets(), Baby::ntrupv(), Baby::SampleType(), Baby::w_toppt(), and Baby::weight().
Referenced by main().
NamedFunc::ScalarType nRelIsoEls | ( | const Baby & | b | ) |
Definition at line 309 of file plot_2016-07-19_isr_susy_talk.cxx.
References Baby::els_pt(), and isRelIsoEl().
Referenced by main().
NamedFunc::ScalarType nRelIsoMus | ( | const Baby & | b | ) |
Definition at line 333 of file plot_2016-07-19_isr_susy_talk.cxx.
References isRelIsoMu(), and Baby::mus_pt().
Referenced by main().