#include "TBinomialEfficiencyFitter.h"
#include "TVirtualFitter.h"
#include "TH1.h"
#include "TRandom3.h"
#include "TF1.h"
#include "TStyle.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TPaveStats.h"
#include <cassert>
#include <iostream>
Go to the source code of this file.
Functions | |
void | TestBinomial (int nloop=100, int nevts=100, bool plot=false) |
void TestBinomial | ( | int | nloop = 100 , |
|
int | nevts = 100 , |
|||
bool | plot = false | |||
) |
Definition at line 36 of file TestBinomial.C.
References TH1::Add(), TObjArray::Add(), TLegend::AddEntry(), TRandom::Binomial(), c1, TCanvas::cd(), TPad::Divide(), TH1::Divide(), TH1::Draw(), TLegend::Draw(), TH1::DrawCopy(), TH1D::DrawCopy(), TF1::DrawCopy(), TH1::Fill(), TH1::FillRandom(), TH1::Fit(), TBinomialEfficiencyFitter::Fit(), Form(), TH1::GetMean(), TNamed::GetName(), TFormula::GetParameter(), TF1::GetParError(), TF1::GetProb(), TH1::GetRMS(), gStyle, h, h1, TF1::Integral(), kRed, nloop, norm(), plot(), TH1D::Reset(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttMarker::SetMarkerStyle(), TStyle::SetOptFit(), TStyle::SetOptStat(), TFormula::SetParameter(), TF1::SetParError(), TF1::SetParLimits(), TH1::Sumw2(), width, xmax, and xmin.