AliPhysics  857879d (857879d)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ReadDvsMultiplicity.C File Reference
#include <TInterpreter.h>
#include <TString.h>
#include <TObjString.h>
#include <TObjArray.h>
#include <TMath.h>
#include <TFile.h>
#include <TCanvas.h>
#include <TH1.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TH3.h>
#include <TH3F.h>
#include <TH1D.h>
#include <TProfile.h>
#include <TF1.h>
#include <TSystem.h>
#include <TStyle.h>
#include <TLegend.h>
#include <TList.h>
#include <TLegendEntry.h>
#include <TDatabasePDG.h>
#include <TGraph.h>
#include "AliAODRecoDecayHF.h"
#include "AliRDHFCuts.h"
#include "AliRDHFCutsDplustoKpipi.h"
#include "AliRDHFCutsD0toKpi.h"
#include "AliHFMassFitter.h"
#include "AliNormalizationCounter.h"
Include dependency graph for ReadDvsMultiplicity.C:

Go to the source code of this file.

Enumerations

enum  { kD0toKpi, kDplusKpipi }
 
enum  { kBoth, kParticleOnly, kAntiParticleOnly }
 
enum  { kExpo =0, kLinear, kPol2 }
 
enum  { kGaus =0, kDoubleGaus }
 
enum  { kCorr =0, kUnCorr, kNoPid }
 

Functions

Bool_t LoadDplusHistos (TObjArray *listFiles, TH3F **hPtMassMult, TH2F **hNtrZvtx, TH2F **hNtrZvtxCorr, const char *CutsType, Int_t Option)
 
Bool_t LoadD0toKpiHistos (TObjArray *listFiles, TH3F **hPtMassMult, TH2F **hNtrZvtx, TH2F **hNtrZvtxCorr, AliNormalizationCounter *counter, const char *CutsType, Int_t Option)
 
Bool_t CheckNtrVsZvtx (TH2F **hNtrZvtx, TH2F **hNtrZvtxCorr, Int_t nFiles)
 
TH1F * RebinHisto (TH1F *hOrig, Int_t reb, Int_t firstUse=-1)
 
void ReadDvsMultiplicity (Int_t analysisType=kD0toKpi, TString fileNameb="AnalysisResults.root", TString fileNamec="", TString fileNamed="", TString fileNamee="", const char *CutsType="", Int_t Option=kCorr)
 

Variables

const Int_t nPtBins =5
 
Double_t ptlims [nPtBins+1] ={1.,2.,4.,8.,12.,24.}
 
Int_t rebin [nPtBins] ={4,4,6,8,8}
 
Double_t sigmapt [nPtBins] ={ 0.008, 0.014, 0.019, 0.027, 0.033 }
 
Bool_t fixPeakSigma = kTRUE
 
const Int_t nMultbins =7
 
Double_t multlims [nMultbins+1] ={1.,9.,14.,20.,31.,50.,81.,100.}
 
Int_t firstUsedBin [nPtBins] ={-1,-1,-1,-1,-1}
 
Bool_t isMC =kFALSE
 
Int_t typeb =kExpo
 
Int_t types =kGaus
 
Int_t optPartAntiPart =kBoth
 
Int_t factor4refl =0
 
Float_t massRangeForCounting =0.05
 
Float_t nSigmaRangeForCounting =3.0
 
TH2FhPtMass =0x0
 
TString suffix ="StdPid"
 

Enumeration Type Documentation

anonymous enum
Enumerator
kD0toKpi 
kDplusKpipi 

Definition at line 35 of file ReadDvsMultiplicity.C.

anonymous enum
Enumerator
kBoth 
kParticleOnly 
kAntiParticleOnly 

Definition at line 36 of file ReadDvsMultiplicity.C.

anonymous enum
Enumerator
kExpo 
kLinear 
kPol2 

Definition at line 37 of file ReadDvsMultiplicity.C.

anonymous enum
Enumerator
kGaus 
kDoubleGaus 

Definition at line 38 of file ReadDvsMultiplicity.C.

anonymous enum
Enumerator
kCorr 
kUnCorr 
kNoPid 

Definition at line 39 of file ReadDvsMultiplicity.C.

Function Documentation

Bool_t CheckNtrVsZvtx ( TH2F **  hNtrZvtx,
TH2F **  hNtrZvtxCorr,
Int_t  nFiles 
)

Definition at line 800 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Bool_t LoadD0toKpiHistos ( TObjArray listFiles,
TH3F **  hPtMassMult,
TH2F **  hNtrZvtx,
TH2F **  hNtrZvtxCorr,
AliNormalizationCounter counter,
const char *  CutsType,
Int_t  Option 
)

Definition at line 546 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Bool_t LoadDplusHistos ( TObjArray listFiles,
TH3F **  hPtMassMult,
TH2F **  hNtrZvtx,
TH2F **  hNtrZvtxCorr,
const char *  CutsType,
Int_t  Option 
)

Definition at line 670 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

void ReadDvsMultiplicity ( Int_t  analysisType = kD0toKpi,
TString  fileNameb = "AnalysisResults.root",
TString  fileNamec = "",
TString  fileNamed = "",
TString  fileNamee = "",
const char *  CutsType = "",
Int_t  Option = kCorr 
)

Definition at line 78 of file ReadDvsMultiplicity.C.

TH1F * RebinHisto ( TH1F *  hOrig,
Int_t  reb,
Int_t  firstUse = -1 
)

Definition at line 760 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Variable Documentation

Int_t factor4refl =0

Definition at line 64 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Int_t firstUsedBin[nPtBins] ={-1,-1,-1,-1,-1}

Definition at line 58 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Bool_t fixPeakSigma = kTRUE

Definition at line 51 of file ReadDvsMultiplicity.C.

Referenced by LoadD0toKpiHistos(), LoadDplusHistos(), and ReadDvsMultiplicity().

TH2F* hPtMass =0x0

Definition at line 67 of file ReadDvsMultiplicity.C.

Float_t massRangeForCounting =0.05

Definition at line 65 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Double_t multlims[nMultbins+1] ={1.,9.,14.,20.,31.,50.,81.,100.}

Definition at line 54 of file ReadDvsMultiplicity.C.

Referenced by CheckNtrVsZvtx(), and ReadDvsMultiplicity().

const Int_t nMultbins =7

Definition at line 53 of file ReadDvsMultiplicity.C.

Referenced by CheckNtrVsZvtx(), and ReadDvsMultiplicity().

const Int_t nPtBins =5

Definition at line 47 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Float_t nSigmaRangeForCounting =3.0

Definition at line 66 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Int_t optPartAntiPart =kBoth

Definition at line 63 of file ReadDvsMultiplicity.C.

Referenced by LoadD0toKpiHistos(), LoadDplusHistos(), and ReadDvsMultiplicity().

Double_t ptlims[nPtBins+1] ={1.,2.,4.,8.,12.,24.}

Definition at line 48 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Int_t rebin[nPtBins] ={4,4,6,8,8}

Definition at line 49 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

Double_t sigmapt[nPtBins] ={ 0.008, 0.014, 0.019, 0.027, 0.033 }

Definition at line 50 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().

TString suffix ="StdPid"

Definition at line 68 of file ReadDvsMultiplicity.C.

Int_t typeb =kExpo

Definition at line 61 of file ReadDvsMultiplicity.C.

Referenced by LoadD0toKpiHistos(), LoadDplusHistos(), and ReadDvsMultiplicity().

Int_t types =kGaus

Definition at line 62 of file ReadDvsMultiplicity.C.

Referenced by ReadDvsMultiplicity().