AliPhysics  695988a (695988a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AverageDmesonRaa.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 AverageDmesonRaa.C:

Go to the source code of this file.

Enumerations

enum  AverageOption {
  kRelativeStatUnc =0, kRelativeStatUncorrWoPidSyst, kRelativeStatUncorrWPidSyst, kRelativeStatGlobalSyst,
  kAbsoluteStatUnc
}
 
enum  centrality {
  kpp, k07half, kpPb0100, k010,
  k1020, k020, k2040, k2030,
  k3040, k4050, k3050, k5060,
  k4060, k6080, k4080, k5080,
  k80100, kpPb020, kpPb2040, kpPb4060,
  kpPb60100, kpp7, kpp276, k010,
  k020, k2040, k4060, k6080,
  k4080, k80100, kpp7, kpp276,
  k07half, kpPb0100, k010, k1020,
  k020, k2040, k2030, k3040,
  k4050, k3050, k5060, k4060,
  k6080, k4080, k5080, k80100,
  kpPb020, kpPb2040, kpPb4060, kpPb60100,
  kpp, k07half, kpPb0100, k010,
  k1020, k020, k2040, k2030,
  k3040, k4050, k3050, k5060,
  k4060, k6080, k4080, k5080,
  k80100, kpPb020, kpPb2040, kpPb4060,
  kpPb60100
}
 
enum  centestimator {
  kV0M, kV0A, kZNA, kCL1,
  kV0M, kV0A, kZNA, kCL1,
  kV0M, kV0A, kZNA, kCL1
}
 

Functions

Int_t FindGraphBin (TGraphAsymmErrors *gr, Double_t pt)
 
void FindGraphRelativeUnc (TGraphAsymmErrors *gr, Double_t pt, Double_t &uncLow, Double_t &uncHigh)
 
Double_t GetWeight (Int_t averageoption, Double_t pt, TH1D *hRaa, Double_t raaSystLow, Double_t raaSystHigh, Double_t ppSystRawYieldCutVar, Double_t ppSystRawYieldCutVarPid, Double_t ABSystRawYieldCutVar, Double_t ABSystRawYieldCutVarPid)
 
void AverageDmesonRaa (const char *fD0Raa="", const char *fD0ppRef="", const char *fDplusRaa="", const char *fDplusppRef="", const char *fDstarRaa="", const char *fDstarppRef="", const char *outfile="", Int_t averageOption=kRelativeStatUnc, Int_t cc=kpPb0100, Int_t ccestimator=kV0M, Bool_t isReadAllPPUnc=false, Bool_t isPPRefExtrapD0=false, Bool_t isPPRefExtrapDplus=false, Bool_t isPPRefExtrapDstar=false)
 

Variables

const Int_t nbins =7
 
Double_t ptbinlimits [nbins+1] ={1.,2.,4.,6.,8.,12.,16.,24.}
 
Bool_t isDebug =true
 

Enumeration Type Documentation

Enumerator
kRelativeStatUnc 
kRelativeStatUncorrWoPidSyst 
kRelativeStatUncorrWPidSyst 
kRelativeStatGlobalSyst 
kAbsoluteStatUnc 

Definition at line 69 of file AverageDmesonRaa.C.

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

Definition at line 72 of file AverageDmesonRaa.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 
kpp7 
kpp276 
k010 
k020 
k2040 
k4060 
k6080 
k4080 
k80100 
kpp7 
kpp276 
k07half 
kpPb0100 
k010 
k1020 
k020 
k2040 
k2030 
k3040 
k4050 
k3050 
k5060 
k4060 
k6080 
k4080 
k5080 
k80100 
kpPb020 
kpPb2040 
kpPb4060 
kpPb60100 
kpp 
k07half 
kpPb0100 
k010 
k1020 
k020 
k2040 
k2030 
k3040 
k4050 
k3050 
k5060 
k4060 
k6080 
k4080 
k5080 
k80100 
kpPb020 
kpPb2040 
kpPb4060 
kpPb60100 

Definition at line 71 of file AverageDmesonRaa.C.

Function Documentation

void AverageDmesonRaa ( const char *  fD0Raa = "",
const char *  fD0ppRef = "",
const char *  fDplusRaa = "",
const char *  fDplusppRef = "",
const char *  fDstarRaa = "",
const char *  fDstarppRef = "",
const char *  outfile = "",
Int_t  averageOption = kRelativeStatUnc,
Int_t  cc = kpPb0100,
Int_t  ccestimator = kV0M,
Bool_t  isReadAllPPUnc = false,
Bool_t  isPPRefExtrapD0 = false,
Bool_t  isPPRefExtrapDplus = false,
Bool_t  isPPRefExtrapDstar = false 
)

Definition at line 150 of file AverageDmesonRaa.C.

Int_t FindGraphBin ( TGraphAsymmErrors *  gr,
Double_t  pt 
)

Definition at line 75 of file AverageDmesonRaa.C.

void FindGraphRelativeUnc ( TGraphAsymmErrors *  gr,
Double_t  pt,
Double_t &  uncLow,
Double_t &  uncHigh 
)

Definition at line 90 of file AverageDmesonRaa.C.

Referenced by AverageDmesonRaa().

Double_t GetWeight ( Int_t  averageoption,
Double_t  pt,
TH1D *  hRaa,
Double_t  raaSystLow,
Double_t  raaSystHigh,
Double_t  ppSystRawYieldCutVar,
Double_t  ppSystRawYieldCutVarPid,
Double_t  ABSystRawYieldCutVar,
Double_t  ABSystRawYieldCutVarPid 
)

Definition at line 113 of file AverageDmesonRaa.C.

Referenced by AverageDmesonRaa().

Variable Documentation

Bool_t isDebug =true

Definition at line 65 of file AverageDmesonRaa.C.

Referenced by AverageDmesonRaa().

const Int_t nbins =7

Definition at line 63 of file AverageDmesonRaa.C.

Referenced by AliEmcalJetByJetCorrection::AliEmcalJetByJetCorrection(), AliEmcalTrackingQATask::AllocateDetectorLevelTHnSparse(), AliEmcalTrackingQATask::AllocateGeneratorLevelTHnSparse(), AliEmcalTrackingQATask::AllocateMatchedParticlesTHnSparse(), AliJetResponseMaker::AllocateTHnSparse(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), AverageDmesonRaa(), AliFlowAnalysisCRC::BookEverythingForEbEFlow(), AliFlowAnalysisCRC::BookEverythingForQVec(), AliAnalysisTaskDmesonJets::AnalysisEngine::BuildHnSparse(), AliHFMassFitter::CheckRangeFit(), AliHFMassFitterVAR::CheckRangeFit(), ClassImp(), CombineFeedDownMCSubtractionMethodsUncertainties(), CombineRaaFeedDownUncertainties(), AliAnalysisTaskSEDStarSpectra::CreateImpactParameterHistos(), AliAnalysisTaskSEDplus::CreateImpactParameterHistos(), AliAnalysisTaskSED0MassCutVarFDSub::CreateImpactParameterHistos(), AliAnalysisTaskSED0Mass::CreateImpactParameterHistos(), AliAnalysisTaskSEDvsMultiplicity::CreateImpactParameterHistos(), AliAnalysisTaskSEDvsEventShapes::CreateImpactParameterHistos(), AliAnalysisTaskSEDplus::CreateLikeSignHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::CreateLinearBinning(), EMCalTriggerPtAnalysis::AliEMCalTriggerBinningFactory::CreateLinearBinning(), AliAnalysisTaskParticleInJet::CreateLinearBinning(), THistManager::CreateTH1(), THistManager::CreateTHnSparse(), AliAnalysisTaskSEDplus::CreateTrackVarHistos(), CumulativeHist(), AliAnalysisTaskFlavourJetCorrelations::DefineHistoForAnalysis(), AliHFSystErr::DrawErrors(), DrawFpromptVsRaaElossHypo(), DrawFpromptVsRaaElossHypoCombined(), AliHFPtSpectrum::FindTH2YBin(), AliAnaPi0EbE::GetCreateOutputObjects(), AliAnaPhoton::GetCreateOutputObjects(), AliAnaElectron::GetCreateOutputObjects(), AliPWGHistoTools::GetdNdmtFromdNdpt(), AliPWGHistoTools::GetdNdptFromdNdmt(), HFPtSpectrumRaa(), AliAnalysisTaskSEDplus::LSAnalysis(), AliAnalysisTaskEmcalJetTriggerMatcher::NewTHnSparseDJetTrigger(), AliAnalysisTaskEmcalJetPatchTriggerQA::NewTHnSparseF(), AliAnalysisTaskEmcalJetHMEC::NewTHnSparseF(), AliAnalysisTaskEmcalJetHadEPpid::NewTHnSparseF(), AliAnalysisTaskEmcalJetHadEPpid::NewTHnSparseFCorr(), AliAnalysisTaskEmcalJetHadEPpid::NewTHnSparseFPID(), AliAnalysisTaskFlowStrange::RebinDecayVn(), AliAnalysisTaskFlowStrangee::RebinDecayVn(), TLinearBinning::Set(), AliAnalysisTaskSEDplus::SetBinWidth(), AliAnalysisTaskEMCALTriggerQA::SetClusterEHistogramsRange(), AliAnalysisTaskEMCALTriggerQA::SetClusterEtaHistogramsRange(), AliAnalysisTaskEMCALTriggerQA::SetClusterPhiHistogramsRange(), AliAnalysisTaskEMCALTimeCalib::SetEnergyHistoHG(), AliAnalysisTaskEMCALTimeCalib::SetEnergyHistoLG(), AliAnalysisTaskEMCALTimeCalib::SetFineT0Histo(), AliAnalysisTaskEmcal::SetHistoBins(), AliAnalysisTaskSEDvsEventShapes::SetImpactParameterBinning(), AliAnalysisTaskSEDplus::SetImpactParameterBinning(), AliAnalysisTaskSEDvsMultiplicity::SetImpactParameterBinning(), AliAnalysisTaskSESignificance::SetNBins(), AliAnalysisTaskSEDvsEventShapes::SetNMassBins(), AliAnalysisTaskSEDvsMultiplicity::SetNMassBins(), AliAnalysisTaskEMCALTimeCalib::SetPassTimeHisto(), AliAnalysisTaskSECharmFraction::SetPtBins(), AliFlowAnalysisCRC::SetPtDiffNBins(), AliAnalysisTaskEMCALTimeCalib::SetRawTimeHisto(), AliAnalysisTaskEMCALTriggerQA::SetSTUFEERatioHistogramsRange(), AliAnalysisTaskEMCALTriggerQA::SetSTUTotalSignalHistogramsRange(), AliAnalysisTaskEMCALTriggerQA::SetSTUTRURatioHistogramsRange(), AliAnalysisTaskEMCALTriggerQA::SetTRUTotalSignalHistogramsRange(), AliAnalysisTaskEMCALTriggerQA::SetV0TotalSignalHistogramsRange(), showMultiDimVector(), SmearEffHisto(), SubtractBkg(), AliAnalysisTaskPi0Hadron::UserCreateOutputObjects(), AliAnalysisTaskDcalDijetPerf::UserCreateOutputObjects(), AliJetEmbeddingTask::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetMassStructure::UserCreateOutputObjects(), AliAnalysisTaskEmcalTriggerPatchJetMatch::UserCreateOutputObjects(), AliAnalysisTaskEmcalTriggerPatchClusterMatch::UserCreateOutputObjects(), AliAnalysisTaskFullppJet::UserCreateOutputObjects(), AliAnalysisTaskMuonPerformance::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskSEDplus::UserCreateOutputObjects(), AliAnalysisTaskHJetSpectra::UserCreateOutputObjects(), and VertexResolutionsFromCmpHF().

Double_t ptbinlimits[nbins+1] ={1.,2.,4.,6.,8.,12.,16.,24.}

Definition at line 64 of file AverageDmesonRaa.C.

Referenced by AverageDmesonRaa().