testUnfold2.C File Reference

#include <TMath.h>
#include <TCanvas.h>
#include <TRandom3.h>
#include <TFitter.h>
#include <TF1.h>
#include <TStyle.h>
#include <TVector.h>
#include <TGraph.h>
#include <TUnfold.h>

Go to the source code of this file.

Functions

Double_t GenerateEvent (Double_t bgr, Double_t mass, Double_t gamma)
Double_t DetectorEvent (Double_t mTrue)
int testUnfold2 ()

Variables

TRandomrnd = 0


Function Documentation

Double_t DetectorEvent ( Double_t  mTrue  ) 

Definition at line 105 of file testUnfold2.C.

References TRandom::Gaus(), rnd, and TRandom::Rndm().

Double_t GenerateEvent ( Double_t  bgr,
Double_t  mass,
Double_t  gamma 
)

Definition at line 67 of file testUnfold2.C.

References TMath::Pi(), TMath::Power(), rnd, TRandom::Rndm(), t, and TMath::Tan().

int testUnfold2 (  ) 

Definition at line 119 of file testUnfold2.C.

References TMath::Abs(), DetectorEvent(), TGraph::Draw(), TH1::Draw(), TSpline::Draw(), TH2::Fill(), TH1::Fill(), GenerateEvent(), TUnfold::GetChi2A(), TUnfold::GetChi2L(), TUnfold::GetFoldedOutput(), TSpline::GetKnot(), TUnfold::GetNdf(), TUnfold::GetOutput(), TUnfold::GetRhoI(), TUnfold::GetTau(), i, kBlue, TUnfold::kHistMapOutputVert, kRed, TUnfold::kRegModeCurvature, TUnfold::kRegModeNone, output(), TRandom::Poisson(), TUnfold::RegularizeBins(), rnd, TUnfold::ScanLcurve(), TH1::SetDefaultSumw2(), TUnfold::SetInput(), TAttLine::SetLineColor(), TAttMarker::SetMarkerColor(), t, x, and y.


Variable Documentation

TRandom* rnd = 0

Definition at line 61 of file testUnfold2.C.


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