#include "RooGlobalFunc.h"
#include "RooRealVar.h"
#include "RooDataSet.h"
#include "RooDataHist.h"
#include "RooGaussian.h"
#include "TCanvas.h"
#include "RooPlot.h"
#include "TTree.h"
#include "TH1D.h"
#include "TRandom.h"
Go to the source code of this file.
Functions | |
TH1 * | makeTH1 () |
TTree * | makeTTree () |
void | rf102_dataimport () |
TH1 * makeTH1 | ( | ) |
Definition at line 132 of file rf102_dataimport.C.
References TH1::Fill(), TRandom::Gaus(), gRandom, and i.
Referenced by rf102_dataimport(), and rf401_importttreethx().
TTree * makeTTree | ( | ) |
Definition at line 144 of file rf102_dataimport.C.
References TTree::Branch(), TTree::Fill(), TRandom::Gaus(), gRandom, i, and TRandom::Uniform().
Referenced by rf102_dataimport(), and rf401_importttreethx().
void rf102_dataimport | ( | ) |
Definition at line 31 of file rf102_dataimport.C.
References RooFit::Binning(), c, RooFit::DataError(), RooPlot::Draw(), RooAbsPdf::fitTo(), RooPlot::GetYaxis(), gPad, Import, makeTH1(), makeTTree(), RooDataHist::plotOn(), RooAbsData::plotOn(), RooAbsPdf::plotOn(), RooAbsData::Print(), TAttAxis::SetTitleOffset(), sigma, RooAbsData::SumW2, RooFit::Title(), x, and y.