Classes | Namespaces | Functions
tex_tables_util.h File Reference
#include "TStyle.h"
#include "TFile.h"
#include "TH1.h"
#include "TCanvas.h"
#include "TGraph.h"
#include "TGraphAsymmErrors.h"
#include "TGaxis.h"
#include "TLatex.h"
#include "TLegend.h"
#include "TLine.h"
#include "TSystem.h"
#include <iostream>
#include <fstream>
#include <iomanip>

Go to the source code of this file.

Classes

struct  ana::SystResults
 

Namespaces

 ana
 Cuts and Vars for the 2020 FD DiF Study.
 

Functions

double ana::CalcChi2 (TH1 *hmc, TH1 *hdata)
 
TString ana::MakeLatexCommandName (TString mystring)
 
TString ana::FixPlotName (TString mystring)
 
void ana::PrintLatexFigure (TString name, TString plotdir="plots/")
 
void ana::PrintTableHeader (TString ltxcommand="", TString labelcol_style="l", TString bincol_style="| r r r", int nbins=1)
 
void ana::PrintTableFooter ()
 
bool ana::sort_chisq_sig (SystResults a, SystResults b)
 
bool ana::sort_chisq_bkg (SystResults a, SystResults b)
 
void ana::SetVecValues_Diff (SystResults &MyVec, int Ind, double Sig0, double Sig1, double Bkg0, double Bkg1, double Tot0, double Tot1)
 
void ana::SetVecValues_ChiSq (SystResults &MyVec, double Sig0, double Sig1, double Bkg0, double Bkg1, double Tot0, double Tot1)
 
void ana::AddToSummaryV (TString ltxcommand, TString systName, const std::vector< TH1 * > &mcnom, const std::vector< TH1 * > &mcplu, const std::vector< TH1 * > &mcmin)
 
void ana::ComparisonTableOne (const std::vector< TH1 * > &mcnom, const std::vector< TH1 * > &mcshift, const std::vector< TString > &labels, const TString ltxcommand="")
 
void ana::ComparisonTableOneNbins (const std::vector< TH1 * > &mcnom, const std::vector< TH1 * > &mcshift, const std::vector< TString > &labels, TString ltxcommand, int N=3)
 
void ana::ComparisonTable (const std::vector< TH1 * > &mcnom, const std::vector< TH1 * > &mcplus, const std::vector< TH1 * > &mcminus, std::vector< TString > labels, TString ltxcommand="")
 
TString ana::FixMeSummary (double number, bool isdiff=true)
 
void ana::MakeSummaryV (bool signal=true, TString xptype="nxp", bool sorted=false)
 
void ana::ComparisonTableNbins (const std::vector< TH1 * > &mcnom, const std::vector< TH1 * > &mcplus, const std::vector< TH1 * > &mcminus, std::vector< TString > labels, TString ltxcommand="", int N=3)
 
void ana::PrintRawEventCounts (TDirectory *dpred, TString title)
 
void ana::PrintOscilationParameters (osc::IOscCalc *calc, bool usingdumb)