AliPhysics  64f4410 (64f4410)

Calculate Chi2 of shape parameter data vs different MC mimic. 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 <TArrayD.h>
#include <TGraphErrors.h>
#include "CompareTH3DataAndMCProd.C"
#include "CalculateParamChi2MCxTalkDataPerSM.C"
Include dependency graph for MakeDataMCComparisonPerSMClusterEbinAndChi2.C:

Go to the source code of this file.

Functions

void MakeDataMCComparisonPerSMClusterEbinAndChi2 (TString titleMC="JJDecLow", TString titleData="LHC11cd_EMC7", Bool_t debug=kFALSE)
 

Detailed Description

Calculate Chi2 of shape parameter data vs different MC mimic.

Compare different shape parameter histograms in data and MC productions depending on the SM per cluster energy bis. Treatment of the output of the class AliAnaClusterShapeCorrelStudies Input are TH3 histograms where x=energy, y= SM number and z is one cluster parameter see the different options in the lines below. Most of the job is done in CompareTH3DataAndMCProd.C and CalculateParamChi2MCxTalkDataPerSM.C, Here we define the data/MC samples, where are the files and what energy ranges to be used and call the corresponding methods.

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

Function Documentation

void MakeDataMCComparisonPerSMClusterEbinAndChi2 ( TString  titleMC = "JJDecLow",
TString  titleData = "LHC11cd_EMC7",
Bool_t  debug = kFALSE 
)

Main method

Parameters
titleMC: Simplified string acronym of input MC
titleData: Simplified string acronym of input data
debug: Bool to activate printfs.

Definition at line 55 of file MakeDataMCComparisonPerSMClusterEbinAndChi2.C.