![]() |
AliPhysics
c0d7b22 (c0d7b22)
|
Plot N productions comparison analysis of QA histograms from EMCal PWG-GA wagon. More...
Go to the source code of this file.
Functions | |
void | DrawProductionComparison (TString listName="Pi0IM_GammaTrackCorr_EMCAL_default", TString fileName="AnalysisResults.root") |
void | GetFileAndList (TString fileName, TString listName) |
TObject * | GetHisto (TString histoName, Int_t iprod) |
Variables | |
const Int_t | nProd = 3 |
TString | prod [] = {"AOD142","AOD115","ESD"} |
total number of productions More... | |
TList * | list [nProd] |
productions directory name More... | |
TFile * | file [nProd] |
TString | histoTag = "" |
Int_t | color [] ={kBlack,kRed,kBlue,kOrange+1,kYellow+1,kGreen+2,kCyan+1,kViolet,kMagenta+2,kGray} |
Float_t | nEvents [nProd] = 0 |
Plot N productions comparison analysis of QA histograms from EMCal PWG-GA wagon.
Macro to plot comparison of different distributions (spectra, correlations) produced in QA trains but different data Based on the plots provided by DrawAnaCaloTrackQA.C
To execute: root -q -b -l DrawProductionComparison.C'("Pi0IM_GammaTrackCorr_EMCAL_default","AnalysisResults.root")' The input files must be placed in different directoried, each one defined in the string array "prod" TString prod[] = {"AOD142","AOD115","ESD"}; that has to be modified inside the macro. The number of productions has to be specified const Int_t nProd = 3; There is no limitation to the amount of productions
Definition in file DrawProductionComparison.C.
void DrawProductionComparison | ( | TString | listName = "Pi0IM_GammaTrackCorr_EMCAL_default" , |
TString | fileName = "AnalysisResults.root" |
||
) |
Main method, produce the plots with the comparisons
listName | Name of list with histograms in file (same for all productions) |
fileName | File name (same for all productions) |
Definition at line 44 of file DrawProductionComparison.C.
void GetFileAndList | ( | TString | fileName, |
TString | listName | ||
) |
Access the file and list with histograms and number of analyzed events per each production.
Definition at line 746 of file DrawProductionComparison.C.
Referenced by DrawProductionComparison().
TObject* GetHisto | ( | TString | histoName, |
Int_t | iprod | ||
) |
Check if the list is available, if not get the histo directly from file
Definition at line 772 of file DrawProductionComparison.C.
Referenced by DrawProductionComparison().
Int_t color[] ={kBlack,kRed,kBlue,kOrange+1,kYellow+1,kGreen+2,kCyan+1,kViolet,kMagenta+2,kGray} |
Definition at line 34 of file DrawProductionComparison.C.
Referenced by DrawProductionComparison().
TFile* file[nProd] |
Definition at line 30 of file DrawProductionComparison.C.
Referenced by GetFileAndList(), and GetHisto().
TString histoTag = "" |
Definition at line 32 of file DrawProductionComparison.C.
Referenced by DrawProductionComparison().
TList* list[nProd] |
productions directory name
Definition at line 28 of file DrawProductionComparison.C.
Referenced by GetFileAndList(), and GetHisto().
Float_t nEvents[nProd] = 0 |
Definition at line 36 of file DrawProductionComparison.C.
Referenced by AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::DoEventMixingWithPools(), AliAnalysisTaskSELc2pK0sfromAODtracks::DoEventMixingWithPools(), AliAnalysisTaskSELc2eleLambdafromAODtracks::DoEventMixingWithPools(), AliAnalysisTaskSEXic2eleXifromAODtracks::DoEventMixingWithPools(), AliAnalysisTaskCombinHF::DoMixingWithCuts(), AliAnalysisTaskCombinHF::DoMixingWithPools(), AliAnalysisTaskJetV2::DoSimpleSimulation(), DrawProductionComparison(), AliAnalysisTaskCombinHF::FinishTaskOutput(), GetFileAndList(), ReadAODVertexingHF(), ReadAODVertexingHFsa(), AliAnalysisTaskPhiFlow::ReconstructionWithEventMixing(), and trendingCluster().
const Int_t nProd = 3 |
Definition at line 24 of file DrawProductionComparison.C.
Referenced by DrawProductionComparison(), and GetFileAndList().
TString prod[] = {"AOD142","AOD115","ESD"} |
total number of productions
Definition at line 26 of file DrawProductionComparison.C.
Referenced by DrawProductionComparison(), GetFileAndList(), AliMultiDimVector::GetGlobalAddressFromIndices(), AliMultiDimVector::GetIndicesFromGlobalAddress(), and GetProdErr().