|
ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
|
#include <set>#include <string>#include <iostream>#include <memory>#include <limits>#include "TStyle.h"#include "TColor.h"#include "TCanvas.h"#include "TChain.h"#include "TH1D.h"#include "TH2D.h"#include "TError.h"#include "TGraphAsymmErrors.h"#include "core/timer.hpp"#include "core/baby_full.hpp"#include "core/utilities.hpp"#include "core/process.hpp"#include "core/plot_maker.hpp"#include "core/event_scan.hpp"#include "core/hist1d.hpp"#include "core/palette.hpp"Go to the source code of this file.
Namespaces | |
| anonymous_namespace{plot_mismeasure.cxx} | |
Functions | |
| TH2D | RowNorm (const TH2D &hin) |
| TH2D | ColNorm (const TH2D &hin) |
| int | RegionIndex (const Baby &b, size_t i, double low_nj, double high_nj, double low_met, double high_met, bool cluster_leps) |
| bool | IsTransferNoLep (const Baby &b) |
| bool | IsTransferLep (const Baby &b) |
| void | Fill (bool pass, TH1D &h_pass, TH1D &h_total, double x, double w) |
| void | Format (TH1D &h, bool no_stats=false) |
| void | Format (TH2D &h, bool no_stats=false) |
| void | Print (TH1D &h, bool no_stats=false) |
| void | MakePositive (TH1D &h) |
| void | SetAxisLabels (TAxis &a, bool use_total) |
| TH2D | Expand (const TH2D &h) |
| void | PrintTransfer (TH2D &h) |
| void | Print (TH2D &h, bool no_stats=false) |
| void | Print (TH1D &pass, TH1D &total) |
| int | main () |
Variables | |
| float | anonymous_namespace{plot_mismeasure.cxx}::bignum = numeric_limits<float>::max() |
| TH2D ColNorm | ( | const TH2D & | hin | ) |
Definition at line 51 of file plot_mismeasure.cxx.
Referenced by PrintTransfer().
| TH2D Expand | ( | const TH2D & | h | ) |
Definition at line 189 of file plot_mismeasure.cxx.
References FullTitle().
Referenced by PrintTransfer().
| void Fill | ( | bool | pass, |
| TH1D & | h_pass, | ||
| TH1D & | h_total, | ||
| double | x, | ||
| double | w | ||
| ) |
Definition at line 123 of file plot_mismeasure.cxx.
Referenced by main().
| void Format | ( | TH1D & | h, |
| bool | no_stats = false |
||
| ) |
Definition at line 128 of file plot_mismeasure.cxx.
Referenced by Print(), and PrintTransfer().
| void Format | ( | TH2D & | h, |
| bool | no_stats = false |
||
| ) |
Definition at line 135 of file plot_mismeasure.cxx.
| bool IsTransferLep | ( | const Baby & | b | ) |
Definition at line 117 of file plot_mismeasure.cxx.
References anonymous_namespace{plot_mismeasure.cxx}::bignum, and RegionIndex().
Referenced by main().
| bool IsTransferNoLep | ( | const Baby & | b | ) |
Definition at line 111 of file plot_mismeasure.cxx.
References anonymous_namespace{plot_mismeasure.cxx}::bignum, and RegionIndex().
Referenced by main().
| int main | ( | ) |
Definition at line 284 of file plot_mismeasure.cxx.
References Process::background, anonymous_namespace{plot_mismeasure.cxx}::bignum, PlotOpt::Bottom(), Fill(), IsTransferLep(), IsTransferNoLep(), Timer::Iterate(), anonymous_namespace{plot_2016-07-19_isr_susy_talk.cxx}::lumi, PlotMaker::MakePlots(), anonymous_namespace{plot_ratios.cxx}::other, Print(), PrintTransfer(), PlotMaker::Push(), RegionIndex(), PlotOpt::Stack(), PlotOpt::Title(), anonymous_namespace{plot_ratios.cxx}::tt1l, anonymous_namespace{plot_ratios.cxx}::tt2l, and PlotOpt::YAxis().
| void MakePositive | ( | TH1D & | h | ) |
Definition at line 150 of file plot_mismeasure.cxx.
Referenced by Print().
| void Print | ( | TH1D & | h, |
| bool | no_stats = false |
||
| ) |
Definition at line 143 of file plot_mismeasure.cxx.
References Format().
| void Print | ( | TH2D & | h, |
| bool | no_stats = false |
||
| ) |
Definition at line 261 of file plot_mismeasure.cxx.
References Format().
| void Print | ( | TH1D & | pass, |
| TH1D & | total | ||
| ) |
Definition at line 270 of file plot_mismeasure.cxx.
References MakePositive(), and Print().
| void PrintTransfer | ( | TH2D & | h | ) |
Definition at line 226 of file plot_mismeasure.cxx.
References ColNorm(), Expand(), Format(), RowNorm(), and SetAxisLabels().
Referenced by main().
| int RegionIndex | ( | const Baby & | b, |
| size_t | i, | ||
| double | low_nj, | ||
| double | high_nj, | ||
| double | low_met, | ||
| double | high_met, | ||
| bool | cluster_leps | ||
| ) |
Definition at line 70 of file plot_mismeasure.cxx.
References Baby::mm_ht(), Baby::mm_met(), Baby::mm_mj14_lep(), Baby::mm_mj14_nolep(), Baby::mm_mt(), Baby::mm_nbm(), Baby::mm_njets(), and Baby::mm_nleps().
Referenced by IsTransferLep(), IsTransferNoLep(), and main().
| TH2D RowNorm | ( | const TH2D & | hin | ) |
Definition at line 32 of file plot_mismeasure.cxx.
Referenced by PrintTransfer().
| void SetAxisLabels | ( | TAxis & | a, |
| bool | use_total | ||
| ) |
Definition at line 162 of file plot_mismeasure.cxx.
Referenced by PrintTransfer().
1.8.11