AliPhysics  59e0e03 (59e0e03)
HFPtSpectrumRaa.C File Reference
#include "TFile.h"
#include "TH1.h"
#include "TH1D.h"
#include "TH2.h"
#include "TH2D.h"
#include "TH3.h"
#include "TH3D.h"
#include "TNtuple.h"
#include "TGraphAsymmErrors.h"
#include "TMath.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TROOT.h"
#include "TStyle.h"
#include "TLine.h"
#include "TLatex.h"
#include "AliHFSystErr.h"
#include <Riostream.h>
Include dependency graph for HFPtSpectrumRaa.C:

Go to the source code of this file.

Enumerations

enum  centrality {
  kpp, k07half, kpPb0100, k010,
  k1020, k020, k2040, k2030,
  k3040, k4050, k3050, k5060,
  k4060, k6080, k4080, k5080,
  k80100, kpPb020, kpPb2040, kpPb4060,
  kpPb60100, kpp8, kpp7, kpp276,
  k010, k020, k2040, k4060,
  k6080, k4080, k80100, kpp8,
  kpp7, kpp5, kpp276, k07half,
  kpPb0100, k010, k1020, k020,
  k1030, k2040, k2030, k3040,
  k4050, k3050, k5060, k4060,
  k6080, k4080, k5080, k80100,
  kpPb010, kpPb020, kpPb2040, kpPb4060,
  kpPb60100, kpp, k07half, kpPb0100,
  k010, k1020, k020, k1030,
  k2040, k2030, k3040, k4050,
  k3050, k5060, k4060, k6080,
  k4080, k5080, k80100, kpPb010,
  kpPb020, kpPb2040, kpPb4060, kpPb60100
}
 
enum  centestimator {
  kV0M, kV0A, kZNA, kCL1,
  kV0M, kV0A, kZNA, kCL1,
  kV0M, kV0A, kZNA, kCL1
}
 
enum  energy {
  k276, k5dot023, k55, k276,
  k5dot023, k55
}
 
enum  BFDSubtrMethod {
  knone, kfc, kNb, kfc,
  kNb
}
 
enum  RaavsEP {
  kPhiIntegrated, kInPlane, kOutOfPlane, kPhiIntegrated,
  kInPlane, kOutOfPlane
}
 
enum  rapidity {
  kdefault, k08to04, k07to04, k04to01,
  k01to01, k01to04, k04to07, k04to08,
  k01to05, kdefault, k08to04, k07to04,
  k04to01, k01to01, k01to04, k04to07,
  k04to08, k01to05
}
 
enum  particularity {
  kTopological, kLowPt, kPP7TeVPass4, kBDT,
  kTopological, kLowPt, kPP7TeVPass4
}
 

Functions

Bool_t PbPbDataSyst (AliHFSystErr *syst, Double_t pt, Int_t cc, Double_t &dataSystUp, Double_t &dataSystDown)
 
Double_t ExtractFDSyst (Double_t total, Double_t fd)
 
Int_t FindGraphBin (TGraphAsymmErrors *gr, Double_t pt)
 
void HFPtSpectrumRaa (const char *ppfile="HFPtSpectrum_D0Kpi_method2_rebinnedth_230311_newsigma.root", const char *ABfile="HFPtSpectrum_D0Kpi_PbPbcuts_method2_rebinnedth_230311_newsigma.root", const char *outfile="HFPtSpectrumRaa.root", Int_t decay=1, Double_t sigmaABCINT1B=54.e9, Int_t fdMethod=kNb, Int_t cc=kpp, Int_t Energy=k276, Double_t MinHypo=1./3., Double_t MaxHypo=3.0, Double_t MaxRb=6.0, Bool_t isRbHypo=false, Double_t CentralHypo=1.0, Int_t ccestimator=kV0M, Bool_t isUseTaaForRaa=true, const char *shadRbcFile="", Int_t nSigmaShad=3.0, Int_t isRaavsEP=kPhiIntegrated, Bool_t isScaledAndExtrapRef=kFALSE, Int_t rapiditySlice=kdefault, Int_t analysisSpeciality=kTopological)
 

Variables

Bool_t printout = false
 
Double_t ptprintout = 1.5
 
Double_t NormPPUnc = 0.035
 
Double_t NormABUnc = 0.037
 
Bool_t elossFDQuadSum = true
 

Enumeration Type Documentation

Enumerator
knone 
kfc 
kNb 
kfc 
kNb 

Definition at line 56 of file HFPtSpectrumRaa.C.

Enumerator
kV0M 
kV0A 
kZNA 
kCL1 
kV0M 
kV0A 
kZNA 
kCL1 
kV0M 
kV0A 
kZNA 
kCL1 

Definition at line 54 of file HFPtSpectrumRaa.C.

enum centrality
Enumerator
kpp 
k07half 
kpPb0100 
k010 
k1020 
k020 
k2040 
k2030 
k3040 
k4050 
k3050 
k5060 
k4060 
k6080 
k4080 
k5080 
k80100 
kpPb020 
kpPb2040 
kpPb4060 
kpPb60100 
kpp8 
kpp7 
kpp276 
k010 
k020 
k2040 
k4060 
k6080 
k4080 
k80100 
kpp8 
kpp7 
kpp5 
kpp276 
k07half 
kpPb0100 
k010 
k1020 
k020 
k1030 
k2040 
k2030 
k3040 
k4050 
k3050 
k5060 
k4060 
k6080 
k4080 
k5080 
k80100 
kpPb010 
kpPb020 
kpPb2040 
kpPb4060 
kpPb60100 
kpp 
k07half 
kpPb0100 
k010 
k1020 
k020 
k1030 
k2040 
k2030 
k3040 
k4050 
k3050 
k5060 
k4060 
k6080 
k4080 
k5080 
k80100 
kpPb010 
kpPb020 
kpPb2040 
kpPb4060 
kpPb60100 

Definition at line 53 of file HFPtSpectrumRaa.C.

enum energy
Enumerator
k276 
k5dot023 
k55 
k276 
k5dot023 
k55 

Definition at line 55 of file HFPtSpectrumRaa.C.

Enumerator
kTopological 
kLowPt 
kPP7TeVPass4 
kBDT 
kTopological 
kLowPt 
kPP7TeVPass4 

Definition at line 59 of file HFPtSpectrumRaa.C.

enum RaavsEP
Enumerator
kPhiIntegrated 
kInPlane 
kOutOfPlane 
kPhiIntegrated 
kInPlane 
kOutOfPlane 

Definition at line 57 of file HFPtSpectrumRaa.C.

enum rapidity
Enumerator
kdefault 
k08to04 
k07to04 
k04to01 
k01to01 
k01to04 
k04to07 
k04to08 
k01to05 
kdefault 
k08to04 
k07to04 
k04to01 
k01to01 
k01to04 
k04to07 
k04to08 
k01to05 

Definition at line 58 of file HFPtSpectrumRaa.C.

Function Documentation

Double_t ExtractFDSyst ( Double_t  total,
Double_t  fd 
)

Definition at line 72 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

Int_t FindGraphBin ( TGraphAsymmErrors gr,
Double_t  pt 
)

Definition at line 79 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

void HFPtSpectrumRaa ( const char *  ppfile = "HFPtSpectrum_D0Kpi_method2_rebinnedth_230311_newsigma.root",
const char *  ABfile = "HFPtSpectrum_D0Kpi_PbPbcuts_method2_rebinnedth_230311_newsigma.root",
const char *  outfile = "HFPtSpectrumRaa.root",
Int_t  decay = 1,
Double_t  sigmaABCINT1B = 54.e9,
Int_t  fdMethod = kNb,
Int_t  cc = kpp,
Int_t  Energy = k276,
Double_t  MinHypo = 1./3.,
Double_t  MaxHypo = 3.0,
Double_t  MaxRb = 6.0,
Bool_t  isRbHypo = false,
Double_t  CentralHypo = 1.0,
Int_t  ccestimator = kV0M,
Bool_t  isUseTaaForRaa = true,
const char *  shadRbcFile = "",
Int_t  nSigmaShad = 3.0,
Int_t  isRaavsEP = kPhiIntegrated,
Bool_t  isScaledAndExtrapRef = kFALSE,
Int_t  rapiditySlice = kdefault,
Int_t  analysisSpeciality = kTopological 
)

Definition at line 101 of file HFPtSpectrumRaa.C.

Bool_t PbPbDataSyst ( AliHFSystErr syst,
Double_t  pt,
Int_t  cc,
Double_t dataSystUp,
Double_t dataSystDown 
)

Definition at line 1356 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

Variable Documentation

Bool_t elossFDQuadSum = true

Definition at line 66 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

Double_t NormABUnc = 0.037

Definition at line 65 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

Double_t NormPPUnc = 0.035

Definition at line 64 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

Bool_t printout = false

Definition at line 62 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().

Double_t ptprintout = 1.5

Definition at line 63 of file HFPtSpectrumRaa.C.

Referenced by HFPtSpectrumRaa().