![]() |
AliPhysics
a8afd6c (a8afd6c)
|
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"
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 [] |
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.
Definition in file CompareShowerShapeLongPerAnaPerSM.C.
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
firstSM | first SM number to be inspected. |
lastSM | : last SM number to be inspected. |
plotRat | make 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()
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 |
firstSM | first SM number to be inspected |
lastSM | : last SM number to be inspected |
plotRat | make 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().
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[] |
Definition at line 41 of file CompareShowerShapeLongPerAnaPerSM.C.
Referenced by DoIt().
TString dataType[] |
Definition at line 68 of file CompareShowerShapeLongPerAnaPerSM.C.
Referenced by AliAnalysisTaskConvJet::AddTask_GammaConvJet(), AddTaskCaloTrackPi0Flow(), AliAnalysisTaskDmesonJets::AddTaskDmesonJets(), AliAnalysisTaskDmesonJetsDetectorResponse::AddTaskDmesonJetsDetectorResponse(), AliAnalysisTaskDmesonJetsSub::AddTaskDmesonJetsSub(), AddTaskEMCALAlig(), AliAnalysisTaskEmcalDijetImbalance::AddTaskEmcalDijetImbalance(), AliEmcalJetTask::AddTaskEmcalJet(), NS_AliAnalysisTaskEmcalJetCDF::AddTaskEmcalJetCDF(), AliAnalysisTaskEmcalJetPerformance::AddTaskEmcalJetPerformance(), AliAnalysisTaskEmcalJetQA::AddTaskEmcalJetQA(), AliAnalysisTaskEmcalJetSample::AddTaskEmcalJetSample(), AliAnalysisTaskEmcalJetSpectraQA::AddTaskEmcalJetSpectraQA(), AliAnalysisTaskEmcalJetTreeBase::AddTaskEmcalJetTree(), AliAnalysisTaskGenerateThermalBackgroundMC::AddTaskGenerateThermalBackgroundMC(), AliAnalysisTaskJetUEStudies::AddTaskJetUEStudies(), AliAnalysisTaskPWGJEQA::AddTaskPWGJEQA(), AliAnalysisTaskRhoBaseDev::AddTaskRhoBaseDev(), AliAnalysisTaskRhoDev::AddTaskRhoDev(), AliAnalysisTaskRhoSparse::AddTaskRhoSparse(), AliAnalysisTaskRhoTransDev::AddTaskRhoTransDev(), AliEmcalTrackingQATask::AddTaskTrackingQA(), AliEmcalContainerUtils::DetermineUseDefaultName(), and AliAnalysisTaskHJetDphi::UserCreateOutputObjects().
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[] |
Definition at line 61 of file CompareShowerShapeLongPerAnaPerSM.C.
Referenced by AliFlowAnalysisWithMultiparticleCorrelations::GetHighestHarmonicEtaGaps(), and AliFlowAnalysisWithMultiparticleCorrelations::GetHistogramWithWeights().
Int_t lineStyle[] |
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" |
Definition at line 60 of file CompareShowerShapeLongPerAnaPerSM.C.
Referenced by AliAnaChargedParticles::GetCreateOutputObjects().