AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnalyzeCharmFractionHists.C File Reference

Go to the source code of this file.

Functions

void AnalyzeCharmFractionHists (Int_t ptbin, Int_t rebin)
 
TH1F * CumulativeHist (const TH1F *h1, TString nameHist=0x0)
 
void DrawHistos (Int_t pt, Int_t rebin=1)
 
void DrawHistos (TString file1, TString file2, TString hist, Int_t pt, Int_t rebin=1)
 
void SubtractHist (Int_t pt, Int_t rebin=1)
 
void SubtractHist (TString fileSignal, TString fileNoMC, TString fileNoMCSB, TString hist, Int_t pt, Int_t rebin)
 
void DoFit (TString filename, TString histo, TString gausSide, Int_t ptbin, Int_t rebin=-1)
 
TF1 * CreateFunc (Double_t integral, Double_t binw)
 
Double_t GetChi2 (const TH1F *h1, const TH1F *h2, TH1F *hchi2, Int_t &ndof)
 
void TestChi2 ()
 

Variables

TCanvas * cCompareSimple
 
TCanvas * cCompareCum
 
TCanvas * cSubtraction
 
TCanvas * cCompareSubtractSimple
 
TCanvas * cCompareSubtractCum
 
const Int_t timeWait =500
 

Function Documentation

void AnalyzeCharmFractionHists ( Int_t  ptbin,
Int_t  rebin 
)

Definition at line 5 of file AnalyzeCharmFractionHists.C.

TF1* CreateFunc ( Double_t  integral,
Double_t  binw 
)

Definition at line 526 of file AnalyzeCharmFractionHists.C.

Referenced by DoFit().

TH1F* CumulativeHist ( const TH1F *  h1,
TString  nameHist = 0x0 
)

Definition at line 21 of file AnalyzeCharmFractionHists.C.

Referenced by DrawHistos(), and SubtractHist().

void DoFit ( TString  filename,
TString  histo,
TString  gausSide,
Int_t  ptbin,
Int_t  rebin = -1 
)

Definition at line 438 of file AnalyzeCharmFractionHists.C.

void DrawHistos ( Int_t  pt,
Int_t  rebin = 1 
)

Definition at line 59 of file AnalyzeCharmFractionHists.C.

Referenced by AnalyzeCharmFractionHists().

void DrawHistos ( TString  file1,
TString  file2,
TString  hist,
Int_t  pt,
Int_t  rebin = 1 
)

Definition at line 64 of file AnalyzeCharmFractionHists.C.

Double_t GetChi2 ( const TH1F *  h1,
const TH1F *  h2,
TH1F *  hchi2,
Int_t ndof 
)

Definition at line 555 of file AnalyzeCharmFractionHists.C.

Referenced by TestChi2().

void SubtractHist ( Int_t  pt,
Int_t  rebin = 1 
)

Definition at line 207 of file AnalyzeCharmFractionHists.C.

Referenced by AnalyzeCharmFractionHists().

void SubtractHist ( TString  fileSignal,
TString  fileNoMC,
TString  fileNoMCSB,
TString  hist,
Int_t  pt,
Int_t  rebin 
)

Definition at line 213 of file AnalyzeCharmFractionHists.C.

void TestChi2 ( )

Definition at line 598 of file AnalyzeCharmFractionHists.C.

Variable Documentation

TCanvas * cCompareCum

Definition at line 1 of file AnalyzeCharmFractionHists.C.

Referenced by DrawHistos().

TCanvas* cCompareSimple

Definition at line 1 of file AnalyzeCharmFractionHists.C.

Referenced by DrawHistos().

TCanvas * cCompareSubtractCum

Definition at line 2 of file AnalyzeCharmFractionHists.C.

Referenced by SubtractHist().

TCanvas * cCompareSubtractSimple

Definition at line 2 of file AnalyzeCharmFractionHists.C.

Referenced by SubtractHist().

TCanvas* cSubtraction

Definition at line 2 of file AnalyzeCharmFractionHists.C.

Referenced by SubtractHist().

const Int_t timeWait =500

Definition at line 3 of file AnalyzeCharmFractionHists.C.

Referenced by DrawHistos(), and SubtractHist().