![]() |
AliPhysics
31210d0 (31210d0)
|
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 "AliAnaPi0.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"
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) |
AliAnaPhoton * | ConfigurePhotonAnalysis (TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Bool_t printSettings, Int_t debug, TString histoString) |
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) |
AliAnaPi0 * | ConfigureInvariantMassAnalysis (TString col, Bool_t simulation, TString calorimeter, Bool_t bothCalo, Int_t year, Bool_t mixOn, Bool_t printSettings, Int_t debug, TString histoString) |
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) |
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) |
AliAnaChargedParticles * | ConfigureChargedAnalysis (Bool_t simulation, Bool_t printSettings, Int_t debug, TString histoString) |
AliAnaClusterShapeCorrelStudies * | ConfigureClusterShape (Int_t tm, TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString) |
AliAnaCalorimeterQA * | ConfigureQAAnalysis (TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug, TString histoString) |
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) |
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... | |
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:
Definition in file ConfigureCaloTrackCorrAnalysis.C.
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:
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 1379 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
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 1123 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
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 1167 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
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 1300 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
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 902 of file ConfigureCaloTrackCorrAnalysis.C.
Referenced by ConfigureCaloTrackCorrAnalysis().
AliAnaPi0* ConfigureInvariantMassAnalysis | ( | TString | col, |
Bool_t | simulation, | ||
TString | calorimeter, | ||
Bool_t | bothCalo, | ||
Int_t | year, | ||
Bool_t | mixOn, | ||
Bool_t | printSettings, | ||
Int_t | debug, | ||
TString | histoString | ||
) |
Configure the task doing the 2 cluster invariant mass analysis from selected clusters by AliAnaPhoton
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 |
bothCalo | : Activate combination of photon pairs from different detectors (PHOS+EMCal) |
year | : The year the data was taken, used to configure some histograms |
mixOn | : bool to activate 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 |
histoString | : String to add to histo name in case multiple configurations are considered. Very important!!!! |
Definition at line 549 of file ConfigureCaloTrackCorrAnalysis.C.
Referenced by ConfigureCaloTrackCorrAnalysis(), and ConfigurePi0EbEAnalysis().
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
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 680 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 ...
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 215 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.
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 340 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
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 1249 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.
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 67 of file ConfigureCaloTrackCorrAnalysis.C.
Referenced by ConfigureChargedAnalysis(), ConfigureClusterShape(), ConfigureGenKineAnalysis(), ConfigureHadronCorrelationAnalysis(), ConfigureInvariantMassAnalysis(), ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), ConfigurePi0EbEAnalysis(), and ConfigureQAAnalysis().
TString kAnaCaloTrackCorr = "" |
Global name to be composed of the settings, used to set the AOD branch name.
Definition at line 46 of file ConfigureCaloTrackCorrAnalysis.C.
TString kAnaCutsString = "" |
Global name to be composed of the analysis components chain and some internal settings.
Definition at line 50 of file ConfigureCaloTrackCorrAnalysis.C.