|
ra4_macros
bede988c286599a3a84b77a4d788ac0a971e89f9
|
#include <fstream>#include <sstream>#include <string>#include <vector>#include "gamma_params.hpp"#include "small_tree_quick.hpp"#include "TH1.h"#include "utilities_macros.hpp"Go to the source code of this file.
Functions | |
| void | PrintTable (TString method, std::vector< std::vector< std::vector< double > > > ttbar_counts, std::vector< std::vector< std::vector< double > > > ttbar_errors, std::vector< std::vector< std::vector< double > > > ttbar_counts_dilep, std::vector< std::vector< std::vector< double > > > other_counts, std::vector< std::vector< std::vector< double > > > other_counts_dilep, std::vector< std::vector< double > > delkappas, std::vector< std::vector< TString > > bins_by_region) |
| double | GetWeight (small_tree_quick &tree, TString sysname, int ivar) |
| void | GetCounts (double lumi, std::vector< TString > sysnames, TString method, TString baseline, small_tree_quick &tree, std::vector< std::vector< std::vector< double > > > &finalcounts, std::vector< std::vector< std::vector< double > > > &errors, std::vector< std::vector< TString > > bins_by_region, std::vector< hfeats > hists, std::vector< std::vector< TH1F * > > &h) |
| void | OverlayHists (std::vector< TH1F * > h, hfeats hist, TString method, TString sysname, TString baseline) |
| void | OverlayHistsmT (std::vector< TH1F * > h, hfeats hist, TString method, TString sysname, TString baseline) |
| int | FindSuperBin (TString cut, std::vector< TString > other_region) |
| int | LookUpRegion (small_tree_quick &tree, TString method) |
| int | LookUpBin (small_tree_quick &tree, int region, std::vector< std::vector< TString > > bins_by_region) |
| void | MakePlots (TString axisname, std::vector< int > numerator_regions, std::vector< int > denominator_regions, std::vector< std::vector< std::vector< double > > > counts, std::vector< std::vector< std::vector< double > > > errors, std::vector< std::vector< TString > > bins_by_region, TString baseline, TString method, std::vector< TString > sysnames, int sysnum, std::vector< double > &delkappas) |
| double | sqr (double x) |
| int FindSuperBin | ( | TString | cut, |
| std::vector< TString > | other_region | ||
| ) |
Definition at line 608 of file syst_counts_v2.cxx.
Referenced by MakePlots(), and PrintTable().
| void GetCounts | ( | double | lumi, |
| std::vector< TString > | sysnames, | ||
| TString | method, | ||
| TString | baseline, | ||
| small_tree_quick & | tree, | ||
| std::vector< std::vector< std::vector< double > > > & | finalcounts, | ||
| std::vector< std::vector< std::vector< double > > > & | errors, | ||
| std::vector< std::vector< TString > > | bins_by_region, | ||
| std::vector< hfeats > | hists, | ||
| std::vector< std::vector< TH1F * > > & | h | ||
| ) |
Definition at line 355 of file syst_counts_v2.cxx.
References Contains(), small_tree::GetBranchValue(), small_tree::GetEntries(), small_tree_quick::GetEntry(), GetWeight(), small_tree::ht(), Timer::Iterate(), LookUpBin(), LookUpRegion(), small_tree::met(), ra4::minjets(), anonymous_namespace{make_rpv_datacard.cxx}::nbins, small_tree::njets(), small_tree::PassString(), sqr(), Timer::Start(), small_tree_quick::trutop1_phi(), small_tree_quick::trutop1_pt(), small_tree_quick::trutop2_phi(), small_tree_quick::trutop2_pt(), and small_tree::weight().
Referenced by main().
| double GetWeight | ( | small_tree_quick & | tree, |
| TString | sysname, | ||
| int | ivar | ||
| ) |
Definition at line 268 of file syst_counts_v2.cxx.
References small_tree::mt(), small_tree_quick::ntruleps(), small_tree_quick::ntrumeisr(), small_tree_quick::trutop1_phi(), small_tree_quick::trutop1_pt(), small_tree_quick::trutop2_phi(), and small_tree_quick::trutop2_pt().
Referenced by GetCounts().
| int LookUpBin | ( | small_tree_quick & | tree, |
| int | region, | ||
| std::vector< std::vector< TString > > | bins_by_region | ||
| ) |
Definition at line 655 of file syst_counts_v2.cxx.
References small_tree::PassString().
Referenced by GetCounts().
| int LookUpRegion | ( | small_tree_quick & | tree, |
| TString | method | ||
| ) |
Definition at line 634 of file syst_counts_v2.cxx.
References small_tree_quick::mj(), ra4::mjthresh(), small_tree::mt(), small_tree::nels(), and small_tree::nmus().
Referenced by GetCounts().
| void MakePlots | ( | TString | axisname, |
| std::vector< int > | numerator_regions, | ||
| std::vector< int > | denominator_regions, | ||
| std::vector< std::vector< std::vector< double > > > | counts, | ||
| std::vector< std::vector< std::vector< double > > > | errors, | ||
| std::vector< std::vector< TString > > | bins_by_region, | ||
| TString | baseline, | ||
| TString | method, | ||
| std::vector< TString > | sysnames, | ||
| int | sysnum, | ||
| std::vector< double > & | delkappas | ||
| ) |
Definition at line 671 of file syst_counts_v2.cxx.
References cuts2title(), FindSuperBin(), format_tag(), parse_card::kappa, rpv_bkg_syst::leg, efficiency_map::npoints, efficiency_map::num, and sqr().
Referenced by main().
| void OverlayHists | ( | std::vector< TH1F * > | h, |
| hfeats | hist, | ||
| TString | method, | ||
| TString | sysname, | ||
| TString | baseline | ||
| ) |
Definition at line 495 of file syst_counts_v2.cxx.
References hfeats::cuts, cuts2title(), format_tag(), rpv_bkg_syst::leg, styles::setDefaultStyle(), hfeats::title, and hfeats::varname.
Referenced by main().
| void OverlayHistsmT | ( | std::vector< TH1F * > | h, |
| hfeats | hist, | ||
| TString | method, | ||
| TString | sysname, | ||
| TString | baseline | ||
| ) |
Definition at line 543 of file syst_counts_v2.cxx.
References hfeats::cuts, cuts2title(), format_tag(), rpv_bkg_syst::leg, styles::setDefaultStyle(), hfeats::title, and hfeats::varname.
Referenced by main().
| void PrintTable | ( | TString | method, |
| std::vector< std::vector< std::vector< double > > > | ttbar_counts, | ||
| std::vector< std::vector< std::vector< double > > > | ttbar_errors, | ||
| std::vector< std::vector< std::vector< double > > > | ttbar_counts_dilep, | ||
| std::vector< std::vector< std::vector< double > > > | other_counts, | ||
| std::vector< std::vector< std::vector< double > > > | other_counts_dilep, | ||
| std::vector< std::vector< double > > | delkappas, | ||
| std::vector< std::vector< TString > > | bins_by_region | ||
| ) |
Definition at line 247 of file syst_counts_v2.cxx.
References parse_card::file, FindSuperBin(), and sqr().
Referenced by main().
| double sqr | ( | double | x | ) |
Definition at line 562 of file make_card.cxx.
Referenced by GetCounts(), MakePlots(), and PrintTable().
1.8.11