AliPhysics  9c66e61 (9c66e61)

Compare a shower shape long axis between different productions. More...

#include <TFile.h>
#include <TDirectoryFile.h>
#include <TList.h>
#include <TString.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TH1D.h>
#include <TH2F.h>
#include <TH3F.h>
#include <TCanvas.h>
#include <TPad.h>
#include <TLegend.h>
#include <TObject.h>
#include <TAxis.h>
#include <TGaxis.h>
#include <TLine.h>
#include <TF1.h>
#include <TMath.h>
#include <TGraphErrors.h>
#include "PlotUtils.C"
Include dependency graph for CompareShowerShapeLongPerAnaPerSM.C:

Go to the source code of this file.

Functions

void DoIt (Int_t iana=0, Bool_t cut=kFALSE, Int_t firstSM=0, Int_t lastSM=9, Bool_t plotRat=kFALSE, Bool_t bAllSM=kFALSE, Bool_t debug=kFALSE)
 
void CompareShowerShapeLongPerAnaPerSM (Int_t firstSM=0, Int_t lastSM=9, Bool_t plotRat=kFALSE, Bool_t bAllSM=kFALSE, Bool_t debug=kFALSE)
 

Variables

Int_t color []
 
Int_t lineStyle []
 
Int_t marker [] = {20,20,20,21,24,24,24,24,24,24,24}
 
TString fileFormat = ".eps"
 
const Int_t nEBins = 5
 
const Int_t nProd = 3
 
TFile * file [nProd]
 
Double_t binE [] = { 8,10,12,14,16,18,20,25}
 
TString titleName = "LHC11cd_EMC7_MCGJ-JJLow"
 
TString filePath []
 
TString dataType []
 

Detailed Description

Compare a shower shape long axis between different productions.

Compare different shape long axis in different data and MC productions depending on the SM per cluster energy bis and different cluster selections. Treatment of the output of the class AliAnaPhoton and AliAnaParticleIsolation Input are TH2 histograms where x=energy, y= shower shape long axis. There is a histogram per each SM.

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

Function Documentation

void CompareShowerShapeLongPerAnaPerSM ( Int_t  firstSM = 0,
Int_t  lastSM = 9,
Bool_t  plotRat = kFALSE,
Bool_t  bAllSM = kFALSE,
Bool_t  debug = kFALSE 
)

Execute all possible combinations

Parameters
firstSMfirst SM number to be inspected.
lastSM: last SM number to be inspected.
plotRatmake ratio plots.
bAllSM: just recover the histogram filled for all SM if it exists and plot only those.

debug : Bool to activate printfs.

Definition at line 722 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

void DoIt ( Int_t  iana = 0,
Bool_t  cut = kFALSE,
Int_t  firstSM = 0,
Int_t  lastSM = 9,
Bool_t  plotRat = kFALSE,
Bool_t  bAllSM = kFALSE,
Bool_t  debug = kFALSE 
)

Main method called by CompareShowerShapeLongPerAnaPerSM()

Parameters
iana: input analysis type: 0-Not isolated; 1-Isolated; 2-Inclusive from AliAnaPhoton
cut: plot shower shape long axis 0-without n cell cut, 1- with n cell cut
firstSMfirst SM number to be inspected
lastSM: last SM number to be inspected
plotRatmake ratio plots.
bAllSM: just recover the histogram filled for all SM if it exists and plot only those.

debug : Bool to activate printfs.

Definition at line 108 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by CompareShowerShapeLongPerAnaPerSM().

Variable Documentation

Double_t binE[] = { 8,10,12,14,16,18,20,25}

Definition at line 58 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

Int_t color[]
Initial value:
= {1,4,2,kYellow-2,8,kCyan,kYellow-6,kCyan,kOrange+2,kViolet,
kOrange-2,4,2,6,8,9,kYellow-6,kCyan,kOrange+2,kViolet,kOrange-2}

Definition at line 41 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

TFile* file[nProd]

Definition at line 54 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by CompareShowerShapeLongPerAnaPerSM(), and DoIt().

TString fileFormat = ".eps"

Definition at line 47 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

TString filePath[]
Initial value:
=
{
"data/module/TCardChannel3/LHC11cd_EMC7"
, "simu/module/pp_7TeV_JJ_Dec_GJ/TCardChannel_Mimic0_Scaled2_v3/ScaledMerged"
, "simu/module/pp_7TeV_JJ_Dec_GJ/TCardChannel_Mimic10c_EcellCut_Scaled2_v3/ScaledMerged"
}

Definition at line 61 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by AliFlowAnalysisWithMultiparticleCorrelations::GetHighestHarmonicEtaGaps(), and AliFlowAnalysisWithMultiparticleCorrelations::GetHistogramWithWeights().

Int_t lineStyle[]
Initial value:
= {1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2}

Definition at line 43 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

Int_t marker[] = {20,20,20,21,24,24,24,24,24,24,24}

Definition at line 45 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

const Int_t nEBins = 5

Definition at line 52 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by DoIt().

const Int_t nProd = 3

Definition at line 53 of file CompareShowerShapeLongPerAnaPerSM.C.

Referenced by CompareShowerShapeLongPerAnaPerSM(), and DoIt().

TString titleName = "LHC11cd_EMC7_MCGJ-JJLow"