AliPhysics  1adf5bd (1adf5bd)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AddTaskPi0.C File Reference

Configuration of invariant mass analysis with calorimeters. More...

Go to the source code of this file.

Functions

AliAnalysisTaskCaloTrackCorrelationAddTaskPi0 (TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=2015, TString col="pp", TString trigger="EMC7", Bool_t rejectEMCTrig=kFALSE, Bool_t muonCaloPass=kFALSE, TString clustersArray="", Bool_t tender=kFALSE, Bool_t nonLinOn=kFALSE, Float_t shshMax=0.5, Bool_t tm=kTRUE, Int_t minCen=-1, Int_t maxCen=-1, Bool_t mixOn=kTRUE, TString outputfile="", Bool_t printSettings=kFALSE, Int_t debug=0)
 
AliCaloTrackReaderConfigureReader (TString col, Bool_t simulation, TString clustersArray, Bool_t tender, TString calorimeter, Bool_t nonLinOn, TString trigger, Bool_t rejectEMCTrig, Int_t minCen, Int_t maxCen, Bool_t printSettings, Int_t debug)
 
AliCalorimeterUtilsConfigureCaloUtils (TString col, Bool_t simulation, TString clustersArray, Bool_t tender, Bool_t nonLinOn, Int_t year, Bool_t printSettings, Int_t debug)
 
AliAnaPhotonConfigurePhotonAnalysis (TString col, Bool_t simulation, TString calorimeter, Int_t year, Int_t tm, Float_t shshMax, Bool_t printSettings, Int_t debug)
 
AliAnaPi0ConfigurePi0Analysis (TString col, Bool_t simulation, TString calorimeter, Bool_t bothCalo, Int_t year, Int_t tm, Bool_t mixOn, Bool_t printSettings, Int_t debug)
 
void SetAnalysisCommonParameters (AliAnaCaloTrackCorrBaseClass *ana, TString calorimeter, Int_t year, TString col, Bool_t simulation, Bool_t printSettings, Int_t debug)
 
UInt_t SetTriggerMaskFromName (TString trigger)
 

Variables

TString kAnaPi0 = ""
 Global name to be composed of the settings, used to set the AOD branch name. More...
 

Detailed Description

Configuration of invariant mass analysis with calorimeters.

Configuration macro for analysis calorimeter clusters invariant mass.

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 AddTaskPi0.C.

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskPi0 ( TString  calorimeter = "EMCAL",
Bool_t  simulation = kFALSE,
Int_t  year = 2015,
TString  col = "pp",
TString  trigger = "EMC7",
Bool_t  rejectEMCTrig = kFALSE,
Bool_t  muonCaloPass = kFALSE,
TString  clustersArray = "",
Bool_t  tender = kFALSE,
Bool_t  nonLinOn = kFALSE,
Float_t  shshMax = 0.5,
Bool_t  tm = kTRUE,
Int_t  minCen = -1,
Int_t  maxCen = -1,
Bool_t  mixOn = kTRUE,
TString  outputfile = "",
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
calorimeter: A string with he calorimeter used to measure the trigger particle. Several combinations possible: "EMCAL", "PHOS","EMCAL_PHOS","EMCAL_PHOS_BothCalo". Last option enables combination of both calorimeters DCal and 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
trigger: A string with the trigger class, abbreviated, defined in method belowSetTriggerMaskFromName()
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)
tender: A bool indicating if the tender was running before this analysis
nonLinOn: A bool to set the use of the non linearity correction
shshMax: A float setting the maximum value of the shower shape of the clusters for the correlation 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
mixOn: A bool to switch the correlation mixing analysis
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

Definition at line 35 of file AddTaskPi0.C.

AliCalorimeterUtils* ConfigureCaloUtils ( TString  col,
Bool_t  simulation,
TString  clustersArray,
Bool_t  tender,
Bool_t  nonLinOn,
Int_t  year,
Bool_t  printSettings,
Int_t  debug 
)

Configure the class handling the calorimeter clusters specific methods

Definition at line 469 of file AddTaskPi0.C.

Referenced by AddTaskPi0().

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

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

Definition at line 573 of file AddTaskPi0.C.

Referenced by AddTaskPi0().

AliAnaPi0* ConfigurePi0Analysis ( TString  col,
Bool_t  simulation,
TString  calorimeter,
Bool_t  bothCalo,
Int_t  year,
Int_t  tm,
Bool_t  mixOn,
Bool_t  printSettings,
Int_t  debug 
)

Configure the task doing the 2 cluster invariant mass analysis

Definition at line 663 of file AddTaskPi0.C.

Referenced by AddTaskPi0().

AliCaloTrackReader* ConfigureReader ( TString  col,
Bool_t  simulation,
TString  clustersArray,
Bool_t  tender,
TString  calorimeter,
Bool_t  nonLinOn,
TString  trigger,
Bool_t  rejectEMCTrig,
Int_t  minCen,
Int_t  maxCen,
Bool_t  printSettings,
Int_t  debug 
)

Configure the class handling the events and cluster/tracks filtering.

Definition at line 227 of file AddTaskPi0.C.

Referenced by AddTaskPi0().

void SetAnalysisCommonParameters ( AliAnaCaloTrackCorrBaseClass ana,
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

Definition at line 763 of file AddTaskPi0.C.

Referenced by ConfigurePhotonAnalysis(), and ConfigurePi0Analysis().

UInt_t SetTriggerMaskFromName ( TString  trigger)

Set the trigger requested for the analysis, depending on a string given

Definition at line 891 of file AddTaskPi0.C.

Referenced by AddTaskPi0().

Variable Documentation

TString kAnaPi0 = ""

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

Definition at line 9 of file AddTaskPi0.C.