AliPhysics  ced2227 (ced2227)

Configuration of EMCal cluster shape analysis. More...

#include <TString.h>
#include <TROOT.h>
#include <TSystem.h>
#include "AliLog.h"
#include "AliAnalysisTaskCaloTrackCorrelation.h"
#include "AliCaloTrackESDReader.h"
#include "AliCaloTrackAODReader.h"
#include "AliCalorimeterUtils.h"
#include "AliAnaClusterShapeCorrelStudies.h"
#include "AliHistogramRanges.h"
#include "AliAnaCalorimeterQA.h"
#include "AliAnaCaloTrackCorrMaker.h"
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliVTrack.h"
#include "ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C"
#include "AliESDtrackCuts.h"
#include "CreateTrackCutsPWGJE.C"
#include "CheckActiveEMCalTriggerPerPeriod.C"
#include "GetAlienGlobalProductionVariables.C"
Include dependency graph for AddTaskClusterShape.C:

Go to the source code of this file.

Functions

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, Bool_t tender, Bool_t nonLinOn, Int_t year, Bool_t printSettings, Int_t debug)
 
AliAnaClusterShapeCorrelStudiesConfigureClusterShape (Bool_t tmPtDep, TString col, Bool_t simulation, TString calorimeter, Int_t year, Bool_t printSettings, Int_t debug)
 
AliAnaCalorimeterQAConfigureQAAnalysis (TString col, Bool_t simulation, TString calorimeter, Int_t year, 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)
 
AliAnalysisTaskCaloTrackCorrelationAddTaskClusterShape (TString calorimeter="EMCAL", Bool_t simulation=kFALSE, TString collision="pp", TString period="", Int_t rejectEMCTrig=0, TString clustersArray="", Bool_t tender=kFALSE, Bool_t nonLinOn=kFALSE, Bool_t tmDep=kTRUE, Bool_t qaAn=kFALSE, TString outputfile="", Bool_t printSettings=kFALSE, Int_t debug=0, const char *trigSuffix="EMC7")
 

Variables

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

Detailed Description

Configuration of EMCal cluster shape analysis.

Configuration macro for analysis of EMCal cluster shape analysis. Many histograms correlating different shower shape parameters and correlations are filled.

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

Function Documentation

AliAnalysisTaskCaloTrackCorrelation* AddTaskClusterShape ( TString  calorimeter = "EMCAL",
Bool_t  simulation = kFALSE,
TString  collision = "pp",
TString  period = "",
Int_t  rejectEMCTrig = 0,
TString  clustersArray = "",
Bool_t  tender = kFALSE,
Bool_t  nonLinOn = kFALSE,
Bool_t  tmDep = kTRUE,
Bool_t  qaAn = kFALSE,
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.
simulation: A bool identifying the data as simulation.
collisionA string with the colliding system. If empty, alien environment used.
period: A string with the data period: LHC11h, LHC15n ... from it we extract the year.
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
tmDepTrack matching option
qaAn: A bool to switch the calorimeter QA 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
trigSuffix: A string with the trigger class, abbreviated, defined in ConfigureAndGetEventTriggerMaskAndCaloTriggerString.C

Definition at line 95 of file AddTaskClusterShape.C.

AliCalorimeterUtils * ConfigureCaloUtils ( TString  col,
Bool_t  simulation,
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 483 of file AddTaskClusterShape.C.

Referenced by AddTaskClusterShape().

AliAnaClusterShapeCorrelStudies * ConfigureClusterShape ( Bool_t  tmPtDep,
TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Bool_t  printSettings,
Int_t  debug 
)

Configure the task doing cluster shape studies

Definition at line 588 of file AddTaskClusterShape.C.

Referenced by AddTaskClusterShape(), and ConfigureCaloUtils().

AliAnaCalorimeterQA * ConfigureQAAnalysis ( TString  col,
Bool_t  simulation,
TString  calorimeter,
Int_t  year,
Bool_t  printSettings,
Int_t  debug 
)

Configure the task doing standard calorimeter QA

Definition at line 651 of file AddTaskClusterShape.C.

Referenced by AddTaskClusterShape().

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 293 of file AddTaskClusterShape.C.

Referenced by AddTaskClusterShape().

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 700 of file AddTaskClusterShape.C.

Referenced by ConfigureClusterShape(), and ConfigureQAAnalysis().

Variable Documentation

TString kAnaClusterShape = ""

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

Definition at line 72 of file AddTaskClusterShape.C.