![]() |
AliPhysics
8b695ca (8b695ca)
|
Configuration AliAnalysisTaskCaloTrackCorrelation base functionalities. More...
#include <TString.h>
#include <TSystem.h>
#include <TROOT.h>
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliVTrack.h"
#include "AliAODTrack.h"
#include "AliESDtrack.h"
#include "AliESDtrackCuts.h"
#include "AliCaloTrackESDReader.h"
#include "AliCaloTrackAODReader.h"
#include "AliCalorimeterUtils.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliAnaCaloTrackCorrMaker.h"
#include "PWGGA/CaloTrackCorrelations/macros/ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C"
#include "PWGJE/macros/CreateTrackCutsPWGJE.C"
#include "PWGGA/CaloTrackCorrelations/macros/CheckActiveEMCalTriggerPerPeriod.C"
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) |
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) |
AliCalorimeterUtils * | ConfigureCaloUtils (TString col, Bool_t simulation, TString calorimeter, Bool_t nonLinOn, Bool_t calibrate, Int_t year, Bool_t printSettings, Int_t debug) |
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") |
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
Definition in file AddTaskCaloTrackCorrBase.C.
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:
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 |
period | A 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 564 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
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 |
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 |
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 |
Definition at line 425 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
reader | pointer 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) |
year | The year the data was taken, used to configure time cut |
simulation | : A bool identifying the data as simulation |
Definition at line 166 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
reader | pointer to AliCaloTrackReaderTask |
clustersArray | : A string with the array of clusters not being the default (default is empty string) |
col | A string with the colliding system |
year | The 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 57 of file AddTaskCaloTrackCorrBase.C.
Referenced by ConfigureReader().
void ConfigurePHOSClusterCuts | ( | AliCaloTrackReader * | reader, |
TString | calorimeter | ||
) |
Configure the PHOS cluster filtering cuts done in AliCaloTrackReader
reader | pointer to AliCaloTrackReaderTask |
calorimeter | : A string with he calorimeter used to measure the trigger particle: EMCAL, DCAL, PHOS |
Definition at line 257 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.
col | A 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 |
year | The 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 359 of file AddTaskCaloTrackCorrBase.C.
Referenced by AddTaskCaloTrackCorrBase().
void ConfigureTrackCuts | ( | AliCaloTrackReader * | reader, |
TString | inputDataType, | ||
TString | cutsString | ||
) |
Configure the track filtering cuts done in AliCaloTrackReader
reader | pointer to AliCaloTrackReaderTask |
inputDataType | string with data Type "ESD", "AOD" |
cutsString | : A string with additional cuts ("ITSonly") |
Definition at line 279 of file AddTaskCaloTrackCorrBase.C.
Referenced by ConfigureReader().