AliPhysics  88b7ad0 (88b7ad0)

Configuration of (isolated) gamma/pi0-hadron analysis with multiple cuts. More...

#include <TString.h>
#include <TSystem.h>
#include <TROOT.h>
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AddTaskCaloTrackCorrBase.C"
#include "ConfigureCaloTrackCorrAnalysis.C"
Include dependency graph for AddTaskMultipleTrackCutIsoConeAnalysis.C:

Go to the source code of this file.

Functions

AliAnalysisTaskCaloTrackCorrelationAddTaskMultipleTrackCutIsoConeAnalysis (TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=-1, TString col="", TString period="", 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 isoPtTh=2, Int_t isoMethod=AliIsolationCut::kSumPtIC, Int_t isoContent=AliIsolationCut::kNeutralAndCharged, Int_t leading=0, 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")
 

Detailed Description

Configuration of (isolated) gamma/pi0-hadron analysis with multiple cuts.

Configuration macro for analysis of gamma-hadron and pi0-hadron correlation analysis both pi0 and gamma isolated (or not) with multiple cuts (Track matching, isolation cone etc). It calls

  • the main task intializationg the base of the analysis AddTaskCaloTrackBase.C
  • a configuration file for the analysis, as many times as cuts needed to vary
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 AddTaskMultipleTrackCutIsoConeAnalysis.C.

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskMultipleTrackCutIsoConeAnalysis ( TString  calorimeter = "EMCAL",
Bool_t  simulation = kFALSE,
Int_t  year = -1,
TString  col = "",
TString  period = "",
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  isoPtTh = 2,
Int_t  isoMethod = AliIsolationCut::kSumPtIC,
Int_t  isoContent = AliIsolationCut::kNeutralAndCharged,
Int_t  leading = 0,
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 method calling all the configuration Creates a CaloTrackCorr task, configures it and adds it to the analysis manager.

The options that can be passed to the macro are:

Parameters
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
simulation: A bool identifying the data as simulation
yearThe year the data was taken, used to configure some histograms
colA string with the colliding system
periodA string with data period
rejectEMCTrig: An int to reject EMCal triggered events with bad trigger: 0 no rejection, 1 old runs L1 bit, 2 newer runs L1 bit
clustersArray: A string with the array of clusters not being the default (default is empty string)
gloCutsString: A string with list of global cuts/parameters (activate pile-up ...)
nonLinOn: A bool to set the use of the non linearity correction
analysisString: String that contains what analysis to activate, options: Photon, DecayPi0, MergedPi0, Charged, QA, Isolation, Correlation, Generator
shshMax: A float setting the maximum value of the shower shape of the clusters for the correlation analysis
isoCone: A float setting the isolation cone size higher limit
isoPtTh: A float setting the isolation pT threshold (sum of particles in cone or leading particle)
isoMethod: An int setting the isolation method: AliIsolationCut::kPtThresIC, ...
isoContent: An int setting the type of particles inside the isolation cone: AliIsolationCut::kNeutralAndCharged, AliIsolationCut::kOnlyNeutral, AliIsolationCut::kOnlyCharged
leading: An int setting the type of leading particle selection: 0, select all;l 1: absolute leading of charged; 2: absolute leading of charged and neutral; 3: near side leading absolute of charged; 4: near side leading absolute of charged and neutral
minCen: An int to select the minimum centrality, -1 means no selection
maxCen: An int to select the maximum centrality, -1 means no selection
mixOn: A bool to switch the correlation mixing analysis
calibrate: Use own calibration tools, do not rely on EMCal correction framewor or clusterizer
outputfile: A string to change the name of the histograms output file, default is AnalysisResults.root
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
trigSuffix: A string with the trigger class, abbreviated, defined in ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C

Definition at line 58 of file AddTaskMultipleTrackCutIsoConeAnalysis.C.