|
ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
|
#include "ra4/plot_dy_mismeasurement_study.hpp"#include <iostream>#include <string>#include <vector>#include <memory>#include <unistd.h>#include <getopt.h>#include "TError.h"#include "TColor.h"#include "TVector2.h"#include "core/baby.hpp"#include "core/process.hpp"#include "core/named_func.hpp"#include "core/plot_maker.hpp"#include "core/plot_opt.hpp"#include "core/palette.hpp"#include "core/table.hpp"#include "core/hist1d.hpp"#include "core/event_scan.hpp"Go to the source code of this file.
Namespaces | |
| anonymous_namespace{plot_dy_mismeasurement_study.cxx} | |
Functions | |
| void | GetOptions (int argc, char *argv[]) |
| int | main (int argc, char *argv[]) |
| bool | IsGoodMuon (const Baby &b, size_t imu) |
| bool | IsGoodElectron (const Baby &b, size_t iel) |
| bool | IsGoodTrack (const Baby &b, size_t itk) |
| bool | IsGoodJet (const Baby &b, size_t ijet) |
| void | GetAngles (const Baby &b, double &phi1, double &eta1, double &phi2, double &eta2) |
| NamedFunc::ScalarType | MinDeltaPhiLepMet (const Baby &b) |
| NamedFunc::ScalarType | MaxDeltaPhiLepMet (const Baby &b) |
| NamedFunc::ScalarType | MinDeltaPhiLepJet (const Baby &b) |
| NamedFunc::ScalarType | MaxDeltaPhiLepJet (const Baby &b) |
| NamedFunc::ScalarType | MinDeltaPhiMetJet (const Baby &b) |
| NamedFunc::ScalarType | MaxDeltaPhiMetJet (const Baby &b) |
| NamedFunc::ScalarType | MinDeltaRLepJet (const Baby &b) |
| NamedFunc::ScalarType | MaxDeltaRLepJet (const Baby &b) |
Variables | |
| bool | anonymous_namespace{plot_dy_mismeasurement_study.cxx}::single_thread = false |
| void GetAngles | ( | const Baby & | b, |
| double & | phi1, | ||
| double & | eta1, | ||
| double & | phi2, | ||
| double & | eta2 | ||
| ) |
Definition at line 235 of file plot_dy_mismeasurement_study.cxx.
References Baby::els_phi(), Baby::els_pt(), Baby::els_sceta(), IsGoodElectron(), IsGoodMuon(), IsGoodTrack(), Baby::mus_eta(), Baby::mus_phi(), Baby::mus_pt(), Baby::nels(), Baby::nmus(), Baby::nveto(), Baby::tks_eta(), Baby::tks_phi(), and Baby::tks_pt().
Referenced by main(), MaxDeltaPhiLepJet(), MaxDeltaPhiLepMet(), MaxDeltaRLepJet(), MinDeltaPhiLepJet(), MinDeltaPhiLepMet(), and MinDeltaRLepJet().
| void GetOptions | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 499 of file plot_dy_mismeasurement_study.cxx.
References anonymous_namespace{plot_dy_mismeasurement_study.cxx}::single_thread.
Referenced by main().
| bool IsGoodElectron | ( | const Baby & | b, |
| size_t | iel | ||
| ) |
Definition at line 204 of file plot_dy_mismeasurement_study.cxx.
References Baby::els_miniso(), Baby::els_pt(), Baby::els_sceta(), and Baby::els_sigid().
Referenced by GetAngles().
| bool IsGoodJet | ( | const Baby & | b, |
| size_t | ijet | ||
| ) |
Definition at line 227 of file plot_dy_mismeasurement_study.cxx.
References Baby::jets_eta(), Baby::jets_islep(), and Baby::jets_pt().
Referenced by MaxDeltaPhiLepJet(), MaxDeltaPhiMetJet(), MaxDeltaRLepJet(), MinDeltaPhiLepJet(), MinDeltaPhiMetJet(), and MinDeltaRLepJet().
| bool IsGoodMuon | ( | const Baby & | b, |
| size_t | imu | ||
| ) |
Definition at line 195 of file plot_dy_mismeasurement_study.cxx.
References Baby::mus_eta(), Baby::mus_miniso(), Baby::mus_pt(), and Baby::mus_sigid().
Referenced by GetAngles().
| bool IsGoodTrack | ( | const Baby & | b, |
| size_t | itk | ||
| ) |
Definition at line 213 of file plot_dy_mismeasurement_study.cxx.
References Baby::tks_d0(), Baby::tks_dz(), Baby::tks_miniso(), Baby::tks_mt2(), Baby::tks_pdg(), and Baby::tks_pt().
Referenced by GetAngles().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 34 of file plot_dy_mismeasurement_study.cxx.
References Process::background, PlotOpt::Bottom(), PlotOptTypes::data, Process::data, GetAngles(), GetOptions(), anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::lumi, PlotMaker::MakePlots(), MaxDeltaPhiLepJet(), MaxDeltaPhiLepMet(), MaxDeltaPhiMetJet(), MaxDeltaRLepJet(), MinDeltaPhiLepJet(), MinDeltaPhiLepMet(), MinDeltaPhiMetJet(), MinDeltaRLepJet(), PlotMaker::multithreaded_, anonymous_namespace{plot_ratios.cxx}::other, PlotMaker::Push(), PlotOptTypes::shapes, PlotOpt::ShowBackgroundError(), Process::signal, anonymous_namespace{plot_dy_mismeasurement_study.cxx}::single_thread, PlotOpt::Stack(), PlotOpt::Title(), and PlotOpt::YAxis().
| NamedFunc::ScalarType MaxDeltaPhiLepJet | ( | const Baby & | b | ) |
Definition at line 406 of file plot_dy_mismeasurement_study.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
| NamedFunc::ScalarType MaxDeltaPhiLepMet | ( | const Baby & | b | ) |
Definition at line 368 of file plot_dy_mismeasurement_study.cxx.
References GetAngles(), and Baby::met_phi().
Referenced by main().
| NamedFunc::ScalarType MaxDeltaPhiMetJet | ( | const Baby & | b | ) |
Definition at line 441 of file plot_dy_mismeasurement_study.cxx.
References IsGoodJet(), Baby::jets_phi(), Baby::jets_pt(), and Baby::met_phi().
Referenced by main().
| NamedFunc::ScalarType MaxDeltaRLepJet | ( | const Baby & | b | ) |
Definition at line 476 of file plot_dy_mismeasurement_study.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
| NamedFunc::ScalarType MinDeltaPhiLepJet | ( | const Baby & | b | ) |
Definition at line 383 of file plot_dy_mismeasurement_study.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
| NamedFunc::ScalarType MinDeltaPhiLepMet | ( | const Baby & | b | ) |
Definition at line 353 of file plot_dy_mismeasurement_study.cxx.
References GetAngles(), and Baby::met_phi().
Referenced by main().
| NamedFunc::ScalarType MinDeltaPhiMetJet | ( | const Baby & | b | ) |
Definition at line 429 of file plot_dy_mismeasurement_study.cxx.
References IsGoodJet(), Baby::jets_phi(), Baby::jets_pt(), and Baby::met_phi().
Referenced by main().
| NamedFunc::ScalarType MinDeltaRLepJet | ( | const Baby & | b | ) |
Definition at line 453 of file plot_dy_mismeasurement_study.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
1.8.11