AliPhysics  vAN-20150427 (e6e7aad)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
DrawAnaCaloTrackQA.C File Reference

Plot analysis QA histograms from EMCal PWG-GA wagon. More...

Go to the source code of this file.

Functions

void DrawAnaCaloTrackQA (TString listName="Pi0IM_GammaTrackCorr_EMCAL_default", TString fileName="AnalysisResults.root", Bool_t export=kFALSE)
 
void CaloQA ()
 
void TrackQA ()
 Plot basic hybrid tracks histograms. More...
 
void Pi0QA ()
 
void CorrelationQA ()
 Plot basic cluster-track correlation histograms. More...
 
void MCQA ()
 Plot basic generated particle distribution histograms. More...
 
void GetFileAndList (TString fileName, TString listName, Bool_t export)
 
TObject * GetHisto (TString histoName)
 
void ScaleAxis (TAxis *a, Double_t scale)
 
void ScaleXaxis (TH1 *h, Double_t scale)
 

Variables

TList * list = 0
 
TFile * file = 0
 
TString histoTag = ""
 
Int_t color [] ={kBlack,kRed,kOrange+1,kYellow+1,kGreen+2,kBlue,kCyan+1,kViolet,kMagenta+2,kGray}
 

Detailed Description

Plot analysis QA histograms from EMCal PWG-GA wagon.

Macro to plot few selected histograms to QA data productions at 0th order Analysis performed with the wagon AddTaskPi0IMGammaCorrQA.C It generates 5 eps plots, each containing 2 to 4 canvases

To execute: root -q -b -l DrawAnaCaloTrackQA.C'("Pi0IM_GammaTrackCorr_EMCAL_default","AnalysisResults.root")' The input list name might change depending on the wagon / data type In case output file is too large, possiblity to dump the list content in a sepate file: export = kTRUE

Author
: Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file DrawAnaCaloTrackQA.C.

Function Documentation

void CaloQA ( )

Definition at line 74 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void CorrelationQA ( )

Plot basic cluster-track correlation histograms.

Definition at line 580 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void DrawAnaCaloTrackQA ( TString  listName = "Pi0IM_GammaTrackCorr_EMCAL_default",
TString  fileName = "AnalysisResults.root",
Bool_t  export = kFALSE 
)

Main method, produce the plots for the 5 different types of analysis:

  • Calorimeter QA in CaloQA method
  • Track QA in TrackQA method
  • Invariant mass plots in Pi0QA method
  • Cluster-track correlation plots in CorrelationQA method
  • Dedicated generated particles QA in MCQA method Input:
    Parameters
    listNameName of list with histograms in file
    fileNameFile name
    exportexport list with histograms to separate file, intereting in case of big output file.

Definition at line 36 of file DrawAnaCaloTrackQA.C.

void GetFileAndList ( TString  fileName,
TString  listName,
Bool_t  export 
)

Definition at line 900 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

TObject* GetHisto ( TString  histoName)

Check if the list is available, if not get the histo directly from file

Definition at line 921 of file DrawAnaCaloTrackQA.C.

Referenced by CaloQA(), CorrelationQA(), MCQA(), Pi0QA(), and TrackQA().

void MCQA ( )

Plot basic generated particle distribution histograms.

Definition at line 693 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void Pi0QA ( )

Definition at line 342 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

void ScaleAxis ( TAxis *  a,
Double_t  scale 
)

Definition at line 928 of file DrawAnaCaloTrackQA.C.

Referenced by ScaleXaxis().

void ScaleXaxis ( TH1 *  h,
Double_t  scale 
)

Definition at line 953 of file DrawAnaCaloTrackQA.C.

Referenced by MCQA().

void TrackQA ( )

Plot basic hybrid tracks histograms.

Definition at line 277 of file DrawAnaCaloTrackQA.C.

Referenced by DrawAnaCaloTrackQA().

Variable Documentation

Int_t color[] ={kBlack,kRed,kOrange+1,kYellow+1,kGreen+2,kBlue,kCyan+1,kViolet,kMagenta+2,kGray}

Definition at line 22 of file DrawAnaCaloTrackQA.C.

Referenced by CorrelationQA(), Pi0QA(), and TrigEffTrending().

TString histoTag = ""

Definition at line 21 of file DrawAnaCaloTrackQA.C.

Referenced by CaloQA(), CorrelationQA(), DrawAnaCaloTrackQA(), MCQA(), Pi0QA(), and TrackQA().