ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Namespaces | Functions | Variables
plot_mismeasure.cxx File Reference
#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()
 

Function Documentation

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 ( )
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().

Referenced by main(), and Print().

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 
)
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().