AliPhysics  1811c8f (1811c8f)
AddTaskGammaHadronCorrelationSelectAnalysis.C
Go to the documentation of this file.
1 
21 // Set includes for compilation
22 
23 #if !defined(__CINT__) || defined(__MAKECINT__)
24 
25 #include <TString.h>
26 #include <TSystem.h>
27 #include <TROOT.h>
28 
29 #include <TString.h>
30 #include <TSystem.h>
31 #include <TROOT.h>
32 
36 
37 #endif
38 
71 (
72  TString calorimeter = "EMCAL", // "DCAL", "PHOS"
73  Bool_t simulation = kFALSE,
74  Int_t year = 2011,
75  TString col = "pp",
76  Int_t rejectEMCTrig = 0,
77  TString clustersArray = "",
78  TString gloCutsString = "",//"Smearing","SPDPileUp"
79  Bool_t calibrate = kFALSE,
80  Bool_t nonLinOn = kFALSE,
81  TString analysisString= "Photon_MergedPi0_DecayPi0_Isolation_Correlation_QA_Charged",
82  Float_t shshMax = 0.27,
83  Float_t isoCone = 0.4,
84  Float_t isoConeMin = -1,
85  Float_t isoPtTh = 2,
86  Int_t isoMethod = AliIsolationCut::kSumPtIC,
88  Int_t leading = 0,
89  Int_t tm = 2,
90  Int_t minCen = -1,
91  Int_t maxCen = -1,
92  Bool_t mixOn = kTRUE,
93  TString outputfile = "",
94  Bool_t printSettings = kFALSE,
95  Int_t debug = 0,
96  const char *trigSuffix = "EMC7"
97 )
98 {
99  // Load macros
100  //
101  gROOT->LoadMacro("$ALICE_PHYSICS/PWGGA/CaloTrackCorrelations/macros/AddTaskCaloTrackCorrBase.C");
102  gROOT->LoadMacro("$ALICE_PHYSICS/PWGGA/CaloTrackCorrelations/macros/ConfigureCaloTrackCorrAnalysis.C");
103 
104  // Init base task
105  //
107  (calorimeter, simulation, year, col, rejectEMCTrig, clustersArray, gloCutsString,
108  calibrate, nonLinOn, minCen, maxCen, mixOn, outputfile, printSettings, debug, trigSuffix);
109 
110  if ( !task ) return NULL;
111 
112  TList * anaList = task->GetAnalysisMaker()->GetListOfAnalysisContainers();
113  printf("TList name: %s\n",anaList->GetName());
114 
115  // Configure the sub-analysis tasks
116  //
118  ( anaList, calorimeter, simulation, year, col, analysisString, "",
119  shshMax, isoCone, isoConeMin, isoPtTh, isoMethod, isoContent,
120  leading, tm, mixOn, printSettings, debug);
121 
122  return task;
123 }
124 
125 
void ConfigureCaloTrackCorrAnalysis(TList *anaList=0x0, TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=2011, TString col="pp", TString analysisString="Photon_MergedPi0_DecayPi0_Isolation_Correlation_QA_Charged", TString histoString="", Float_t shshMax=0.27, Float_t isoCone=0.4, Float_t isoConeMin=-1, Float_t isoPtTh=2, Int_t isoMethod=AliIsolationCut::kSumPtIC, Int_t isoContent=AliIsolationCut::kNeutralAndCharged, Int_t leading=0, Int_t tm=2, Bool_t mixOn=kTRUE, Bool_t printSettings=kFALSE, Int_t debug=0)
const int debug
Definition: scanAll.C:15
Configuration of gamma-hadron and pi0-hadron + isolation, correlation analysis, with option on which ...
const TString calorimeter
Definition: anaM.C:36
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
AliAnalysisTaskCaloTrackCorrelation * AddTaskCaloTrackCorrBase(TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=2011, TString col="pp", Int_t rejectEMCTrig=0, TString clustersArray="", TString cutsString="", Bool_t calibrate=kFALSE, Bool_t nonLinOn=kFALSE, Int_t minCen=-1, Int_t maxCen=-1, Bool_t mixOn=kTRUE, TString outputfile="", Bool_t printSettings=kFALSE, Int_t debug=0, const char *trigSuffix="EMC7")
AliAnalysisTaskCaloTrackCorrelation * AddTaskGammaHadronCorrelationSelectAnalysis(TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=2011, TString col="pp", Int_t rejectEMCTrig=0, TString clustersArray="", TString gloCutsString="", Bool_t calibrate=kFALSE, Bool_t nonLinOn=kFALSE, TString analysisString="Photon_MergedPi0_DecayPi0_Isolation_Correlation_QA_Charged", Float_t shshMax=0.27, Float_t isoCone=0.4, Float_t isoConeMin=-1, Float_t isoPtTh=2, Int_t isoMethod=AliIsolationCut::kSumPtIC, Int_t isoContent=AliIsolationCut::kNeutralAndCharged, Int_t leading=0, Int_t tm=2, Int_t minCen=-1, Int_t maxCen=-1, Bool_t mixOn=kTRUE, TString outputfile="", Bool_t printSettings=kFALSE, Int_t debug=0, const char *trigSuffix="EMC7")
Main class conecting the CaloTrackCorrelations package and Analysis Frame.
bool Bool_t
Definition: External.C:53
Configuration AliAnalysisTaskCaloTrackCorrelation base functionalities.