AliPhysics  master (3d17d9d)
ComputeEfficiencyFromCombinHF.C File Reference
#include <TH3F.h>
#include <TH1D.h>
#include <TH2D.h>
#include <TPaveStats.h>
#include <TMath.h>
#include <TFile.h>
#include <TF1.h>
#include <TCanvas.h>
#include <TStyle.h>
#include <TLegend.h>
#include <TLatex.h>
#include <TSystem.h>
#include <TProfile.h>
#include <TLegendEntry.h>
Include dependency graph for ComputeEfficiencyFromCombinHF.C:

Go to the source code of this file.

Enumerations

enum  EPtWei {
  kFONLL5overLHC13d3, kFONLL7overLHC10f7a, kFONLL7overLHC10f6a, kFLAToverLHC10f7a,
  kNoWei
}
 
enum  EPtBWei { kFONLL5overLHC19c3, kNoPtBWei }
 

Functions

void ComputeAndWriteEff (TList *l, TString dCase, TString var3="Mult")
 
Bool_t ReadConfig (TString configName)
 
void ComputeEfficiencyFromCombinHF ()
 

Variables

TString configFileName ="configfile4lowptanalysis.txt"
 
TString fileNameMC =""
 
TString suffix =""
 
TString fileNameToy =""
 
const Int_t maxPtBins =30
 
Int_t nPtBins =8
 
Double_t binLims [maxPtBins+1] ={0.,1.,2.,3.,4.,5.,6.,8.,12.}
 
Int_t ptcol [maxPtBins] ={1,kRed+1,kRed,kGreen+2,kCyan,4,kOrange+2,kMagenta,kMagenta+2,kBlue+1,kGray,kGray+2,kGreen,kYellow+7}
 
Int_t ptWeight =kNoWei
 
Int_t ptBWeight =kFONLL5overLHC19c3
 
Bool_t useMultWeight =kTRUE
 
Double_t maxMult =-1
 
TH1F * hAccToyFine =0x0
 
TH1F * hAccToy =0x0
 
TF1 * funcPtWeight =0x0
 
TF1 * funcPtBWeight =0x0
 
TH1F ** hWeight =new TH1F*[3]
 
Int_t wcol [3] ={kRed+1,kGreen+1,4}
 
Int_t wmark [3] ={22,23,26}
 

Enumeration Type Documentation

enum EPtBWei
Enumerator
kFONLL5overLHC19c3 
kNoPtBWei 

Definition at line 19 of file ComputeEfficiencyFromCombinHF.C.

enum EPtWei
Enumerator
kFONLL5overLHC13d3 
kFONLL7overLHC10f7a 
kFONLL7overLHC10f6a 
kFLAToverLHC10f7a 
kNoWei 

Definition at line 18 of file ComputeEfficiencyFromCombinHF.C.

Function Documentation

void ComputeAndWriteEff ( TList l,
TString  dCase,
TString  var3 = "Mult" 
)

Definition at line 378 of file ComputeEfficiencyFromCombinHF.C.

Referenced by ComputeEfficiencyFromCombinHF().

void ComputeEfficiencyFromCombinHF ( )

Definition at line 48 of file ComputeEfficiencyFromCombinHF.C.

Bool_t ReadConfig ( TString  configName)

Definition at line 1153 of file ComputeEfficiencyFromCombinHF.C.

Referenced by ComputeEfficiencyFromCombinHF().

Variable Documentation

Double_t binLims[maxPtBins+1] ={0.,1.,2.,3.,4.,5.,6.,8.,12.}
TString configFileName ="configfile4lowptanalysis.txt"
TString fileNameMC =""

Definition at line 22 of file ComputeEfficiencyFromCombinHF.C.

TString fileNameToy =""

Definition at line 24 of file ComputeEfficiencyFromCombinHF.C.

TF1* funcPtBWeight =0x0
TF1* funcPtWeight =0x0
TH1F* hAccToy =0x0
TH1F* hAccToyFine =0x0
TH1F** hWeight =new TH1F*[3]
const Int_t maxPtBins =30

Definition at line 26 of file ComputeEfficiencyFromCombinHF.C.

Int_t nPtBins =8

Definition at line 27 of file ComputeEfficiencyFromCombinHF.C.

Referenced by AddTaskDStarCharmFraction(), AliAnalysisTaskPWGJEQA::AllocateClusterHistograms(), AliAnalysisTaskEmcalVsPhos::AllocateClustersInJetsHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateDijetImbalanceHistograms(), AliAnalysisTaskPWGJEQA::AllocateEventQAHistograms(), AliAnalysisTaskEmcalJetPerformance::AllocateParticleCompositionHistograms(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHX(), AliAnalysisTaskDmesonJets::OutputHandlerTHnSparse::BuildOutputObject(), AliAnalysisTaskDmesonJetsSub::OutputHandlerTHnSparse::BuildOutputObject(), ComputeAndWriteEff(), ComputeDmesonYield(), ComputeEfficiencyFromCombinHF(), AliRDHFCutsDstoKKpi::GetK0starMassCut(), ReadConfig(), AliRDHFCutsB0toDStarPi::SetCircRadius(), AliRDHFCutsB0toDPi::SetCircRadius(), AliRDHFCutsBPlustoD0Pi::SetCircRadius(), AliRDHFCutsD0toKpi::Setd0MeasMinusExpCut(), AliRDHFCuts::SetGlobalIndex(), AliRDHFCutsD0toKpi::SetImpParDCut(), AliRDHFCutsDplustoKpipi::SetScaleNormDLxyBypOverPt(), AliRDHFCutsD0toKpi::SetUseSpecialCuts(), AliAnalysisTaskMuonQA::UserCreateOutputObjects(), AliAnalysisTaskCombinHF::UserCreateOutputObjects(), AliAnalysisTaskJetUEStudies::UserCreateOutputObjects(), AliAnalysisTaskIDFragmentationFunction::UserCreateOutputObjects(), AliAnalysisTaskPID::UserCreateOutputObjects(), AliAnalysisTaskMuonPerformance::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), AliEmcalTriggerSimQATask::UserCreateOutputObjects(), AliAnalysisTaskRhoBaseDev::UserCreateOutputObjects(), and AliAnalysisTaskRhoTransDev::UserCreateOutputObjects().

Definition at line 32 of file ComputeEfficiencyFromCombinHF.C.

Referenced by ComputeEfficiencyFromCombinHF().

Int_t ptcol[maxPtBins] ={1,kRed+1,kRed,kGreen+2,kCyan,4,kOrange+2,kMagenta,kMagenta+2,kBlue+1,kGray,kGray+2,kGreen,kYellow+7}

Definition at line 29 of file ComputeEfficiencyFromCombinHF.C.

Referenced by ComputeAndWriteEff().

TString suffix =""

Definition at line 23 of file ComputeEfficiencyFromCombinHF.C.

Referenced by AliAnalysisTaskJetUEStudies::AddAltRho(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHPerformance::AddConfigurationFile(), PWGJE::EMCALJetTasks::AliAnalysisTaskJetDynamicalGrooming::AddConfigurationFile(), AddTaskBasicHFQA(), AddTaskCalorimeterQA(), AddTaskCFVertexingHF(), AddTaskCFVertexingHF3ProngLc(), AddTaskCFVertexingHFCascade(), AddTaskCFVertexingHFCutVarFDSub(), AddTaskCFVertexingHFLctoV0bachelorTMVA(), AddTaskCFVertexingHFLctoV0bachelorTMVA_PbPb(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::AddTaskChargedParticlesRef(), AddTaskCharmHadronvnTMVA(), AddTaskCheckEvSel(), AddTaskDmesonMCPerform(), AddTaskDStarCharmFraction(), AddTaskEMCALAlig(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClusterMatched::AddTaskEmcalClusterMatched(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::AddTaskEmcalClustersRef(), AliAnalysisTaskEmcalDijetImbalance::AddTaskEmcalDijetImbalance(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetCDF_NS::AddTaskEmcalJetCDF(), AliAnalysisTaskEmcalJetCorrection::AddTaskEmcalJetCorrection(), AliAnalysisTaskEmcalJetPerformance::AddTaskEmcalJetPerformance(), AliAnalysisTaskEmcalJetQA::AddTaskEmcalJetQA(), AliAnalysisTaskEmcalJetQA::AddTaskEmcalJetQA_QAtrain(), AliAnalysisTaskEmcalJetSample::AddTaskEmcalJetSample(), AliAnalysisTaskEmcalJetSpectraQA::AddTaskEmcalJetSpectraQA(), AliAnalysisTaskEmcalJetTreeBase::AddTaskEmcalJetTree(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalRecalcPatchesRef::AddTaskEmcalRecalcPatches(), EmcalTriggerJets::AliAnalysisTaskEmcalTriggerCorrelationMC::AddTaskEmcalTriggerCorrelationMC(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::AddTaskEmcalTriggerMultiplicity(), AliEmcalTriggerQATask::AddTaskEmcalTriggerQA(), AliEmcalTriggerQATask::AddTaskEmcalTriggerQA_QAtrain(), PWGJE::EMCALJetTasks::Test::AliAnalysisTaskEmcalTriggerSelectionTest::AddTaskEmcalTriggerSelectionTest(), AliAnalysisTaskEventExtractor::AddTaskEventExtractor(), AliAnalysisTaskGenerateThermalBackgroundMC::AddTaskGenerateThermalBackgroundMC(), AddTaskHFQA(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetEnergyScale::AddTaskJetEnergyScale(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetEnergySpectrum::AddTaskJetEnergySpectrum(), AliAnalysisTaskJetExtractor::AddTaskJetExtractor(), AliAnalysisTaskJetUEStudies::AddTaskJetUEStudies(), AddTaskMuonFakes(), AddTaskMUONTrackingEfficiency(), AddTaskPi0IMGammaCorrQA(), AliAnalysisTaskPWGJEQA::AddTaskPWGJEQA(), PWGJE::EMCALJetTasks::AliAnalysisTaskPythiaBranchEA::AddTaskPythiaBranchEA(), AliAnalysisTaskRhoBaseDev::AddTaskRhoBaseDev(), AliAnalysisTaskRhoDev::AddTaskRhoDev(), AliAnalysisTaskRho::AddTaskRhoNew(), AliAnalysisTaskRhoSparse::AddTaskRhoSparse(), AliAnalysisTaskRhoTransDev::AddTaskRhoTransDev(), AddTaskSEXicTopKpi(), AddTaskSignificance(), AddTaskTriggerRates(), CombineRaaFeedDownUncertainties(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClusterMatched::EnableSumw2(), AliNormalizationCounter::GetNEventsForNorm(), AliNormalizationCounter::GetNEventsForNormSpheroOnly(), AliAnalysisTaskRhoBaseDev::GetOutRhoScaledName(), AliNormalizationCounter::GetSum(), AliEmcalTriggerQATask::GetTriggerQA(), AliJetFlowTools::ProtectHeap(), AliJetFlowTools::RebinTH1D(), AliEmcalCorrectionTask::RemoveClusterContainer(), AliJetFlowTools::RemoveSign(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::RetrieveAndInitializeJESCorrectionHist(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalRecalcPatchesRef::SetCentralityRange(), AliJetFlowTools::SetDebug(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::SetEmcalTrackSelection(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetEnergySpectrum::SetEnergyScaleShfit(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetEnergyScale::SetEnergyScaleShift(), AliAnalysisTaskRhoDev::SetExclJetOverlap(), AliAnalysisTaskRho::SetExcludeLeadJets(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::SetExclusiveMinBias(), AliEmcalJetTask::SetFillJetConsituents(), AliAnalysisTaskEmcalJetSpectraQA::SetIsEmbedded(), AliAnalysisTaskEmcalJetQA::SetIsEmbedded(), AliAnalysisTaskDmesonJets::SetJetArea(), AliAnalysisTaskDmesonJetsSub::SetJetArea(), EmcalTriggerJets::AliAnalysisTaskEmcalTriggerCorrelationMC::SetNameTriggerDecisionContainer(), PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalJetHCorrelations::SetNoMixedEventJESCorrection(), AliEmcalTrackingQATask::SetQOverPtShift(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::SetRequireTOFBunchCrossing(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::SetUseExclusiveTriggers(), AliAnalysisTaskMuonTrackingEff::Terminate(), AliJetFlowTools::UnfoldWrapper(), AliAnalysisTaskQA::UserCreateOutputObjects(), AliAnalysisTaskDmesonJetsDetectorResponse::~AliAnalysisTaskDmesonJetsDetectorResponse(), AliAnalysisTaskEmcalJetTreeBase::~AliAnalysisTaskEmcalJetTreeBase(), AliAnalysisTaskRhoSparse::~AliAnalysisTaskRhoSparse(), and AliAnalysisTaskRhoTransDev::~AliAnalysisTaskRhoTransDev().

Bool_t useMultWeight =kTRUE

Definition at line 33 of file ComputeEfficiencyFromCombinHF.C.

Referenced by ComputeAndWriteEff().

Int_t wcol[3] ={kRed+1,kGreen+1,4}
Int_t wmark[3] ={22,23,26}

Definition at line 43 of file ComputeEfficiencyFromCombinHF.C.

Referenced by ComputeAndWriteEff().