AliPhysics  31210d0 (31210d0)

Configuration AliAnalysisTaskCaloTrackCorrelation base functionalities. More...

#include <TString.h>
#include <TSystem.h>
#include <TROOT.h>
#include "AliCaloTrackESDReader.h"
#include "AliCaloTrackAODReader.h"
#include "AliCalorimeterUtils.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliAnaCaloTrackCorrMaker.h"
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliVTrack.h"
#include "AliAODTrack.h"
#include "AliESDtrack.h"
#include "ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C"
#include "AliESDtrackCuts.h"
#include "CreateTrackCutsPWGJE.C"
#include "GetAlienGlobalProductionVariables.C"
#include "CheckActiveEMCalTriggerPerPeriod.C"
Include dependency graph for AddTaskCaloTrackCorrBase.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ConfigureEventSelection (AliCaloTrackReader *reader, TString cutsString, TString col, Int_t year, Bool_t simulation, Bool_t rejectEMCTrig, TString trigger, Int_t minCen, Int_t maxCen)
 
void ConfigureEMCALClusterCuts (AliCaloTrackReader *reader, TString calorimeter, TString cutsString, TString clustersArray, Int_t year, Bool_t simulation)
 
void ConfigurePHOSClusterCuts (AliCaloTrackReader *reader, TString calorimeter)
 
void ConfigureTrackCuts (AliCaloTrackReader *reader, TString inputDataType, TString cutsString)
 
AliCaloTrackReaderConfigureReader (TString col, Bool_t simulation, TString clustersArray, TString calorimeter, TString cutsString, Bool_t nonLinOn, Bool_t calibrate, Int_t year, TString trigger, Bool_t rejectEMCTrig, Int_t minCen, Int_t maxCen, Bool_t printSettings, Int_t debug)
 
AliCalorimeterUtilsConfigureCaloUtils (TString col, Bool_t simulation, TString calorimeter, Bool_t nonLinOn, Bool_t calibrate, Int_t year, Bool_t printSettings, Int_t debug)
 
AliAnalysisTaskCaloTrackCorrelationAddTaskCaloTrackCorrBase (TString calorimeter="EMCAL", Bool_t simulation=kFALSE, Int_t year=-1, TString col="", TString period="", Int_t rejectEMCTrig=0, TString clustersArray="", TString cutsString="", Bool_t calibrate=kFALSE, Bool_t nonLinOn=kFALSE, 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 AliAnalysisTaskCaloTrackCorrelation base functionalities.

Configuration macro AliAnalysisTaskCaloTrackCorrelation base functionalities. AliCaloTrackReader and AliCalorimeterUtils functionalities initialized and activated. Another configuration macro should be attached to run on analysis, like AddTaskMultipleTrackCutIsoConeAnalysis.C that needs also ConfigureCaloTrackCorrAnalysis.C

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

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskCaloTrackCorrBase ( TString  calorimeter = "EMCAL",
Bool_t  simulation = kFALSE,
Int_t  year = -1,
TString  col = "",
TString  period = "",
Int_t  rejectEMCTrig = 0,
TString  clustersArray = "",
TString  cutsString = "",
Bool_t  calibrate = kFALSE,
Bool_t  nonLinOn = kFALSE,
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 the 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)
cutsString: A string with additional cuts (Smearing, SPDPileUp)
nonLinOn: A bool to set the use of the non linearity correction
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 556 of file AddTaskCaloTrackCorrBase.C.

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

AliCalorimeterUtils* ConfigureCaloUtils ( TString  col,
Bool_t  simulation,
TString  calorimeter,
Bool_t  nonLinOn,
Bool_t  calibrate,
Int_t  year,
Bool_t  printSettings,
Int_t  debug 
)

Configure the class handling the calorimeter clusters specific methods

Parameters
colA 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
nonLinOn: A bool to set the use of the non linearity correction
calibrate: Use own calibration tools, do not rely on EMCal correction framewor or clusterizer
yearThe 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

Definition at line 417 of file AddTaskCaloTrackCorrBase.C.

Referenced by AddTaskCaloTrackCorrBase().

void ConfigureEMCALClusterCuts ( AliCaloTrackReader reader,
TString  calorimeter,
TString  cutsString,
TString  clustersArray,
Int_t  year,
Bool_t  simulation 
)

Configure the EMCal/DCal cluster filtering cuts done in AliCaloTrackReader

Parameters
readerpointer to AliCaloTrackReaderTask
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
cutsString: A string with additional cuts ("Smearing","MCEnScale")
clustersArray: A string with the array of clusters not being the default (default is empty string)
yearThe year the data was taken, used to configure time cut
simulation: A bool identifying the data as simulation

Definition at line 160 of file AddTaskCaloTrackCorrBase.C.

Referenced by ConfigureReader().

void ConfigureEventSelection ( AliCaloTrackReader reader,
TString  cutsString,
TString  col,
Int_t  year,
Bool_t  simulation,
Bool_t  rejectEMCTrig,
TString  trigger,
Int_t  minCen,
Int_t  maxCen 
)

Configure the EMCal/DCal cluster filtering cuts done in AliCaloTrackReader

Parameters
readerpointer to AliCaloTrackReaderTask
clustersArray: A string with the array of clusters not being the default (default is empty string)
colA string with the colliding system
yearThe year the data was taken, used to configure time cut
simulation: A bool identifying the data as simulation
rejectEMCTrig: An int to reject EMCal triggered events with bad trigger: 0 no rejection, 1 old runs L1 bit, 2 newer runs L1 bit
trigger: A string with the trigger class, abbreviated, defined in ConfigureAndGetEventTriggerMaskAndCaloTriggerString.
minCen: An int to select the minimum centrality, -1 means no selection
maxCen: An int to select the maximum centrality, -1 means no selection

Definition at line 51 of file AddTaskCaloTrackCorrBase.C.

Referenced by ConfigureReader().

void ConfigurePHOSClusterCuts ( AliCaloTrackReader reader,
TString  calorimeter 
)

Configure the PHOS cluster filtering cuts done in AliCaloTrackReader

Parameters
readerpointer to AliCaloTrackReaderTask
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS

Definition at line 251 of file AddTaskCaloTrackCorrBase.C.

Referenced by ConfigureReader().

AliCaloTrackReader* ConfigureReader ( TString  col,
Bool_t  simulation,
TString  clustersArray,
TString  calorimeter,
TString  cutsString,
Bool_t  nonLinOn,
Bool_t  calibrate,
Int_t  year,
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. each item is configured in dedicated methods.

Parameters
colA string with the colliding system
simulation: A bool identifying the data as simulation
clustersArray: A string with the array of clusters not being the default (default is empty string)
calorimeter: A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS
cutsString: A string with additional cuts (Smearing, SPDPileUp)
trigger: A string with the trigger class, abbreviated, defined in ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C
nonLinOn: A bool to set the use of the non linearity correction
calibrate: Use own calibration tools, do not rely on EMCal correction framewor or clusterizer
yearThe year the data was taken, used to configure some histograms and cuts
rejectEMCTrig: An int to reject EMCal triggered events with bad trigger: 0 no rejection, 1 old runs L1 bit, 2 newer runs L1 bit
minCen: An int to select the minimum centrality, -1 means no selection
maxCen: An int to select the maximum centrality, -1 means no selection
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 351 of file AddTaskCaloTrackCorrBase.C.

Referenced by AddTaskCaloTrackCorrBase().

void ConfigureTrackCuts ( AliCaloTrackReader reader,
TString  inputDataType,
TString  cutsString 
)

Configure the track filtering cuts done in AliCaloTrackReader

Parameters
readerpointer to AliCaloTrackReaderTask
inputDataTypestring with data Type "ESD", "AOD"
cutsString: A string with additional cuts ("ITSonly")

Definition at line 273 of file AddTaskCaloTrackCorrBase.C.

Referenced by ConfigureReader().