All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
tools_nuesel_icarus.h File Reference
#include "sbnana/CAFAna/Core/Spectrum.h"
#include "sbnana/CAFAna/Core/LoadFromFile.h"
#include "TCanvas.h"
#include "TColor.h"
#include "TFile.h"
#include "TGraph.h"
#include "TH1.h"
#include "TLegend.h"
#include "TPaveText.h"
#include "TROOT.h"
#include "TText.h"
#include <iostream>
#include <fstream>
#include <iomanip>

Go to the source code of this file.

Namespaces

 ana
 Oscillation analysis framework, runs over CAF files outside of ART.
 

Functions

ofstream output ("/outputdir_path/table_output.txt")
 
TString ana::thisCellColor (double weird)
 
TString ana::fixLatexName (TString mystring)
 
void ana::printTableHeader (int quantId=0)
 
void ana::printTableFooter ()
 
void ana::printEventsLine (std::string cutname, float nue, float numu, float nc, float cos, float other, float eff, float pur)
 
void ana::SplitCanvas2 (TCanvas *&c1, TPad *&pad1, TPad *&pad2)
 
float ana::GetHistMax (std::vector< TH1 * > histos)
 
void ana::PimpHist (TH1 *histo, Color_t color, Style_t linestyle, int linewidth, Style_t markerstyle=8, double markersize=8)
 
void ana::FillWithDimColor (TH1 *h, bool usealpha=false, float dim=0.8)
 
void ana::DrawComponentsLegend (TH1 *hnue, TH1 *hnumu, TH1 *hnc, TH1 *hcos, TH1 *hother)
 
void ana::DrawSigBkgLegend (TH1 *h1, char *name1, TH1 *h2, char *name2)
 
void ana::DrawSigBkgIntLegend (TH1 *h1, char *name1, double iSig, TH1 *h2, char *name2, double iBkg)
 
void ana::DrawIntEffPurLegend (TH1D *g1, char *name1, TH1D *g2, char *name2)
 
void ana::DrawPurLegend (TH1D *g1, char *name1)
 
void ana::DrawEffPurLegend (TH1D *g1, char *name1, TH1D *g2, char *name2)
 
void ana::DrawSigBkgIntText (TH1 *hsig, TH1 *hbkg, float textsize)
 
TH1D * ana::EffOrPurHistogram (TH1 *hSelSignal, TH1 *hSelBack, TH1 *hSignal, bool geteff)
 
TGraph * ana::EffOrPurGraph (TH1 *hSelSignal, TH1 *hSelBack, TH1 *hSignal, bool geteff)
 

Function Documentation

ofstream output ( "/outputdir_path/table_output.txt"  )