![]() |
AliPhysics
5e2c166 (5e2c166)
|
gamma-jet correlation configuration. More...
Go to the source code of this file.
Functions | |
AliAnalysisTaskCaloTrackCorrelation * | AddTaskGammaJetCorrelation (const Float_t isoCone=0.4, const Float_t isoPth=0.5, const Double_t maxLambda0Cut=0.5, const Int_t maxNLMcut=2, const Bool_t timecut=kFALSE, const TString calorimeter="EMCAL", const Bool_t simulation=kFALSE, const Bool_t eventsel=kFALSE, const Bool_t exotic=kTRUE, const Bool_t nonlin=kFALSE, const TString collision="pp", const TString trigger="MB", const TString firedTrigger="EG1", const TString clustersArray="V1", const Bool_t mix=kTRUE, const Bool_t tm=kTRUE, const Int_t minCen=-1, const Int_t maxCen=-1, const TString jetBranchName="clustersAOD_ANTIKT04_B0_Filter00272_Cut00150_Skip00", const TString jetBkgBranchName="jeteventbackground_clustersAOD_KT04_B0_Filter00768_Cut00150_Skip00", const Float_t jetMinPt=0, const Float_t minDeltaPhi=1.5, const Float_t maxDeltaPhi=4.5, const Float_t minPtRatio=0, const Float_t maxPtRatio=5, const Int_t debug=-1, const Bool_t printSettings=kFALSE, const Double_t scaleFactor=-1) |
AliCaloTrackReader * | ConfigureReader (TString inputDataType="AOD", TString calorimeter="EMCAL", Bool_t useKinematics=kFALSE, Bool_t simulation=kFALSE, Bool_t eventsel=kFALSE, Bool_t nonlin=kTRUE, Bool_t timecut=kFALSE, TString collision="pp", TString trigger="MB", TString firedTrigger="EG1", TString clustersArray="V1", TString jetBranchName="jets", TString jetBkgBranchName="jets", Bool_t mix=kFALSE, Float_t minCen=-1, Float_t maxCen=-1, Int_t debug=-1, Bool_t printSettings=kFALSE) |
AliCalorimeterUtils * | ConfigureCaloUtils (TString clustersArray="V1", TString collision="pp", Bool_t nonlin=kTRUE, Bool_t exotic=kTRUE, Bool_t simulation=kFALSE, Bool_t timecut=kFALSE, Int_t debug=-1, Bool_t printSettings=kFALSE) |
AliAnaPhoton * | ConfigurePhotonAnalysis (TString calorimeter="EMCAL", Bool_t tm=kFALSE, Bool_t simulation=kFALSE, Double_t maxLambda0Cut=0.5, Int_t maxNLMcut=2, Int_t debug=-1, Bool_t printSettings=kFALSE) |
AliAnaParticleIsolation * | ConfigureIsolationAnalysis (TString calorimeter="EMCAL", TString collision="pp", TString particle="Photon", Int_t partInCone=AliIsolationCut::kOnlyCharged, Int_t thresType=AliIsolationCut::kSumPtFracIC, Float_t cone=0.3, Float_t pth=0.3, Bool_t tm=kFALSE, Bool_t multi=kFALSE, Bool_t simulation=kFALSE, Int_t debug=-1, Bool_t printSettings=kFALSE) |
void | ConfigureMC (AliAnaCaloTrackCorrBaseClass *ana, Bool_t simulation=kFALSE) |
void | SetHistoRangeAndNBins (AliHistogramRanges *histoRanges, TString calorimeter="EMCAL") |
UInt_t | SetTriggerMaskFromName (TString trigger) |
AliAnaParticleJetFinderCorrelation * | ConfigurePhotonJetAnalysis (TString calorimeter="EMCAL", Float_t gammaConeSize=0.3, Float_t jetMinPt=0, Float_t minDeltaPhi=1.5, Float_t maxDeltaPhi=4.5, Float_t minPtRatio=0, Float_t maxPtRatio=5, Bool_t simulation=kFALSE, Int_t debug=-1, Bool_t printSettings=kFALSE) |
Variables | |
TString | kGammaJetCorrelationName = "" |
Global name to be composed of the settings, used to set the AOD branch name. More... | |
gamma-jet correlation configuration.
Configuration of the gamma-jet correlation analysis based on AddTaskIsoPhoton by Gustavo Conesa & Marie Germain.
Definition in file AddTaskGammaJetCorrelation.C.
AliAnalysisTaskCaloTrackCorrelation* AddTaskGammaJetCorrelation | ( | const Float_t | isoCone = 0.4 , |
const Float_t | isoPth = 0.5 , |
||
const Double_t | maxLambda0Cut = 0.5 , |
||
const Int_t | maxNLMcut = 2 , |
||
const Bool_t | timecut = kFALSE , |
||
const TString | calorimeter = "EMCAL" , |
||
const Bool_t | simulation = kFALSE , |
||
const Bool_t | eventsel = kFALSE , |
||
const Bool_t | exotic = kTRUE , |
||
const Bool_t | nonlin = kFALSE , |
||
const TString | collision = "pp" , |
||
const TString | trigger = "MB" , |
||
const TString | firedTrigger = "EG1" , |
||
const TString | clustersArray = "V1" , |
||
const Bool_t | mix = kTRUE , |
||
const Bool_t | tm = kTRUE , |
||
const Int_t | minCen = -1 , |
||
const Int_t | maxCen = -1 , |
||
const TString | jetBranchName = "clustersAOD_ANTIKT04_B0_Filter00272_Cut00150_Skip00" , |
||
const TString | jetBkgBranchName = "jeteventbackground_clustersAOD_KT04_B0_Filter00768_Cut00150_Skip00" , |
||
const Float_t | jetMinPt = 0 , |
||
const Float_t | minDeltaPhi = 1.5 , |
||
const Float_t | maxDeltaPhi = 4.5 , |
||
const Float_t | minPtRatio = 0 , |
||
const Float_t | maxPtRatio = 5 , |
||
const Int_t | debug = -1 , |
||
const Bool_t | printSettings = kFALSE , |
||
const Double_t | scaleFactor = -1 |
||
) |
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:
isoCone | : A float setting the isolation cone size |
isoPth | : A float setting the isolation pT threshold (sum of particles in cone or leading particle) |
maxLambda0Cut | : A float setting the maximum value of the shower shape of the clusters for the correlation analysis |
maxNLMcut | : maximum value of shower shape parameter |
timecut | : activate time cut |
calorimeter | : A string with he calorimeter used to measure the trigger particle |
simulation | : A bool identifying the data as simulation |
eventsel | : reject bad events (pile-up ...) |
exotic | : reject exotic clusters |
nonlin | : A bool to set the use of the non linearity correction |
collision | : A string with the colliding system |
trigger | : A string with the trigger class, abbreviated, defined in method belowSetTriggerMaskFromName() |
firedTrigger | : In case of events with 2 L1 triggers, specify which one |
clustersArray | : A string with the array of clusters not being the default (default is empty string) |
mix | : A bool to switch the correlation mixing analysis |
tm | : A bool to select neutral clusters as triggers |
minCen | : An int to select the minimum centrality, -1 means no selection |
maxCen | : An int to select the maximum centrality, -1 means no selection |
jetBranchName | : Name of branch with reconstructed jets |
jetBkgBranchName | : Name of branch with reconstructed background jets |
jetMinPt | : Minimum jet pT. |
minDeltaPhi | : Minimum cut on photon-jet azimuthal angle |
maxDeltaPhi | : Maximum cut on photon-jet azimuthal angle |
minPtRatio | : Minimum cut on jet/photon pT ratio |
maxPtRatio | : Maximum cut on jet/photon pT ratio |
debug | : An int to define the debug level of all the tasks |
printSettings | : A bool to enable the print of the settings per task |
scaleFactor | : Scale factor in case for pT-hard simulation bins. Not useful with train. |
Definition at line 48 of file AddTaskGammaJetCorrelation.C.
AliCalorimeterUtils* ConfigureCaloUtils | ( | TString | clustersArray = "V1" , |
TString | collision = "pp" , |
||
Bool_t | nonlin = kTRUE , |
||
Bool_t | exotic = kTRUE , |
||
Bool_t | simulation = kFALSE , |
||
Bool_t | timecut = kFALSE , |
||
Int_t | debug = -1 , |
||
Bool_t | printSettings = kFALSE |
||
) |
Configure the class handling the calorimeter clusters specific methods
Definition at line 466 of file AddTaskGammaJetCorrelation.C.
Referenced by AddTaskGammaJetCorrelation().
AliAnaParticleIsolation* ConfigureIsolationAnalysis | ( | TString | calorimeter = "EMCAL" , |
TString | collision = "pp" , |
||
TString | particle = "Photon" , |
||
Int_t | partInCone = AliIsolationCut::kOnlyCharged , |
||
Int_t | thresType = AliIsolationCut::kSumPtFracIC , |
||
Float_t | cone = 0.3 , |
||
Float_t | pth = 0.3 , |
||
Bool_t | tm = kFALSE , |
||
Bool_t | multi = kFALSE , |
||
Bool_t | simulation = kFALSE , |
||
Int_t | debug = -1 , |
||
Bool_t | printSettings = kFALSE |
||
) |
Configure the task doing the trigger cluster isolation
Definition at line 661 of file AddTaskGammaJetCorrelation.C.
Referenced by AddTaskGammaJetCorrelation().
void ConfigureMC | ( | AliAnaCaloTrackCorrBaseClass * | ana, |
Bool_t | simulation = kFALSE |
||
) |
Configure the selection of MC events
Definition at line 798 of file AddTaskGammaJetCorrelation.C.
Referenced by ConfigureIsolationAnalysis(), and ConfigurePhotonAnalysis().
AliAnaPhoton* ConfigurePhotonAnalysis | ( | TString | calorimeter = "EMCAL" , |
Bool_t | tm = kFALSE , |
||
Bool_t | simulation = kFALSE , |
||
Double_t | maxLambda0Cut = 0.5 , |
||
Int_t | maxNLMcut = 2 , |
||
Int_t | debug = -1 , |
||
Bool_t | printSettings = kFALSE |
||
) |
Configure the task doing the first photon cluster selections Basically the track matching, minor shower shape cut, NLM selection ...
Definition at line 567 of file AddTaskGammaJetCorrelation.C.
Referenced by AddTaskGammaJetCorrelation().
AliAnaParticleJetFinderCorrelation* ConfigurePhotonJetAnalysis | ( | TString | calorimeter = "EMCAL" , |
Float_t | gammaConeSize = 0.3 , |
||
Float_t | jetMinPt = 0 , |
||
Float_t | minDeltaPhi = 1.5 , |
||
Float_t | maxDeltaPhi = 4.5 , |
||
Float_t | minPtRatio = 0 , |
||
Float_t | maxPtRatio = 5 , |
||
Bool_t | simulation = kFALSE , |
||
Int_t | debug = -1 , |
||
Bool_t | printSettings = kFALSE |
||
) |
Configure the task doing the trigger cluster-jet correlation
Definition at line 948 of file AddTaskGammaJetCorrelation.C.
Referenced by AddTaskGammaJetCorrelation().
AliCaloTrackReader* ConfigureReader | ( | TString | inputDataType = "AOD" , |
TString | calorimeter = "EMCAL" , |
||
Bool_t | useKinematics = kFALSE , |
||
Bool_t | simulation = kFALSE , |
||
Bool_t | eventsel = kFALSE , |
||
Bool_t | nonlin = kTRUE , |
||
Bool_t | timecut = kFALSE , |
||
TString | collision = "pp" , |
||
TString | trigger = "MB" , |
||
TString | firedTrigger = "EG1" , |
||
TString | clustersArray = "V1" , |
||
TString | jetBranchName = "jets" , |
||
TString | jetBkgBranchName = "jets" , |
||
Bool_t | mix = kFALSE , |
||
Float_t | minCen = -1 , |
||
Float_t | maxCen = -1 , |
||
Int_t | debug = -1 , |
||
Bool_t | printSettings = kFALSE |
||
) |
Configure the class handling the events and cluster/tracks filtering.
Definition at line 196 of file AddTaskGammaJetCorrelation.C.
Referenced by AddTaskGammaJetCorrelation().
void SetHistoRangeAndNBins | ( | AliHistogramRanges * | histoRanges, |
TString | calorimeter = "EMCAL" |
||
) |
Set common histograms binning and ranges
Definition at line 807 of file AddTaskGammaJetCorrelation.C.
Referenced by ConfigureIsolationAnalysis(), ConfigurePhotonAnalysis(), and ConfigurePhotonJetAnalysis().
Set the trigger requested for the analysis, depending on a string given
Definition at line 865 of file AddTaskGammaJetCorrelation.C.
Referenced by AddTaskGammaJetCorrelation(), and ConfigureReader().
TString kGammaJetCorrelationName = "" |
Global name to be composed of the settings, used to set the AOD branch name.
Definition at line 12 of file AddTaskGammaJetCorrelation.C.