ant
A2 ant: class-based analysis framework
ant::histtools Struct Reference

#include <histtools.h>

Static Public Member Functions

static TH1 * CutPosPlot (const TH1 *const h1, const TH1 *const h2)
 Plot Integral(h1,x) / Integral(h2,x) over x. More...
 
static TH1 * PlotSignificance (const TH1 *const h1, const TH1 *const h2)
 Plot Ns / sqrt (Ns / Nb) More...
 
static std::pair< TGraph *, TGraph * > MeanRMS (const TH2 *const h)
 
static void PlotMeansRMS (const TH2 *const h)
 
static TH1D * ProjectX (TH2 *hist)
 
static void CleanupLabeledHist (TH1 *h)
 

Member Function Documentation

◆ CleanupLabeledHist()

void histtools::CleanupLabeledHist ( TH1 *  h)
static

◆ CutPosPlot()

TH1 * histtools::CutPosPlot ( const TH1 *const  h1,
const TH1 *const  h2 
)
static

Plot Integral(h1,x) / Integral(h2,x) over x.

Parameters
h1
h2
Returns
new histogram

◆ MeanRMS()

std::pair< TGraph *, TGraph * > histtools::MeanRMS ( const TH2 *const  h)
static

◆ PlotMeansRMS()

void histtools::PlotMeansRMS ( const TH2 *const  h)
static

◆ PlotSignificance()

TH1 * histtools::PlotSignificance ( const TH1 *const  h1,
const TH1 *const  h2 
)
static

Plot Ns / sqrt (Ns / Nb)

Parameters
h1
h2
Returns
new histogram

◆ ProjectX()

TH1D * histtools::ProjectX ( TH2 *  hist)
static

The documentation for this struct was generated from the following files: