ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
|
#include "ra4/plot_dilep_angles.hpp"
#include <cmath>
#include "TError.h"
#include "TVector2.h"
#include "core/plot_maker.hpp"
#include "core/plot_opt.hpp"
#include "core/palette.hpp"
#include "core/hist1d.hpp"
#include "core/event_scan.hpp"
Go to the source code of this file.
Functions | |
int | main () |
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) |
void GetAngles | ( | const Baby & | b, |
double & | phi1, | ||
double & | eta1, | ||
double & | phi2, | ||
double & | eta2 | ||
) |
Definition at line 164 of file plot_dilep_angles.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().
bool IsGoodElectron | ( | const Baby & | b, |
size_t | iel | ||
) |
Definition at line 133 of file plot_dilep_angles.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 156 of file plot_dilep_angles.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 124 of file plot_dilep_angles.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 142 of file plot_dilep_angles.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 | ( | ) |
Definition at line 17 of file plot_dilep_angles.cxx.
References Process::background, PlotOpt::Bottom(), Process::data, GetAngles(), anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::lumi, PlotMaker::MakePlots(), MaxDeltaPhiLepJet(), MaxDeltaPhiLepMet(), MaxDeltaPhiMetJet(), MaxDeltaRLepJet(), MinDeltaPhiLepJet(), MinDeltaPhiLepMet(), MinDeltaPhiMetJet(), MinDeltaRLepJet(), anonymous_namespace{plot_ratios.cxx}::other, PlotMaker::Push(), PlotOpt::Stack(), run_2016-06-03_freeze_preapp_all_preds::tag, PlotOpt::Title(), anonymous_namespace{plot_ratios.cxx}::tt1l, anonymous_namespace{plot_ratios.cxx}::tt2l, and PlotOpt::YAxis().
NamedFunc::ScalarType MaxDeltaPhiLepJet | ( | const Baby & | b | ) |
Definition at line 335 of file plot_dilep_angles.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
NamedFunc::ScalarType MaxDeltaPhiLepMet | ( | const Baby & | b | ) |
Definition at line 297 of file plot_dilep_angles.cxx.
References GetAngles(), and Baby::met_phi().
Referenced by main().
NamedFunc::ScalarType MaxDeltaPhiMetJet | ( | const Baby & | b | ) |
Definition at line 370 of file plot_dilep_angles.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 405 of file plot_dilep_angles.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
NamedFunc::ScalarType MinDeltaPhiLepJet | ( | const Baby & | b | ) |
Definition at line 312 of file plot_dilep_angles.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().
NamedFunc::ScalarType MinDeltaPhiLepMet | ( | const Baby & | b | ) |
Definition at line 282 of file plot_dilep_angles.cxx.
References GetAngles(), and Baby::met_phi().
Referenced by main().
NamedFunc::ScalarType MinDeltaPhiMetJet | ( | const Baby & | b | ) |
Definition at line 358 of file plot_dilep_angles.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 382 of file plot_dilep_angles.cxx.
References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().
Referenced by main().