AliPhysics  d565ceb (d565ceb)

Plot pT hard dependent histograms of analysis EMCal PWG-GA QA wagon. More...

#include "TString.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TFile.h"
#include "TCanvas.h"
#include "TPad.h"
#include "TStyle.h"
#include "TLine.h"
#include "TLegend.h"
#include "TMath.h"
#include "TGaxis.h"
Include dependency graph for DrawPtHardBins.C:

Go to the source code of this file.

Functions

void DrawPtHardBins (Int_t minE=1, Int_t maxE=70, const Int_t nBin=20, Int_t firstBin=1, Bool_t scaleHisto=kFALSE)
 

Detailed Description

Plot pT hard dependent histograms of analysis EMCal PWG-GA QA wagon.

Macro to plot few selected histograms to QA MC productions done with pT hard bins (pythia jet-jet)./ Do plots with the calculated scaling factor per pT hard bin and without the scaling. The plots are:

  • EMCal or DCal reconstructed cluster energy spectra
  • Hybrid track pT spectra, and their components (global or no SPD tracks)
  • Cluster eta/phi hit/acceptance plots
  • Track phi distribution
  • Generated pi0 pT spectra, considering also those falling in the EMCal or DCal acceptance
  • Generated photon pT spectra, considering also those falling in the EMCal or DCal acceptance
  • Reconstructed invariant mass plots 2D and projections for EMCal/DCal

To execute:root -q -b -l DrawPtHardBins.C'(1,50,20,1,kFALSE)'

The input files Scaled.root and NotScaled.root are obtained executing the script:

  • DownloadExtractScaleMergePtHardAnalysisFiles.sh

This script: 1 downloads the analysis QA train output files per pT hard bin and run, 1 merges the files per run in each pT hard bin, 1 extracts the histograms of the EMCAL QA wagon in 2 separate files, in one of them it scales the histograms with the proper cross section 1 adds the different pT hard bins

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 DrawPtHardBins.C.

Function Documentation

void DrawPtHardBins ( Int_t  minE = 1,
Int_t  maxE = 70,
const Int_t  nBin = 20,
Int_t  firstBin = 1,
Bool_t  scaleHisto = kFALSE 
)

Main method, produce the plots.

Input:

Parameters
minEminimum energy/pT on plots with E/pT spectra
maxEmaximum energy/pT on plots with E/pT spectra
nBintotal number of pT hard bins
firstBinfirst pT hard bin (sometimes it is 0)
scaleHistobool, if true the do the scaling of the unscaled plots

Definition at line 63 of file DrawPtHardBins.C.