![]() |
AliPhysics
0937c79 (0937c79)
|
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 "ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C"
#include "AliESDtrackCuts.h"
#include "CreateTrackCutsPWGJE.C"
#include "GetAlienGlobalProductionVariables.C"
#include "CheckActiveEMCalTriggerPerPeriod.C"
Go to the source code of this file.
Functions | |
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 437 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 298 of file AddTaskCaloTrackCorrBase.C.
Referenced by AddTaskCaloTrackCorrBase().
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.
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) |
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 |
trigger | : A string with the trigger class, abbreviated, defined in ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C |
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 54 of file AddTaskCaloTrackCorrBase.C.
Referenced by AddTaskCaloTrackCorrBase().