rf102_dataimport.C File Reference

#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

TH1makeTH1 ()
TTreemakeTTree ()
void rf102_dataimport ()


Function Documentation

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.


Generated on Tue Jul 5 16:09:36 2011 for ROOT_528-00b_version by  doxygen 1.5.1