AliPhysics  e09d476 (e09d476)

Configuration of gamma-hadron and pi0-hadron + isolation, correlation analysis, with option on which to activate. More...

#include <TString.h>
#include <TSystem.h>
#include <TROOT.h>
#include "AliAnaPhoton.h"
#include "AliAnaPi0EbE.h"
#include "AliHistogramRanges.h"
#include "AliAnaParticleIsolation.h"
#include "AliAnaParticleHadronCorrelation.h"
#include "AliAnaChargedParticles.h"
#include "AliAnaCalorimeterQA.h"
#include "AliAnaClusterShapeCorrelStudies.h"
#include "AliAnaGeneratorKine.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliAnaCaloTrackCorrMaker.h"
Include dependency graph for ConfigureCaloTrackCorrAnalysis.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SetAnalysisCommonParameters (AliAnaCaloTrackCorrBaseClass *ana, TString histoString, TString calorimeter, Int_t year, TString col, Bool_t simulation, Bool_t printSettings, Int_t debug)
 
AliAnaPhotonConfigurePhotonAnalysis (TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaPi0EbEConfigurePi0EbEAnalysis (TString particle, Int_t analysis, Bool_t useSSIso, Bool_t useAsy, TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaParticleIsolationConfigureIsolationAnalysis (TString particle, Int_t leading, Int_t partInCone, Int_t thresType, Float_t cone, Float_t coneMin, Float_t pth, Bool_t multi, TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaParticleHadronCorrelationConfigureHadronCorrelationAnalysis (TString particle, Int_t leading, Bool_t bIsolated, Float_t shshMax, Int_t partInCone, Int_t thresType, Float_t cone, Float_t coneMin, Float_t pth, Bool_t mixOn, TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaChargedParticlesConfigureChargedAnalysis (Bool_t simulation, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaClusterShapeCorrelStudiesConfigureClusterShape (Int_t tm, TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaCalorimeterQAConfigureQAAnalysis (TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString)
 
AliAnaGeneratorKineConfigureGenKineAnalysis (Int_t thresType, Float_t pth, Float_t cone, Float_t coneMin, TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString)
 
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)
 

Variables

TString kAnaCaloTrackCorr = ""
 Global name to be composed of the settings, used to set the AOD branch name. More...
 
TString kAnaCutsString = ""
 Global name to be composed of the analysis components chain and some internal settings. More...
 

Detailed Description

Configuration of gamma-hadron and pi0-hadron + isolation, correlation analysis, with option on which to activate.

Configuration macro for analysis of gamma-hadron and pi0-hadron correlation analysis both pi0 and gamma isolated or not. Extracted from AddTaskGammaHadronCorrelationSelectAnalysis.C. The base configuration handled in the separate macro AddTaskCaloTrackCorrBase.C and this configuration should be executed like in AddTaskMultipleTrackCutIsoConeAnalysis.C

It can do:

  • Photon selection in calorimeter with AliAnaPhoton: Track matching, mild shower shape, NLM ... cuts
  • Tagging of photon candidate clusters as decay from pi0 or eta or from their side bands with AliAnaPi0EbE (4 calls, one pi0, one eta, one pi0 side band and one eta side band)
  • Tagging of photon candidate as isolated with AliAnaParticleIsolation
  • Correlation of the photon and charged tracks, twice, one without isolation condition, and other with isolation condition
  • Pi0 selection with the identification of merged clusters with AliAnaPi0EbE
  • Tagging of pi0 as isolated with AliAnaParticleIsolation
  • Correlation of the pi0 and charged tracks, twice, one without isolation condition, and other with isolation condition
  • Particle correlation and isolation at generator level with AliAnaGeneratorKine
  • Optionally, the QA tasks AliAnaCalorimeterQA, AliAnaChargedParticle and AliAnaClusterShapeStudies are executed
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 ConfigureCaloTrackCorrAnalysis.C.

Function Documentation

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 
)

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
anaList: Container with the sub-analysis to be attached
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
simulation: A bool identifying the data as simulation
year: The year the data was taken, used to configure some histograms
col: A string with the colliding system
analysisString: String that contains what analysis to activate, options: Photon, DecayPi0, MergedPi0, Charged, QA, Isolation, Correlation, Generator
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!
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
isoConeMin: A float setting the isolation cone size lower 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
tm: track matching options: 0- no matching; 1-fixed residual cuts; 2-pT track dependent cut
mixOn: A bool to switch the correlation mixing analysis
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks

Definition at line 1223 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by AddTaskGammaHadronCorrelationSelectAnalysis(), AddTaskMultipleTrackCutIsoConeAnalysis(), and ConfigureGenKineAnalysis().

AliAnaChargedParticles* ConfigureChargedAnalysis ( Bool_t  simulation,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing the selected tracks checking

Parameters
simulation: A bool identifying the data as simulation
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 969 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis(), and ConfigureHadronCorrelationAnalysis().

AliAnaClusterShapeCorrelStudies* ConfigureClusterShape ( Int_t  tm,
TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing cluster shape studies

Parameters
tm: Index with track matching option (0- no TM; 1-Fixed residuals cut; 2-Track pT dependent residuals)
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 1013 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis(), and ConfigureChargedAnalysis().

AliAnaGeneratorKine* ConfigureGenKineAnalysis ( Int_t  thresType,
Float_t  pth,
Float_t  cone,
Float_t  coneMin,
TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task filling generated particle kinematics histograms

Parameters
thresType: An int setting the isolation method: AliIsolationCut::kPtThresIC, ...
pth: A float setting the isolation pT threshold (sum of particles in cone or leading particle)
cone: A float setting the isolation cone size higher limit
coneMin: A float setting the isolation cone size lower limit
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 1144 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis().

AliAnaParticleHadronCorrelation* ConfigureHadronCorrelationAnalysis ( TString  particle,
Int_t  leading,
Bool_t  bIsolated,
Float_t  shshMax,
Int_t  partInCone,
Int_t  thresType,
Float_t  cone,
Float_t  coneMin,
Float_t  pth,
Bool_t  mixOn,
TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Int_t  tm,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing the trigger particle hadron correlation

Parameters
particle: Particle trigger name
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
bIsolated: Bool setting the analysis for previously isolated triggers
partInCone: An int setting the type of particles inside the isolation cone: AliIsolationCut::kNeutralAndCharged, AliIsolationCut::kOnlyNeutral, AliIsolationCut::kOnlyCharged
thresType: An int setting the isolation method: AliIsolationCut::kPtThresIC, ...
cone: A float setting the isolation cone size higher limit
coneMin: A float setting the isolation cone size lower limit
pth: A float setting the isolation pT threshold (sum of particles in cone or leading particle)
mixOn: A bool to switch the correlation mixing analysis
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
tm: Index with track matching option (0- no TM; 1-Fixed residuals cut; 2-Track pT dependent residuals). In use in case of mixing and neutrals used, specially in isolation.
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 758 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis().

AliAnaParticleIsolation* ConfigureIsolationAnalysis ( TString  particle,
Int_t  leading,
Int_t  partInCone,
Int_t  thresType,
Float_t  cone,
Float_t  coneMin,
Float_t  pth,
Bool_t  multi,
TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Int_t  tm,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing the trigger particle isolation

Parameters
particle: Particle trigger name
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
partInCone: An int setting the type of particles inside the isolation cone: AliIsolationCut::kNeutralAndCharged, AliIsolationCut::kOnlyNeutral, AliIsolationCut::kOnlyCharged
thresType: An int setting the isolation method: AliIsolationCut::kPtThresIC, ...
cone: A float setting the isolation cone size higher limit
coneMin: A float setting the isolation cone size lower limit
pth: A float setting the isolation pT threshold (sum of particles in cone or leading particle)
multi: Bool, execute isolation analysis with multiple parameters (cone, pT thresholds)
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
tm: Index with track matching option (0- no TM; 1-Fixed residuals cut; 2-Track pT dependent residuals)
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 539 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis().

AliAnaPhoton* ConfigurePhotonAnalysis ( TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Int_t  tm,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing the first photon cluster selections Basically the track matching, minor shower shape cut, NLM selection ...

Parameters
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
tm: Index with track matching option (0- no TM; 1-Fixed residuals cut; 2-Track pT dependent residuals)
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 208 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis().

AliAnaPi0EbE* ConfigurePi0EbEAnalysis ( TString  particle,
Int_t  analysis,
Bool_t  useSSIso,
Bool_t  useAsy,
TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Int_t  tm,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing the pi0 even by event selection (invariant mass or split) and the cluster tagging as decay in different mass windows.

Parameters
particle: String with particle type, "Pi0" or "Eta". If string contains "SideBand", not peak but side band inspected
analysis: analysis type, merged clusters or cluster selected from invariant mass pair or side band
useSSIso: bool, select pairs tagged as isolated previously
useAsy: bool, for merged cluster analysis apply asymmetry cut or not
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
tm: Index with track matching option (0- no TM; 1-Fixed residuals cut; 2-Track pT dependent residuals)
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 326 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis().

AliAnaCalorimeterQA* ConfigureQAAnalysis ( TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Bool_t  printSettings,
Int_t  debug,
TString  histoString 
)

Configure the task doing standard calorimeter QA

Parameters
col: A string with the colliding system
simulation: A bool identifying the data as simulation
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!

Definition at line 1093 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureCaloTrackCorrAnalysis().

void SetAnalysisCommonParameters ( AliAnaCaloTrackCorrBaseClass ana,
TString  histoString,
TString  calorimeter,
Int_t  year,
TString  col,
Bool_t  simulation,
Bool_t  printSettings,
Int_t  debug 
)

Set common histograms binning plus other analysis common settings like TRD covered super modules the activation of the MC dedicated histograms and the activation of the debug mode.

Parameters
ana: Analysis task where histograms are created and common settings are needed
histoString: String to add to histo name in case multiple configurations are considered. Very important!!!!
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
year: The year the data was taken, used to configure some histograms
col: A string with the colliding system
simulation: A bool identifying the data as simulation
printSettings: A bool to enable the print of the settings per task
debug: An int to define the debug level of all the tasks

Definition at line 65 of file ConfigureCaloTrackCorrAnalysis.C.

Referenced by ConfigureChargedAnalysis(), ConfigureClusterShape(), ConfigureGenKineAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0EbEAnalysis(), and ConfigureQAAnalysis().

Variable Documentation

TString kAnaCaloTrackCorr = ""

Global name to be composed of the settings, used to set the AOD branch name.

Definition at line 45 of file ConfigureCaloTrackCorrAnalysis.C.

TString kAnaCutsString = ""

Global name to be composed of the analysis components chain and some internal settings.

Definition at line 48 of file ConfigureCaloTrackCorrAnalysis.C.