![]() |
AliPhysics
34df632 (34df632)
|
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.
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().
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.
productions directory name
Definition at line 28 of file DrawProductionComparison.C.
Definition at line 36 of file DrawProductionComparison.C.
Referenced by AliAnalysisTaskSEOmegac2eleOmegafromAODtracks::DoEventMixingWithPools(), AliAnalysisTaskSELc2pK0sfromAODtracks::DoEventMixingWithPools(), AliAnalysisTaskCombinHF::DoMixingWithCuts(), AliAnalysisTaskCombinHF::DoMixingWithPools(), AliAnalysisTaskJetV2::DoSimpleSimulation(), AliAnalysisTaskJetV3::DoSimpleSimulation(), FastMonitor::DrawObject(), DrawProductionComparison(), AliAnalysisTaskPSHFE::FillMEDPhiHistos(), AliAnalysisTaskCombinHF::FinishTaskOutput(), GetFileAndList(), MakeEvaluateTriggers(), AliTrackletdNdetaTask::HistoSet::MasterFinalize(), AliTrackletdNdetaTask::CentBin::MasterFinalize(), AliTrackletAODdNdeta::Histos::MasterFinalize(), AliTrackletdNdetaTask::MasterFinalize(), AliTrackletAODdNdeta::CentBin::MasterFinalize(), AliTrackletAODdNdeta::MasterFinalize(), ReadAODVertexingHF(), ReadAODVertexingHFsa(), AliAnalysisTaskLegacyPhiFlow::ReconstructionWithEventMixing(), AliAnalysisTaskPhiFlow::ReconstructionWithEventMixing(), LocalRailway::Run(), LiteRailway::Run(), AAFPluginRailway::Run(), TrainSetup::Run(), GridRailway::Run(), ProofRailway::Run(), AliForwardFlowTaskQC::Terminate(), 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 AliMultiDimVector::GetGlobalAddressFromIndices(), AliMultiDimVector::GetIndicesFromGlobalAddress(), and GetProdErr().