susy_cfa
b611ccad937ea179f86a1f5663960264616c0a20
|
#include "iso_transfer.hpp"
#include <iostream>
#include <iomanip>
#include <vector>
#include "TH2D.h"
#include "TCanvas.h"
#include "TColor.h"
#include "TStyle.h"
#include "TString.h"
#include "TLine.h"
#include "styles.hpp"
#include "small_tree.hpp"
#include "timer.hpp"
#include "cut.hpp"
Go to the source code of this file.
Functions | |
const float | SigLepPt (20.) |
const float | SigMiniMu (0.08) |
const float | SigMiniEl (0.12) |
const float | VetMiniMu (0.025) |
const float | VetMiniEl (0.12) |
int | main () |
bool | PassesCuts (const vector< CutBase * > &cuts) |
int | GetLeptons (const small_tree &tree, IsoCut cut, int &best_el, int &best_mu) |
void | Fix (const small_tree &tree, int &best_el, int &best_mu) |
int | StandardIso (const small_tree &tree, int &best_el, int &best_mu) |
int | StandardEl (const small_tree &tree, int &best_el) |
int | StandardMu (const small_tree &tree, int &best_mu) |
int | MiniIso (const small_tree &tree, int &best_el, int &best_mu) |
int | MiniEl (const small_tree &tree, int &best_el) |
int | MiniMu (const small_tree &tree, int &best_mu) |
int | VetoStandardIso (const small_tree &tree, int &best_el, int &best_mu) |
int | VetoStandardEl (const small_tree &tree, int &best_el) |
int | VetoStandardMu (const small_tree &tree, int &best_mu) |
int | VetoMiniIso (const small_tree &tree, int &best_el, int &best_mu) |
int | VetoMiniEl (const small_tree &tree, int &best_el) |
int | VetoMiniMu (const small_tree &tree, int &best_mu) |
void | PositiveColors (int pos_cols[]) |
void | SymmetricColors (int sym_cols[]) |
void | SetLineStyle (TLine &line) |
void Fix | ( | const small_tree & | tree, |
int & | best_el, | ||
int & | best_mu | ||
) |
Definition at line 278 of file iso_transfer.cxx.
References small_tree::els_pt(), and small_tree::mus_pt().
Referenced by Delete(), MiniIso(), StandardIso(), VetoMiniIso(), and VetoStandardIso().
int GetLeptons | ( | const small_tree & | tree, |
IsoCut | cut, | ||
int & | best_el, | ||
int & | best_mu | ||
) |
Definition at line 271 of file iso_transfer.cxx.
Referenced by Delete().
int main | ( | ) |
Definition at line 27 of file iso_transfer.cxx.
References Delete(), small_tree::els_phi(), small_tree::els_pt(), small_tree::GetEntries(), small_tree::GetEntry(), small_tree::ht(), Timer::Iterate(), kGreater, kGreaterEqual, styles::LabelSize, small_tree::met(), small_tree::met_phi(), small_tree::mindphin_metjet(), MiniIso(), small_tree::mus_phi(), small_tree::mus_pt(), small_tree::nbm(), NewCut(), small_tree::njets(), PassesCuts(), PositiveColors(), styles::setDefaultStyle(), SetLineStyle(), StandardIso(), Timer::Start(), SymmetricColors(), styles::TitleSize, VetoMiniIso(), VetoStandardIso(), and small_tree::weight().
int MiniEl | ( | const small_tree & | tree, |
int & | best_el | ||
) |
Definition at line 349 of file iso_transfer.cxx.
References small_tree::els_ispf(), small_tree::els_pt(), small_tree::els_sigid(), SigLepPt(), and SigMiniEl().
int MiniIso | ( | const small_tree & | tree, |
int & | best_el, | ||
int & | best_mu | ||
) |
int MiniMu | ( | const small_tree & | tree, |
int & | best_mu | ||
) |
Definition at line 367 of file iso_transfer.cxx.
References small_tree::mus_pt(), small_tree::mus_sigid(), SigLepPt(), and SigMiniMu().
bool PassesCuts | ( | const vector< CutBase * > & | cuts | ) |
Definition at line 262 of file iso_transfer.cxx.
void PositiveColors | ( | int | pos_cols[] | ) |
Definition at line 477 of file iso_transfer.cxx.
void SetLineStyle | ( | TLine & | line | ) |
Definition at line 505 of file iso_transfer.cxx.
const float SigLepPt | ( | 20. | ) |
Referenced by MiniEl(), MiniMu(), StandardEl(), and StandardMu().
const float SigMiniEl | ( | 0. | 12 | ) |
Referenced by MiniEl().
const float SigMiniMu | ( | 0. | 08 | ) |
Referenced by MiniMu().
int StandardEl | ( | const small_tree & | tree, |
int & | best_el | ||
) |
Definition at line 300 of file iso_transfer.cxx.
References small_tree::els_eta(), small_tree::els_ispf(), small_tree::els_pt(), small_tree::els_sigid(), and SigLepPt().
Referenced by Delete(), and StandardIso().
int StandardIso | ( | const small_tree & | tree, |
int & | best_el, | ||
int & | best_mu | ||
) |
Definition at line 291 of file iso_transfer.cxx.
References Fix(), StandardEl(), and StandardMu().
int StandardMu | ( | const small_tree & | tree, |
int & | best_mu | ||
) |
Definition at line 321 of file iso_transfer.cxx.
References small_tree::mus_pt(), small_tree::mus_sigid(), and SigLepPt().
Referenced by Delete(), and StandardIso().
void SymmetricColors | ( | int | sym_cols[] | ) |
Definition at line 491 of file iso_transfer.cxx.
const float VetMiniEl | ( | 0. | 12 | ) |
Referenced by VetoMiniEl().
const float VetMiniMu | ( | 0. | 025 | ) |
Referenced by VetoMiniMu().
int VetoMiniEl | ( | const small_tree & | tree, |
int & | best_el | ||
) |
Definition at line 442 of file iso_transfer.cxx.
References small_tree::els_ispf(), small_tree::els_pt(), and VetMiniEl().
Referenced by Delete(), and VetoMiniIso().
int VetoMiniIso | ( | const small_tree & | tree, |
int & | best_el, | ||
int & | best_mu | ||
) |
Definition at line 433 of file iso_transfer.cxx.
References Fix(), VetoMiniEl(), and VetoMiniMu().
int VetoMiniMu | ( | const small_tree & | tree, |
int & | best_mu | ||
) |
Definition at line 460 of file iso_transfer.cxx.
References small_tree::mus_pt(), and VetMiniMu().
Referenced by Delete(), and VetoMiniIso().
int VetoStandardEl | ( | const small_tree & | tree, |
int & | best_el | ||
) |
Definition at line 394 of file iso_transfer.cxx.
References small_tree::els_eta(), small_tree::els_ispf(), and small_tree::els_pt().
Referenced by Delete(), and VetoStandardIso().
int VetoStandardIso | ( | const small_tree & | tree, |
int & | best_el, | ||
int & | best_mu | ||
) |
Definition at line 385 of file iso_transfer.cxx.
References Fix(), VetoStandardEl(), and VetoStandardMu().
int VetoStandardMu | ( | const small_tree & | tree, |
int & | best_mu | ||
) |
Definition at line 415 of file iso_transfer.cxx.
References small_tree::mus_pt().
Referenced by Delete(), and VetoStandardIso().